]> git.sur5r.net Git - openldap/commitdiff
Fixes first part of ITS#1430
authorPierangelo Masarati <ando@openldap.org>
Mon, 12 Nov 2001 17:32:52 +0000 (17:32 +0000)
committerPierangelo Masarati <ando@openldap.org>
Mon, 12 Nov 2001 17:32:52 +0000 (17:32 +0000)
servers/slapd/back-ldbm/modrdn.c

index 2851f80359599135a39860f11a0e69ec8e6f55b5..e93f762a6db4f84675619912004e6bab330ab259 100644 (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,