summaryrefslogtreecommitdiff
path: root/source4/libcli/auth
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-05-30 13:15:15 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:56:21 -0500
commit6a0ce94d025d4288c87080c0f4d6e3013559794c (patch)
treef8685df85062230d79fbbc063d023bc20f19bcab /source4/libcli/auth
parent45fd1ba4ec4bc17fd73a6e3e787b3f2205b49ed1 (diff)
downloadsamba-6a0ce94d025d4288c87080c0f4d6e3013559794c.tar.gz
samba-6a0ce94d025d4288c87080c0f4d6e3013559794c.tar.bz2
samba-6a0ce94d025d4288c87080c0f4d6e3013559794c.zip
r950: - added netr_ServerAuthenticate3(). This is used by WinXP clients who try to login to Samba4, as
WinXP sees us as an ADS server. Unfortunately WinXP also uses a set of negotiate_flags that we don't support yet. Some crypto work needed. (This used to be commit 2d740b65706fb5b4ebc138587472a885d680517f)
Diffstat (limited to 'source4/libcli/auth')
-rw-r--r--source4/libcli/auth/credentials.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/libcli/auth/credentials.h b/source4/libcli/auth/credentials.h
index 84787bd778..20eed73cc0 100644
--- a/source4/libcli/auth/credentials.h
+++ b/source4/libcli/auth/credentials.h
@@ -34,5 +34,8 @@ struct creds_CredentialState {
to NT4. Actually, anything other than 1ff would seem to do... */
#define NETLOGON_NEG_AUTH2_FLAGS 0x000701ff
+/* these are the flags that ADS clients use */
+#define NETLOGON_NEG_AUTH2_ADS_FLAGS 0x600fffff
+
#define NETLOGON_NEG_SCHANNEL 0x40000000