summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/ntlmssp.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/source3/libsmb/ntlmssp.c b/source3/libsmb/ntlmssp.c
index 37f5510c65..e76ad75e6e 100644
--- a/source3/libsmb/ntlmssp.c
+++ b/source3/libsmb/ntlmssp.c
@@ -174,13 +174,11 @@ static NTSTATUS ntlmssp_server_negotiate(struct ntlmssp_state *ntlmssp_state,
/* This should be a 'netbios domain -> DNS domain' mapping */
dnsdomname[0] = '\0';
- if (!get_mydomname(dnsdomname))
- return NT_STATUS_INVALID_PARAMETER;
+ get_mydomname(dnsdomname);
strlower_m(dnsdomname);
dnsname[0] = '\0';
- if (!get_myfullname(dnsname))
- return NT_STATUS_INVALID_PARAMETER;
+ get_myfullname(dnsname);
strlower_m(dnsname);
if (chal_flags & NTLMSSP_CHAL_TARGET_INFO)