1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-08 05:57:51 +03:00
Andrew Bartlett 3b580ff000 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 0620320002082298a15cbba72bd79aecfc607947)
2003-03-11 11:28:59 +00:00
..
1998-10-05 12:35:30 +00:00
2003-01-02 09:07:17 +00:00
2003-01-02 09:07:17 +00:00
2003-02-24 04:42:24 +00:00
2002-02-17 18:30:01 +00:00
2003-01-02 09:07:17 +00:00
2003-02-28 04:21:55 +00:00
2002-06-05 18:30:07 +00:00
2002-01-30 06:08:46 +00:00
2003-02-28 04:21:55 +00:00
2003-01-02 09:07:17 +00:00
2003-01-16 02:02:23 +00:00
2003-01-02 09:07:17 +00:00
2002-12-19 19:56:31 +00:00
2003-03-08 23:39:44 +00:00
2003-03-03 19:53:04 +00:00
2002-12-22 16:02:36 +00:00
2003-02-27 21:21:02 +00:00
2003-01-21 06:30:11 +00:00