1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-04 08:22:08 +03:00

s3: Rename new parameter "ldap ref follow" to "ldap follow referral".

This parameter will be introduced with Samba 3.5.0.

Karolin
This commit is contained in:
Karolin Seeger
2009-10-26 12:11:59 +01:00
parent 35dc481289
commit f381faa8d6
4 changed files with 9 additions and 9 deletions

View File

@ -724,9 +724,9 @@ int smb_ldap_setup_conn(LDAP **ldap_struct, const char *uri)
return rc;
}
if (lp_ldap_ref_follow() != Auto) {
if (lp_ldap_follow_referral() != Auto) {
rc = ldap_set_option(*ldap_struct, LDAP_OPT_REFERRALS,
lp_ldap_ref_follow() ? LDAP_OPT_ON : LDAP_OPT_OFF);
lp_ldap_follow_referral() ? LDAP_OPT_ON : LDAP_OPT_OFF);
if (rc != LDAP_SUCCESS)
DEBUG(0, ("Failed to set LDAP_OPT_REFERRALS: %s\n",
ldap_err2string(rc)));