1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
Commit Graph

16330 Commits

Author SHA1 Message Date
Gerald Carter
13d636c0ff r73: bumping version to 3.0.3pre3
(This used to be commit 70fd78025b)
2007-10-10 10:51:07 -05:00
Andrew Bartlett
d17425ed52 r69: Global rename of 'nt_session_key' -> 'user_session_key'. The session key could
be anything, and may not be based on anything 'NT'.  This is also what microsoft
calls it.
(This used to be commit 724e8d3f33)
2007-10-10 10:51:06 -05:00
Volker Lendecke
90b168bfc8 r63: Remove -lcrypto from wbinfo. Sorry.
Volker
(This used to be commit b69e8e64d4)
2007-10-10 10:51:06 -05:00
Andrew Tridgell
a5dde6c5cc r59: revert session key problem
(This used to be commit 40b5794ae0)
2007-10-10 10:51:06 -05:00
Jim McDonough
a15393a3d9 r53: Remove modifyTimestamp from list of our attributes. We just check it for
cache entry time comparisons in password lockout.  Fixes problems where
pdb_ldap tries to delete the operational attribute modifyTimestamp when
deleting a user account.
(This used to be commit 5ebcb9081e)
2007-10-10 10:51:06 -05:00
Jeremy Allison
bca29e5377 r50: Fix bug 1139 as per fix suggested by jdev@panix.com,
swap lookups for user and group - group will do an
algorithmic lookup if it fails, user won't.
Jeremy.
(This used to be commit a205c56a75)
2007-10-10 10:51:06 -05:00
Andrew Bartlett
991112a73c r49: Support SMB signing on connections using only the
LANMAN password.  This also corrects the 'session key'
for these connections.
(This used to be commit 26d8791dde)
2007-10-10 10:51:06 -05:00
Jeremy Allison
7226511ead r48: Fix types for debug message parameters.
Jeremy.
(This used to be commit 85d9c92fd5)
2007-10-10 10:51:05 -05:00
Gerald Carter
931df5850e r39: * importing .cvsignore files
* updateing WHATSNEW with vl's change
(This used to be commit a7e2730ec4)
2007-10-10 10:51:05 -05:00
Volker Lendecke
3e449693bd r38: Fix caching of name->sid lookups
Volker
(This used to be commit 23c5769545)
2007-10-10 10:51:05 -05:00
Gerald Carter
74766d5c45 r22: release notes for 3.0.3pre2
(This used to be commit de93e66fc7)
2007-10-10 10:51:03 -05:00
Andrew Bartlett
b48bd2eb32 r21: Ensure 'net' follows the behaviour of all other samba client tools,
and honours the 'netbios name' in the smb.conf.
(This used to be commit 591047c20a)
2007-10-10 10:51:03 -05:00
Steve French
70c6c78395 r18: Fix free of incremented pointer
(This used to be commit dfac69be4f)
2007-10-10 10:51:03 -05:00
Andrew Bartlett
c2ff214772 Fix most of bug #169.
For a (very) long time, we have had a bug in Samba were an NTLMv2-only
PDC would fail, because it converted the password into NTLM format for
checking.

This patch performs the direct comparison required for interactive
logons to function in this situation.  It also removes the 'auth flags', which
simply where not ever used.

Natrually, this plays with the size of structures, so rebuild, rebuild
rebuild...

Andrew Bartlett
(This used to be commit 9598593bcf)
2004-04-03 15:41:32 +00:00
Jeremy Allison
c2699d2546 Fix wildcard src with wildcard dest renames.
Jeremy.
(This used to be commit 58b3994244)
2004-04-03 01:21:13 +00:00
Jeremy Allison
3d5fdced72 Fix wildcard unlink.
Jeremy.
(This used to be commit 6e9b4c57cc)
2004-04-03 00:17:18 +00:00
Jeremy Allison
db44caf191 Fix typo in check_path_syntax.
Jeremy.
(This used to be commit 018db85de4)
2004-04-03 00:04:31 +00:00
Jeremy Allison
f16c79732e Fix reply_ctemp - make compatible with w2k3.
Jeremy.
(This used to be commit ddb40a6b1c)
2004-04-02 22:11:08 +00:00
Jeremy Allison
becfb420f7 Fix wildcard identical rename.
Jeremy.
(This used to be commit 610ae1126e)
2004-04-02 19:51:27 +00:00
Jeremy Allison
ff469fb2b2 check_path improvements found by samba4 raw-checkpath tests.
Jeremy.
(This used to be commit 4081f7ce51)
2004-04-02 19:05:57 +00:00
Jeremy Allison
722aa118c6 Added per-share parameter "store dos attributes". When set, will store
dos attributes in an EA. Based on an original patch from tridge, but
modified somewhat to cover all cases.
Jeremy.
(This used to be commit ed653cd468)
2004-04-02 18:46:19 +00:00
Volker Lendecke
044c6f513d Implement NETLOGON GetDCName client side. You can ask a DC for the name of
a DC it trusts.

Volker
(This used to be commit ae6840320f)
2004-04-02 12:56:18 +00:00
Steve French
620e1eaddc Fix credential file mountinf for cifs vfs
(This used to be commit 9ad22b8a3d)
2004-04-02 00:11:27 +00:00
Jeremy Allison
fe160f5b72 "Fixing my FORTRAN". Ensure we always have some valid char converter for the
neccessary types before we will run at all. If we can't get one, use ASCII
but complain mightily.
Jeremy.
(This used to be commit 37dd5e52f6)
2004-04-01 19:42:36 +00:00
Gerald Carter
2197bd26ac BUG 1023: surround get_group_from_gid() with become_unbecome_root() block
(This used to be commit 1aeeb432c7)
2004-04-01 15:15:13 +00:00
Volker Lendecke
56e7c149ba This restructures lib/afs.c so that the token data can be but into a
stream. This is to implement wbinfo -k that asks winbind for authentication
which then creates the AFS token for the authenticated user.

Volker
(This used to be commit 2df6750a07)
2004-04-01 12:31:50 +00:00
Volker Lendecke
e2f355c7ea Cosmetic: Fix a const warning.
Volker
(This used to be commit c814f7c43d)
2004-04-01 08:54:01 +00:00
Jeremy Allison
e869727420 Reformat in preparation for EA dosmode attributes.
Jeremy
(This used to be commit de2f149e9e)
2004-03-31 22:46:15 +00:00
Herb Lewis
70227784ba fix typo
(This used to be commit 4b737b51a5)
2004-03-31 20:24:10 +00:00
Volker Lendecke
95bd9b5ab0 Apply some const
(This used to be commit aa220cffa7)
2004-03-31 15:21:48 +00:00
Volker Lendecke
9d1a4e8013 Remove some unused code
(This used to be commit 2b757b6adf)
2004-03-31 14:36:25 +00:00
Jeremy Allison
d113219e78 Added support for OS/2 EA's in smbd server. Test with smbtorture eatest.
New protocol option "ea support" to turn them on (off by default). Conrad
at Apple may like this as it allows MacOS resource forks to be stored on
a file. Passes valgrind. Documentation to follow.
Jeremy.
(This used to be commit 8cc10a6c05)
2004-03-31 02:20:16 +00:00
Jeremy Allison
a1994d1c96 Ensure we cope correctly with ea length of zero. Detect torture fail correctly.
Jeremy.
(This used to be commit 43db249fb8)
2004-03-30 18:38:21 +00:00
Volker Lendecke
62ae6e36f0 Merge a fix from HEAD to 3_0
Volker
(This used to be commit 6bc88d91e5)
2004-03-30 08:11:59 +00:00
Volker Lendecke
97b200d422 Apply some const
(This used to be commit 8037750df5)
2004-03-30 08:03:32 +00:00
Jeremy Allison
1a643a6fe9 Committed test code by mistake... removing.
Jeremy.
(This used to be commit 73433dc349)
2004-03-29 23:42:48 +00:00
Jeremy Allison
578d715755 Setting EA's to zero length deletes them.
Jeremy.
(This used to be commit 01fb871762)
2004-03-29 23:39:13 +00:00
Jeremy Allison
099974aa15 Fix get/set of EA's in client library. Added torture test for it.
Jeremy.
(This used to be commit 0d239a9c07)
2004-03-29 22:21:47 +00:00
Volker Lendecke
4ee66eb4c3 Without words...
(This used to be commit 9cb6b10efa)
2004-03-29 11:54:34 +00:00
Volker Lendecke
f6d86af4a2 Some fixes to expand_msdfs module.
Volker
(This used to be commit 558b5bc1d8)
2004-03-29 11:40:43 +00:00
Andrew Tridgell
fb53eff3e1 merge tdb changes from samba4 - this means tdb is now under the LGPL, as discussed and agreed previously
(This used to be commit 9d1a08d65c)
2004-03-28 02:19:58 +00:00
Andrew Bartlett
7c2b0d536b Let the comment match the function...
Andrew Bartlett
(This used to be commit 43c71b3202)
2004-03-27 10:32:59 +00:00
Andrew Bartlett
b65d7d59c2 Revert bogus part of smb signing commit - when Win2k supports singing/SPNEGO,
it does sign the first packet.

Andrew Bartlett
(This used to be commit 4b9c50db85)
2004-03-27 08:51:04 +00:00
Andrew Bartlett
63f5167a28 Add a few comments explaining KEY_EXCH
Andrew Bartlett
(This used to be commit e5422d7413)
2004-03-27 08:43:09 +00:00
Andrew Bartlett
873db3f5fd Based on the detective work of Jianliang Lu <j.lu@tiesse.com>, allow yet
another NTLMv2 combination.

We should allow the NTLMv2 response to be calculated with either the domain
as supplied, or the domain in UPPER case (as we always did in the past).

As a client, we always UPPER case it (as per the spec), but we also
make sure to UPPER case the domain, when we send it.  This should give
us maximum compatability.

Andrew Bartlett
(This used to be commit 1e91cd0cf8)
2004-03-27 07:53:47 +00:00
Andrew Bartlett
6dbd02d056 Make it clearer that this error refers to the peer, as this code is in both
the client and server.

Andrew Bartlett
(This used to be commit 414d3fdc75)
2004-03-27 07:51:31 +00:00
Andrew Bartlett
e9a7e67e01 Merge from HEAD the SMB signing patch that I developed a couple of weeks
ago.

This patch re-adds support for 'optional' SMB signing.  It also ensures that
we are much more careful about when we enable signing, particularly with
on-the-fly smb.conf reloads.

The client code will now attempt to use smb signing by default, and disable
it if the server doesn't correctly support it.

Andrew Bartlett
(This used to be commit e27b5cbe75)
2004-03-27 07:33:59 +00:00
Andrew Bartlett
59572d1297 Ensure we correctly set cli->nt_pipe_fnum on failure to correctly open the
NT session.

Andrew Bartlett
(This used to be commit 01fff20e6e)
2004-03-27 05:39:19 +00:00
Andrew Bartlett
deee8fae47 As I raised (without objection) on the mailing list a while back, this
patch removes the 'unicode' smb.conf option.

Clients are as always free not to negotiate unicode, but Samba will always
accept unicode in smbd.

Setting 'unicode = no' caused me more client BSODs than any other option
I have seen, and I really want to protect some of our more silly users, who
will, no matter what, select and change every option...

Andrew Bartlett
(This used to be commit 3f9177bd5d)
2004-03-27 05:38:20 +00:00
Jeremy Allison
651d5b4683 Working (tested) client code for setting EA's by filename and fnum.
Now for parsing out the retrieved EA's.
Jeremy.
(This used to be commit 5eeeee302c)
2004-03-27 02:13:58 +00:00