summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-08-25 12:30:48 +0200
committerGünther Deschner <gd@samba.org>2009-08-28 10:09:19 +0200
commitb7a5e7a5d607d38e28cb8b28d45ede749500fa13 (patch)
tree3e24deaf4096e058a3d7eb0fa89a05410674053b
parent38d677bdf2cd3df554c93bb7ffbcf34f444538b5 (diff)
downloadsamba-b7a5e7a5d607d38e28cb8b28d45ede749500fa13.tar.gz
libcli/auth: remove unused NTLMSSP_NAME_TYPE_ flags.
Guenther
-rw-r--r--libcli/auth/libcli_auth.h5
-rw-r--r--libcli/auth/smbencrypt.c6
2 files changed, 3 insertions, 8 deletions
diff --git a/libcli/auth/libcli_auth.h b/libcli/auth/libcli_auth.h
index 388694a63d6..c5c7a7b0fa8 100644
--- a/libcli/auth/libcli_auth.h
+++ b/libcli/auth/libcli_auth.h
@@ -25,9 +25,4 @@
#include "libcli/auth/proto.h"
#include "libcli/auth/msrpc_parse.h"
-#define NTLMSSP_NAME_TYPE_SERVER 0x01
-#define NTLMSSP_NAME_TYPE_DOMAIN 0x02
-#define NTLMSSP_NAME_TYPE_SERVER_DNS 0x03
-#define NTLMSSP_NAME_TYPE_DOMAIN_DNS 0x04
-
#endif /* __LIBCLI_AUTH_H__ */
diff --git a/libcli/auth/smbencrypt.c b/libcli/auth/smbencrypt.c
index 4aacc548537..dc33b75a3f2 100644
--- a/libcli/auth/smbencrypt.c
+++ b/libcli/auth/smbencrypt.c
@@ -368,9 +368,9 @@ DATA_BLOB NTLMv2_generate_names_blob(TALLOC_CTX *mem_ctx,
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;
}