diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-12-29 13:53:44 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-12-29 17:06:23 +0100 |
commit | 60b9434492423d463bd1a43d84b5084dce980ecb (patch) | |
tree | 218e23390481f51e9762e5b6b3740d54a1168ce8 /source4 | |
parent | a8e61ac084fc84fe9b1246ab97f0ca34cd9a0e8a (diff) | |
download | samba-60b9434492423d463bd1a43d84b5084dce980ecb.tar.gz samba-60b9434492423d463bd1a43d84b5084dce980ecb.tar.bz2 samba-60b9434492423d463bd1a43d84b5084dce980ecb.zip |
s4:ntlmssp_server: remove unused variable
metze
Diffstat (limited to 'source4')
-rw-r--r-- | source4/auth/ntlmssp/ntlmssp_server.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/source4/auth/ntlmssp/ntlmssp_server.c b/source4/auth/ntlmssp/ntlmssp_server.c index ae19970044..80d5896b58 100644 --- a/source4/auth/ntlmssp/ntlmssp_server.c +++ b/source4/auth/ntlmssp/ntlmssp_server.c @@ -182,7 +182,6 @@ NTSTATUS ntlmssp_server_negotiate(struct gensec_security *gensec_security, /* This creates the 'blob' of names that appears at the end of the packet */ if (chal_flags & NTLMSSP_NEGOTIATE_TARGET_INFO) { char dnsdomname[MAXHOSTNAMELEN], dnsname[MAXHOSTNAMELEN]; - const char *target_name_dns = ""; /* Find out the DNS domain name */ dnsdomname[0] = '\0'; @@ -196,12 +195,6 @@ NTSTATUS ntlmssp_server_negotiate(struct gensec_security *gensec_security, } strlower_m(dnsname); - if (chal_flags |= NTLMSSP_TARGET_TYPE_DOMAIN) { - target_name_dns = dnsdomname; - } else if (chal_flags |= NTLMSSP_TARGET_TYPE_SERVER) { - target_name_dns = dnsname; - } - msrpc_gen(out_mem_ctx, &struct_blob, "aaaaa", MsvAvNbDomainName, target_name, |