From bfcfe47661bc903f550c5521e9844fc45029784f Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Thu, 15 Nov 2001 02:14:18 +0000 Subject: [PATCH] Fix up last commit. --- servers/slapd/back-ldbm/modrdn.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/servers/slapd/back-ldbm/modrdn.c b/servers/slapd/back-ldbm/modrdn.c index ebc8cc8351..5aefdbba58 100644 --- a/servers/slapd/back-ldbm/modrdn.c +++ b/servers/slapd/back-ldbm/modrdn.c @@ -374,7 +374,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, e, - desc, &val, ACL_WRITE ) ) { + mod_tmp->sml_desc, &val, ACL_WRITE ) ) { Debug( LDAP_DEBUG_TRACE, "ldbm_back_modrdn: access not allowed " "to attr \"%s\"\n%s%s", @@ -432,7 +432,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, e, - desc, &val, ACL_WRITE ) ) { + mod_tmp->sml_desc, &val, ACL_WRITE ) ) { Debug( LDAP_DEBUG_TRACE, "ldbm_back_modrdn: access not allowed " "to attr \"%s\"\n%s%s",