diff options
author | Andrew Bartlett <abartlet@samba.org> | 2003-03-17 23:06:12 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2003-03-17 23:06:12 +0000 |
commit | a8eaea53ed70ef998a510b6dcf0288462207f9a0 (patch) | |
tree | 4f9b1b363b9e181682de601313271d9745ee7548 /source3/python/mkpatch | |
parent | e88eab35bc03a2d108b27f2209ec4cfb395dcdba (diff) | |
download | samba-a8eaea53ed70ef998a510b6dcf0288462207f9a0.tar.gz samba-a8eaea53ed70ef998a510b6dcf0288462207f9a0.tar.bz2 samba-a8eaea53ed70ef998a510b6dcf0288462207f9a0.zip |
Merge from HEAD - make winbindd locking sane again:
Original message:
This patch attemptes to clean up winbindd's mutex locking.
The current locking scheme in winbind is a complete mess - indeed, the
next step should be to push the locking into cli_full_connection(), but
I'll leave it for now.
This patch works on the noted behaviour that 2 parts of the connection
process need protection - and independent protection. Tim Potter did
some work on this a little while back, verifying the second case.
The two cases are:
- between connect() and first session setup
- during the auth2 phase of the netlogon pipe setup.
I've removed the counter on the lock, as I fail to see what it gains us.
This patch also adds 'anonymous fallback' to our winbindd -> DC connection.
If the authenticated connection fails (wbinfo -A specifed) - say that
account isn't trusted by a trusted DC - then we try an anonymous.
Both tpot and mbp like the patch.
Andrew Bartlett
(This used to be commit b5283c00a900393b83f0edb2785c5caf402404eb)
Diffstat (limited to 'source3/python/mkpatch')
0 files changed, 0 insertions, 0 deletions