summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2009-10-15 10:30:55 +0200
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2009-10-15 10:32:16 +0200
commitea60b72c4698791ff80f56b6fe68aa647366efea (patch)
treeb126da34e2d902d67848c04c05a18840b6d55be9
parent3bd452e3f63b2a6ef1324f4d063d6d6e640e29cf (diff)
downloadsamba-ea60b72c4698791ff80f56b6fe68aa647366efea.tar.gz
samba-ea60b72c4698791ff80f56b6fe68aa647366efea.tar.bz2
samba-ea60b72c4698791ff80f56b6fe68aa647366efea.zip
s4:ntlmssp server - use also here the new "lp_dnsdomain()" call
-rw-r--r--source4/auth/ntlmssp/ntlmssp_server.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/auth/ntlmssp/ntlmssp_server.c b/source4/auth/ntlmssp/ntlmssp_server.c
index b55c1cd930..a56b21a1a2 100644
--- a/source4/auth/ntlmssp/ntlmssp_server.c
+++ b/source4/auth/ntlmssp/ntlmssp_server.c
@@ -186,8 +186,7 @@ NTSTATUS ntlmssp_server_negotiate(struct gensec_security *gensec_security,
/* Find out the DNS domain name */
dnsdomname[0] = '\0';
- safe_strcpy(dnsdomname, lp_realm(gensec_security->settings->lp_ctx), sizeof(dnsdomname) - 1);
- strlower_m(dnsdomname);
+ safe_strcpy(dnsdomname, lp_dnsdomain(gensec_security->settings->lp_ctx), sizeof(dnsdomname) - 1);
/* Find out the DNS host name */
safe_strcpy(dnsname, gensec_ntlmssp_state->server_name, sizeof(dnsname) - 1);