Improved log message when cannot find entry of desired class

This commit is contained in:
Kurt Zeilenga 2005-04-07 00:54:06 +00:00
parent 228e28c266
commit b425b15fc8
2 changed files with 4 additions and 4 deletions

View 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;
}

View 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;
}