mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-25 09:09:54 -05:00
more fixes to parsing of (deprecated) config directives (ITS#3915)
This commit is contained in:
parent
b620a0e23c
commit
9da3dbf3c8
1 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue