summaryrefslogtreecommitdiffstats
path: root/source/libsmb/ntlmssp.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2004-01-30 18:38:48 +0000
committerJeremy Allison <jra@samba.org>2004-01-30 18:38:48 +0000
commit3a3e33603084048e647af86a9badaaf49433c789 (patch)
treee893eebff93162d776460835a3a48d973cfd0e82 /source/libsmb/ntlmssp.c
parent1924dfb266525053b48a636818f32eae14730051 (diff)
downloadsamba-3a3e33603084048e647af86a9badaaf49433c789.tar.gz
samba-3a3e33603084048e647af86a9badaaf49433c789.tar.xz
samba-3a3e33603084048e647af86a9badaaf49433c789.zip
Fix up name canonicalization (needed for krb5 keytab support later).
Remove source_env handler (no longer used in any codepath). Jeremy.
Diffstat (limited to 'source/libsmb/ntlmssp.c')
-rw-r--r--source/libsmb/ntlmssp.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/source/libsmb/ntlmssp.c b/source/libsmb/ntlmssp.c
index a80b4b66b0e..60523ddf9d0 100644
--- a/source/libsmb/ntlmssp.c
+++ b/source/libsmb/ntlmssp.c
@@ -433,12 +433,11 @@ static NTSTATUS ntlmssp_server_negotiate(struct ntlmssp_state *ntlmssp_state,
/* This should be a 'netbios domain -> DNS domain' mapping */
dnsdomname[0] = '\0';
- get_mydomname(dnsdomname);
+ get_mydnsdomname(dnsdomname);
strlower_m(dnsdomname);
dnsname[0] = '\0';
- get_myfullname(dnsname);
- strlower_m(dnsname);
+ get_mydnsfullname(dnsname);
/* This creates the 'blob' of names that appears at the end of the packet */
if (chal_flags & NTLMSSP_CHAL_TARGET_INFO)