]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/acl.c
don't return entry if requested attr is not present (ITS#5650)
[openldap] / servers / slapd / acl.c
index 886aa926ad294605a4a09a4e129efe8daac2c045..5913ea9907e0456ce8ea4f5453011284d6ba4537 100644 (file)
@@ -2114,7 +2114,7 @@ acl_set_gather( SetCookie *cookie, struct berval *name, AttributeDescription *de
        if ( rc != LDAP_SUCCESS ) {
                Debug( LDAP_DEBUG_TRACE,
                        "%s acl_set_gather: DN=\"%s\" normalize failed\n",
-                       cp->asc_op->o_log_prefix, op2.o_req_dn.bv_val, 0 );
+                       cp->asc_op->o_log_prefix, ludp->lud_dn, 0 );
 
                goto url_done;
        }