]> git.sur5r.net Git - openldap/commitdiff
Improved log message when cannot find entry of desired class
authorKurt Zeilenga <kurt@openldap.org>
Thu, 7 Apr 2005 00:54:06 +0000 (00:54 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Thu, 7 Apr 2005 00:54:06 +0000 (00:54 +0000)
servers/slapd/back-bdb/id2entry.c
servers/slapd/back-ldbm/entry.c

index cfd60ad3a881c5b7fa5acb0106e9c26b70bfeed2..5a08b4db51943e257ced618e21c9a1e2758089c9 100644 (file)
@@ -399,8 +399,8 @@ dn2entry_retry:
 
        if ( oc && !is_entry_objectclass( e, oc, 0 )) {
                Debug( LDAP_DEBUG_ACL,
-                       "<= bdb_entry_get: failed to find objectClass\n",
-                       0, 0, 0 ); 
+                       "<= bdb_entry_get: failed to find objectClass %s\n",
+                       oc->soc_cname, 0, 0 ); 
                rc = LDAP_NO_SUCH_ATTRIBUTE;
                goto return_results;
        }
index 3227fbe73517b295cc99e688baac8fe2db143c7e..3fae53e80743c6ea307842c0d87047b827191180 100644 (file)
@@ -117,8 +117,8 @@ int ldbm_back_entry_get(
 
        if ( oc && !is_entry_objectclass( e, oc, 0 )) {
                Debug( LDAP_DEBUG_ACL,
-                       "<= ldbm_back_entry_get: failed to find objectClass\n",
-                       0, 0, 0 ); 
+                       "<= ldbm_back_entry_get: failed to find objectClass %s\n",
+                       oc->soc_cname, 0, 0 ); 
                rc = LDAP_NO_SUCH_ATTRIBUTE;
                goto return_results;
        }