summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/auth/gensec/gensec.h2
-rw-r--r--source4/auth/ntlmssp/ntlmssp.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/source4/auth/gensec/gensec.h b/source4/auth/gensec/gensec.h
index 886f8fb171..62d8a45491 100644
--- a/source4/auth/gensec/gensec.h
+++ b/source4/auth/gensec/gensec.h
@@ -26,6 +26,8 @@
#include "../lib/util/data_blob.h"
#include "libcli/util/ntstatus.h"
+#define GENSEC_SASL_NAME_NTLMSSP "NTLM"
+
#define GENSEC_OID_NTLMSSP "1.3.6.1.4.1.311.2.2.10"
#define GENSEC_OID_SPNEGO "1.3.6.1.5.5.2"
#define GENSEC_OID_KERBEROS5 "1.2.840.113554.1.2.2"
diff --git a/source4/auth/ntlmssp/ntlmssp.c b/source4/auth/ntlmssp/ntlmssp.c
index 24da1674b8..1a15d319a9 100644
--- a/source4/auth/ntlmssp/ntlmssp.c
+++ b/source4/auth/ntlmssp/ntlmssp.c
@@ -274,7 +274,7 @@ static const char *gensec_ntlmssp_oids[] = {
static const struct gensec_security_ops gensec_ntlmssp_security_ops = {
.name = "ntlmssp",
- .sasl_name = "NTLM",
+ .sasl_name = GENSEC_SASL_NAME_NTLMSSP, /* "NTLM" */
.auth_type = DCERPC_AUTH_TYPE_NTLMSSP,
.oid = gensec_ntlmssp_oids,
.client_start = gensec_ntlmssp_client_start,