summaryrefslogtreecommitdiff
path: root/source3/libads
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-05-05 18:04:41 +0200
committerGünther Deschner <gd@samba.org>2008-05-06 09:41:41 +0200
commit1f6065765c148251488acd068fdea98717f7233f (patch)
tree4a2e7600c23cc557b23f5abd712a9bba011e41ec /source3/libads
parent5c02872a10c3f650c31ec7ce78fa6732d6646961 (diff)
downloadsamba-1f6065765c148251488acd068fdea98717f7233f.tar.gz
samba-1f6065765c148251488acd068fdea98717f7233f.tar.bz2
samba-1f6065765c148251488acd068fdea98717f7233f.zip
mailslot/cldap: use nt_version bits in queries.
Guenther (This used to be commit b261f063125f8454d8f4e8f6b6f8aa5bc393ea34)
Diffstat (limited to 'source3/libads')
-rw-r--r--source3/libads/cldap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/libads/cldap.c b/source3/libads/cldap.c
index be084c9df6..8b23ff9022 100644
--- a/source3/libads/cldap.c
+++ b/source3/libads/cldap.c
@@ -217,6 +217,7 @@ bool ads_cldap_netlogon(TALLOC_CTX *mem_ctx,
{
int sock;
int ret;
+ uint32_t nt_version = NETLOGON_VERSION_5 | NETLOGON_VERSION_5EX;
sock = open_udp_socket(server, LDAP_PORT );
if (sock == -1) {
@@ -225,7 +226,7 @@ bool ads_cldap_netlogon(TALLOC_CTX *mem_ctx,
return False;
}
- ret = send_cldap_netlogon(sock, realm, global_myname(), 6);
+ ret = send_cldap_netlogon(sock, realm, global_myname(), nt_version);
if (ret != 0) {
close(sock);
return False;