mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
Fixes first part of ITS#1430
This commit is contained in:
parent
8c4c2ce789
commit
6b1104ab87
@ -511,7 +511,7 @@ ldbm_back_modrdn(
|
||||
|
||||
val.bv_val = new_rdn_vals[a_cnt];
|
||||
val.bv_len = strlen( val.bv_val );
|
||||
if ( ! access_allowed( be, conn, op, p,
|
||||
if ( ! access_allowed( be, conn, op, e,
|
||||
desc, &val, ACL_WRITE ) ) {
|
||||
#ifdef NEW_LOGGING
|
||||
LDAP_LOG(( "backend", LDAP_LEVEL_INFO,
|
||||
@ -587,7 +587,7 @@ ldbm_back_modrdn(
|
||||
|
||||
val.bv_val = old_rdn_vals[d_cnt];
|
||||
val.bv_len = strlen( val.bv_val );
|
||||
if ( ! access_allowed( be, conn, op, p,
|
||||
if ( ! access_allowed( be, conn, op, e,
|
||||
desc, &val, ACL_WRITE ) ) {
|
||||
#ifdef NEW_LOGGING
|
||||
LDAP_LOG(( "backend", LDAP_LEVEL_INFO,
|
||||
|
Loading…
Reference in New Issue
Block a user