From: Pierangelo Masarati Date: Mon, 12 Nov 2001 17:32:52 +0000 (+0000) Subject: Fixes first part of ITS#1430 X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~878 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6b1104ab870c8e91ffb28237b110254a40768cf2;p=openldap Fixes first part of ITS#1430 --- diff --git a/servers/slapd/back-ldbm/modrdn.c b/servers/slapd/back-ldbm/modrdn.c index 2851f80359..e93f762a6d 100644 --- a/servers/slapd/back-ldbm/modrdn.c +++ b/servers/slapd/back-ldbm/modrdn.c @@ -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,