mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
ITS#5328 - return LDAP result code from null_back_entry_get().
This commit is contained in:
parent
61140d66a0
commit
64bda128c6
@ -70,7 +70,8 @@ null_back_false( Operation *op, SlapReply *rs )
|
||||
|
||||
|
||||
/* for overlays */
|
||||
int null_back_entry_get(
|
||||
static int
|
||||
null_back_entry_get(
|
||||
Operation *op,
|
||||
struct berval *ndn,
|
||||
ObjectClass *oc,
|
||||
@ -78,8 +79,10 @@ int null_back_entry_get(
|
||||
int rw,
|
||||
Entry **ent )
|
||||
{
|
||||
*ent = NULL;
|
||||
return 1;
|
||||
assert( *ent == NULL );
|
||||
|
||||
/* don't admit the object isn't there */
|
||||
return oc || at ? LDAP_NO_SUCH_ATTRIBUTE : LDAP_BUSY;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user