summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd.h
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-03-19 16:09:37 +0100
committerVolker Lendecke <vl@samba.org>2008-03-19 17:00:53 +0100
commitca63c6e0796454c18a1d580df99cbd6d05f60672 (patch)
treea1bd1ae5736b89a59263115adb15896638f0dfef /source3/winbindd/winbindd.h
parentbf10e7f93960f18739a9110d59d0ca09bfaf6c03 (diff)
downloadsamba-ca63c6e0796454c18a1d580df99cbd6d05f60672.tar.gz
samba-ca63c6e0796454c18a1d580df99cbd6d05f60672.tar.bz2
samba-ca63c6e0796454c18a1d580df99cbd6d05f60672.zip
Merge dd9e0bea31751 from 3-0-ctdb -- use NetSamLogonEx when possible
NetSamLogonEx has the advantage that it does not use the credential chain (This used to be commit cfceb063f559f8549b8f24ce347be213c89303b0)
Diffstat (limited to 'source3/winbindd/winbindd.h')
-rw-r--r--source3/winbindd/winbindd.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source3/winbindd/winbindd.h b/source3/winbindd/winbindd.h
index b812d69aeb..0840e581fe 100644
--- a/source3/winbindd/winbindd.h
+++ b/source3/winbindd/winbindd.h
@@ -176,6 +176,14 @@ struct winbindd_domain {
time_t startup_time; /* When we set "startup" true. */
bool startup; /* are we in the first 30 seconds after startup_time ? */
+ bool can_do_samlogon_ex; /* Due to the lack of finer control what type
+ * of DC we have, let us try to do a
+ * credential-chain less samlogon_ex call
+ * with AD and schannel. If this fails with
+ * DCERPC_FAULT_OP_RNG_ERROR, then set this
+ * to False. This variable is around so that
+ * we don't have to try _ex every time. */
+
/* Lookup methods for this domain (LDAP or RPC) */
struct winbindd_methods *methods;