From 5047a66d39fdd56a5895037de8c519a828a03b19 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 11 Jan 2002 05:29:09 +0000 Subject: 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 (This used to be commit 7f7a42c3e4d5798ac87ea16a42e4976c3778a76b) --- source3/include/auth.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'source3/include') diff --git a/source3/include/auth.h b/source3/include/auth.h index fb48616273..ed0a4e45f3 100644 --- a/source3/include/auth.h +++ b/source3/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 */ -- cgit