summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2005-10-14 04:04:52 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:39:50 -0500
commit2c6ecae4e62a5bb7acac2872450148fb4521cf3e (patch)
treeb566e6bdfac392d666f4e6c1b3b9ef67eb7619e7
parentf7ff0540d2b2490b2ef502d02b422e74a298b43d (diff)
downloadsamba-2c6ecae4e62a5bb7acac2872450148fb4521cf3e.tar.gz
samba-2c6ecae4e62a5bb7acac2872450148fb4521cf3e.tar.bz2
samba-2c6ecae4e62a5bb7acac2872450148fb4521cf3e.zip
r10982: Move credentials.h into auth/credentials, and add flags needed by
previous patch. Andrew Bartlett (This used to be commit 2c537d47ba99885c6462016342b1cc29df4c54c5)
-rw-r--r--source4/auth/credentials/credentials.h (renamed from source4/include/credentials.h)5
-rw-r--r--source4/include/includes.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/source4/include/credentials.h b/source4/auth/credentials/credentials.h
index 4b9c1363f9..324b518462 100644
--- a/source4/include/credentials.h
+++ b/source4/auth/credentials/credentials.h
@@ -32,6 +32,11 @@ enum credentials_obtained {
CRED_SPECIFIED /* Was explicitly specified on the command-line */
};
+#define CLI_CRED_NTLM2 0x01
+#define CLI_CRED_NTLMv2_AUTH 0x02
+#define CLI_CRED_LANMAN_AUTH 0x04
+#define CLI_CRED_NTLM_AUTH 0x08
+
struct cli_credentials {
/* Preferred methods, NULL means default */
const char **preferred_methods;
diff --git a/source4/include/includes.h b/source4/include/includes.h
index b7acae9019..f2da31eed6 100644
--- a/source4/include/includes.h
+++ b/source4/include/includes.h
@@ -113,7 +113,7 @@ struct ipv4_addr {
#include "ntvfs/ntvfs.h"
#include "cli_context.h"
#include "lib/com/com.h"
-#include "credentials.h"
+#include "auth/credentials/credentials.h"
/***** automatically generated prototypes *****/
#define _PRINTF_ATTRIBUTE(a1, a2) PRINTF_ATTRIBUTE(a1, a2)