more fixes to parsing of (deprecated) config directives (ITS#3915)

This commit is contained in:
Pierangelo Masarati 2005-08-02 22:21:44 +00:00
parent b620a0e23c
commit 9da3dbf3c8

View file

@ -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;