From b425b15fc8bf2986b6bbf6ed80494bc45288070b Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Thu, 7 Apr 2005 00:54:06 +0000 Subject: [PATCH] Improved log message when cannot find entry of desired class --- servers/slapd/back-bdb/id2entry.c | 4 ++-- servers/slapd/back-ldbm/entry.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/servers/slapd/back-bdb/id2entry.c b/servers/slapd/back-bdb/id2entry.c index cfd60ad3a8..5a08b4db51 100644 --- a/servers/slapd/back-bdb/id2entry.c +++ b/servers/slapd/back-bdb/id2entry.c @@ -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; } diff --git a/servers/slapd/back-ldbm/entry.c b/servers/slapd/back-ldbm/entry.c index 3227fbe735..3fae53e807 100644 --- a/servers/slapd/back-ldbm/entry.c +++ b/servers/slapd/back-ldbm/entry.c @@ -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; } -- 2.39.5