summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)