1
0
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:
Stefan Metzmacher 2024-03-05 17:46:10 +01:00
parent f34e64baf6
commit fdd34b57c4

View File

@ -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) {