summaryrefslogtreecommitdiffstats
path: root/source/include/auth.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2002-01-11 05:29:09 +0000
committerAndrew Bartlett <abartlet@samba.org>2002-01-11 05:29:09 +0000
commit7f7a42c3e4d5798ac87ea16a42e4976c3778a76b (patch)
tree411c3a0c3c83abeb57e6317757a28759644e8e5d /source/include/auth.h
parent78814664ef7d41c2f6637b508711ab45647a64f9 (diff)
downloadsamba-7f7a42c3e4d5798ac87ea16a42e4976c3778a76b.tar.gz
samba-7f7a42c3e4d5798ac87ea16a42e4976c3778a76b.tar.xz
samba-7f7a42c3e4d5798ac87ea16a42e4976c3778a76b.zip
Back out the crazy notion that the NTLMSSP flags actually mean anything...
Replace this with some flags that *we* define. We can do a mapping later if we actually get some more reliable info about what passwords are actually valid. Andrew Bartlett
Diffstat (limited to 'source/include/auth.h')
-rw-r--r--source/include/auth.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/source/include/auth.h b/source/include/auth.h
index fb486162737..ed0a4e45f30 100644
--- a/source/include/auth.h
+++ b/source/include/auth.h
@@ -41,6 +41,12 @@ typedef struct interactive_password
OWF_INFO nt_owf; /* NT OWF Password */
} auth_interactive_password;
+#define AUTH_FLAG_NONE 0x000000
+#define AUTH_FLAG_PLAINTEXT 0x000001
+#define AUTH_FLAG_LM_RESP 0x000002
+#define AUTH_FLAG_NTLM_RESP 0x000004
+#define AUTH_FLAG_NTLMv2_RESP 0x000008
+
typedef struct auth_usersupplied_info
{
@@ -51,7 +57,7 @@ typedef struct auth_usersupplied_info
BOOL encrypted;
- uint32 ntlmssp_flags;
+ uint32 auth_flags;
AUTH_STR client_domain; /* domain name string */
AUTH_STR domain; /* domain name after mapping */