summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2011-05-07 10:37:24 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2011-05-21 16:21:12 +0200
commitf44808fa1197c28137808f7e8560bbe3ed439cff (patch)
tree78a570955c656d719ccb2d25e38ac984a8ad68fe
parent850cca3996605a45d3f203318a90d3941934a792 (diff)
downloadsamba-f44808fa1197c28137808f7e8560bbe3ed439cff.tar.gz
samba-f44808fa1197c28137808f7e8560bbe3ed439cff.tar.bz2
samba-f44808fa1197c28137808f7e8560bbe3ed439cff.zip
s4:auth/ntlmssp/ntlmssp_server.c - add "const" in front of "dnsdomain"
Signed-off-by: Metze
-rw-r--r--source4/auth/ntlmssp/ntlmssp_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/auth/ntlmssp/ntlmssp_server.c b/source4/auth/ntlmssp/ntlmssp_server.c
index 56315c5966..240edbeaad 100644
--- a/source4/auth/ntlmssp/ntlmssp_server.c
+++ b/source4/auth/ntlmssp/ntlmssp_server.c
@@ -308,7 +308,7 @@ NTSTATUS gensec_ntlmssp_server_start(struct gensec_security *gensec_security)
ntlmssp_state->server.netbios_domain = lpcfg_workgroup(gensec_security->settings->lp_ctx);
{
- char *dnsdomain = lpcfg_dnsdomain(gensec_security->settings->lp_ctx);
+ const char *dnsdomain = lpcfg_dnsdomain(gensec_security->settings->lp_ctx);
char *dnsname, *lower_netbiosname;
lower_netbiosname = strlower_talloc(ntlmssp_state, ntlmssp_state->server.netbios_name);