From: Pierangelo Masarati Date: Tue, 2 Aug 2005 22:21:44 +0000 (+0000) Subject: more fixes to parsing of (deprecated) config directives (ITS#3915) X-Git-Tag: OPENLDAP_AC_BP~99 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9da3dbf3c8852829eb85475905dd92260b52ea72;p=openldap more fixes to parsing of (deprecated) config directives (ITS#3915) --- diff --git a/servers/slapd/back-ldap/config.c b/servers/slapd/back-ldap/config.c index 0145e1a12e..c80845c75e 100644 --- a/servers/slapd/back-ldap/config.c +++ b/servers/slapd/back-ldap/config.c @@ -779,7 +779,7 @@ ldap_back_cf_gen( ConfigArgs *c ) if ( !BER_BVISNULL( &li->acl_passwd ) ) { free( li->acl_passwd.bv_val ); } - li->acl_passwd = c->value_bv; + ber_str2bv( c->argv[ 1 ], 0, 1, &li->acl_passwd ); break; case LDAP_BACK_CFG_ACL_METHOD: @@ -896,13 +896,13 @@ ldap_back_cf_gen( ConfigArgs *c ) if ( !BER_BVISNULL( &li->idassert_passwd ) ) { free( li->idassert_passwd.bv_val ); } - li->idassert_passwd = c->value_bv; + ber_str2bv( c->argv[ 1 ], 0, 1, &li->idassert_passwd ); break; case LDAP_BACK_CFG_IDASSERT_AUTHZFROM: { struct berval bv; - ber_str2bv( c->argv[1], 0, 1, &bv ); + ber_str2bv( c->argv[ 1 ], 0, 1, &bv ); ber_bvarray_add( &li->idassert_authz, &bv ); } break;