r23225: Attached find a patch that makes use of NetSamLogonEx in
authorVolker Lendecke <vlendec@samba.org>
Tue, 29 May 2007 19:31:57 +0000 (19:31 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:22:56 +0000 (12:22 -0500)
commit0e20456c1fa93698c4b81a5ee7d539be085858ae
treea48f9522bb2ebb21b13b0443b8c7d4e277c9b507
parent6426d8b4a0fceb352641e936e632bf5bb0f84525
r23225: Attached find a patch that makes use of NetSamLogonEx in
winbind. With this and W2k3 DCs around it is possible to use
more than one winbind on the same machine account, because
NetSamLogonEx does not use the credentials chain.

I added the flag domain->can_do_samlogon_ex because this
only works against W2k3 and with schannel. The theory is to
try if we're AD and have schannel, and fall back to
NetSamLogon if this fails. can_do_samlogon_ex is thus a
protection against multiple failures.

Only checking into 3_0, this needs more review before going
into a production release.

Feel free to comment :-)
(This used to be commit f5d525399b0b03a3d0b223fe72ef0a8a631fc599)
source3/nsswitch/winbindd.h
source3/nsswitch/winbindd_cm.c
source3/nsswitch/winbindd_pam.c