From: Howard Chu Date: Thu, 25 Jan 2007 13:39:23 +0000 (+0000) Subject: ITS#4810 fix from HEAD X-Git-Tag: OPENLDAP_REL_ENG_2_3_34~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d63733e0d3f442bfdd5b993bd852dece2b74b7a9;p=thirdparty%2Fopenldap.git ITS#4810 fix from HEAD --- diff --git a/servers/slapd/back-bdb/id2entry.c b/servers/slapd/back-bdb/id2entry.c index 460ee43556..bb41733756 100644 --- a/servers/slapd/back-bdb/id2entry.c +++ b/servers/slapd/back-bdb/id2entry.c @@ -387,21 +387,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",