From 9da3dbf3c8852829eb85475905dd92260b52ea72 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Tue, 2 Aug 2005 22:21:44 +0000 Subject: [PATCH] more fixes to parsing of (deprecated) config directives (ITS#3915) --- servers/slapd/back-ldap/config.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; -- 2.39.5