mirror of
https://github.com/samba-team/samba.git
synced 2025-01-24 02:04:21 +03:00
s3:libsmb: make use of ads_connect_cldap_only()
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
parent
f34e64baf6
commit
fdd34b57c4
@ -82,8 +82,7 @@ static bool ads_dc_name(const char *domain,
|
||||
|
||||
#ifdef HAVE_ADS
|
||||
/* we don't need to bind, just connect */
|
||||
ads->auth.flags |= ADS_AUTH_NO_BIND;
|
||||
ads_connect(ads);
|
||||
ads_connect_cldap_only(ads);
|
||||
#endif
|
||||
|
||||
if (!ads->config.realm) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user