Changeset 221 for branches/samba-3.3.x/source/libads/ldap.c
- Timestamp:
- May 24, 2009, 7:17:10 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.3.x/source/libads/ldap.c
r206 r221 300 300 got_realm = True; 301 301 302 again: 303 302 304 /* we need to try once with the realm name and fallback to the 303 305 netbios domain name if we fail (if netbios has not been disabled */ … … 350 352 351 353 sitename = sitename_fetch(realm); 352 353 again:354 354 355 355 DEBUG(6,("ads_find_dc: (cldap) looking for %s '%s'\n", … … 673 673 ldap_set_option(ads->ldap.ld, LDAP_OPT_PROTOCOL_VERSION, &version); 674 674 675 status = ADS_ERROR(smb_ldap_start_tls(ads->ldap.ld, version)); 676 if (!ADS_ERR_OK(status)) { 677 goto out; 675 if ( lp_ldap_ssl_ads() ) { 676 status = ADS_ERROR(smb_ldap_start_tls(ads->ldap.ld, version)); 677 if (!ADS_ERR_OK(status)) { 678 goto out; 679 } 678 680 } 679 681
Note:
See TracChangeset
for help on using the changeset viewer.