summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-05-07 15:49:09 +0200
committerGünther Deschner <gd@samba.org>2008-05-09 14:59:18 +0200
commitcdd9913c4a7d254ab3ef677737493f9f540272c7 (patch)
tree84e6429b832a97ede685aa273042200d6c5fb4fb /source3/utils
parent64cb9461fb60d293db70d24369227d7482b2fd2b (diff)
downloadsamba-cdd9913c4a7d254ab3ef677737493f9f540272c7.tar.gz
samba-cdd9913c4a7d254ab3ef677737493f9f540272c7.tar.bz2
samba-cdd9913c4a7d254ab3ef677737493f9f540272c7.zip
cldap: let ads_cldap_netlogon() return all possible cldap replies.
Guenther (This used to be commit 6f9d5e1cc94bc90685b54c04622b8f3357bd2f69)
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_ads.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/net_ads.c b/source3/utils/net_ads.c
index 3df9e2cff0..bf34880177 100644
--- a/source3/utils/net_ads.c
+++ b/source3/utils/net_ads.c
@@ -84,7 +84,7 @@ static int net_ads_cldap_netlogon(ADS_STRUCT *ads)
struct nbt_cldap_netlogon_5 reply;
print_sockaddr(addr, sizeof(addr), &ads->ldap.ss);
- if ( !ads_cldap_netlogon(talloc_tos(), addr, ads->server.realm, &reply ) ) {
+ if ( !ads_cldap_netlogon_5(talloc_tos(), addr, ads->server.realm, &reply ) ) {
d_fprintf(stderr, "CLDAP query failed!\n");
return -1;
}
@@ -389,7 +389,7 @@ static int net_ads_workgroup(int argc, const char **argv)
}
print_sockaddr(addr, sizeof(addr), &ads->ldap.ss);
- if ( !ads_cldap_netlogon(talloc_tos(), addr, ads->server.realm, &reply ) ) {
+ if ( !ads_cldap_netlogon_5(talloc_tos(), addr, ads->server.realm, &reply ) ) {
d_fprintf(stderr, "CLDAP query failed!\n");
return -1;
}