Fixes first part of ITS#1430

This commit is contained in:
Pierangelo Masarati 2001-11-12 17:32:52 +00:00
parent 8c4c2ce789
commit 6b1104ab87

View File

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