mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-26 01:29:59 -05:00
ITS#4810 bi_entry_get_rw() must return the entry regardless of whether
it's an alias or referral or not
This commit is contained in:
parent
35e0956c26
commit
183a0f3719
1 changed files with 0 additions and 15 deletions
|
|
@ -384,21 +384,6 @@ dn2entry_retry:
|
|||
"=> bdb_entry_get: found entry: \"%s\"\n",
|
||||
ndn->bv_val, 0, 0 );
|
||||
|
||||
/* find attribute values */
|
||||
if( is_entry_alias( e ) ) {
|
||||
Debug( LDAP_DEBUG_ACL,
|
||||
"<= bdb_entry_get: entry is an alias\n", 0, 0, 0 );
|
||||
rc = LDAP_ALIAS_PROBLEM;
|
||||
goto return_results;
|
||||
}
|
||||
|
||||
if( is_entry_referral( e ) ) {
|
||||
Debug( LDAP_DEBUG_ACL,
|
||||
"<= bdb_entry_get: entry is a referral\n", 0, 0, 0 );
|
||||
rc = LDAP_REFERRAL;
|
||||
goto return_results;
|
||||
}
|
||||
|
||||
if ( oc && !is_entry_objectclass( e, oc, 0 )) {
|
||||
Debug( LDAP_DEBUG_ACL,
|
||||
"<= bdb_entry_get: failed to find objectClass %s\n",
|
||||
|
|
|
|||
Loading…
Reference in a new issue