s3-libads Pass a struct sockaddr_storage to cldap routines
authorAndrew Bartlett <abartlet@samba.org>
Tue, 26 Apr 2011 07:03:32 +0000 (17:03 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 28 Apr 2011 03:30:20 +0000 (05:30 +0200)
commit818ec32d0c4dde545199b4462da30b49a19ecc87
treeb9ef927164f792e495ffb768448e47a206f9f6a6
parentaa8406cadf62ea676ffb7a6239a8b3f4fe71abbf
s3-libads Pass a struct sockaddr_storage to cldap routines

This avoids these routines doing a DNS lookup that has already been
done, and ensures that the emulated DNS lookup isn't thrown away.

Andrew Bartlett
source3/libads/cldap.c
source3/libads/cldap.h
source3/libads/ldap.c
source3/libsmb/dsgetdcname.c
source3/utils/net_ads.c
source3/winbindd/idmap_adex/gc_util.c