From: Matthew Newton Date: Wed, 16 Aug 2017 14:49:01 +0000 (+0100) Subject: rlm_ldap: options moved in b562dc3b X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ddb13d53e3580e3722233d86a1a6f562ebedc2f1;p=thirdparty%2Ffreeradius-server.git rlm_ldap: options moved in b562dc3b --- diff --git a/src/modules/rlm_ldap/rlm_ldap.c b/src/modules/rlm_ldap/rlm_ldap.c index 4004eb05bc6..d3b020bc70c 100644 --- a/src/modules/rlm_ldap/rlm_ldap.c +++ b/src/modules/rlm_ldap/rlm_ldap.c @@ -1559,7 +1559,7 @@ static int mod_instantiate(void *instance, CONF_SECTION *conf) #endif #ifndef HAVE_LDAP_URL_PARSE - if (inst->use_referral_credentials) { + if (inst->handle_config.use_referral_credentials) { cf_log_err(conf, "Configuration item 'use_referral_credentials' not supported. " "Linked libldap does not support URL parsing"); goto error; @@ -1810,7 +1810,7 @@ static int mod_instantiate(void *instance, CONF_SECTION *conf) * The 2-argument rebind doesn't take an instance variable. Our rebind function needs the instance * variable for the username, password, etc. */ - if (inst->rebind == true) { + if (inst->handle_config.rebind == true) { cf_log_err(conf, "Cannot use 'rebind' configuration item as this version of libldap " "does not support the API that we need");