libcli/auth: remove unused NTLMSSP_NAME_TYPE_ flags.
[ira/wip.git] / libcli / auth / smbencrypt.c
index 4aacc54853751efb93eb220e056eb2dff7ae7440..dc33b75a3f2f45192b75b5193c1c3d42d079a09e 100644 (file)
@@ -368,9 +368,9 @@ DATA_BLOB NTLMv2_generate_names_blob(TALLOC_CTX *mem_ctx,
        
        msrpc_gen(mem_ctx, &names_blob, 
                  "aaa", 
        
        msrpc_gen(mem_ctx, &names_blob, 
                  "aaa", 
-                 NTLMSSP_NAME_TYPE_DOMAIN, domain,
-                 NTLMSSP_NAME_TYPE_SERVER, hostname,
-                 0, "");
+                 MsvAvNbDomainName, domain,
+                 MsvAvNbComputerName, hostname,
+                 MsvAvEOL, "");
        return names_blob;
 }
 
        return names_blob;
 }