mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-25 17:19:43 -05:00
cleanup
This commit is contained in:
parent
922a7e4488
commit
56303ce55a
1 changed files with 3 additions and 21 deletions
|
|
@ -744,25 +744,6 @@ rwm_send_entry( Operation *op, SlapReply *rs )
|
|||
continue;
|
||||
}
|
||||
|
||||
/* no subschemaSubentry */
|
||||
if ( (*ap)->a_desc == slap_schema.si_ad_subschemaSubentry ) {
|
||||
|
||||
/*
|
||||
* We eat target's subschemaSubentry because
|
||||
* a search for this value is likely not
|
||||
* to resolve to the appropriate backend;
|
||||
* later, the local subschemaSubentry is
|
||||
* added.
|
||||
*/
|
||||
Attribute *a;
|
||||
|
||||
a = *ap;
|
||||
*ap = (*ap)->a_next;
|
||||
|
||||
attr_free( a );
|
||||
continue;
|
||||
}
|
||||
|
||||
for ( last = 0; !BER_BVISNULL( &(*ap)->a_vals[last] ); last++ )
|
||||
/* just count */ ;
|
||||
|
||||
|
|
@ -811,8 +792,9 @@ rwm_send_entry( Operation *op, SlapReply *rs )
|
|||
* http://www.OpenLDAP.org/faq/data/cache/452.html)
|
||||
* The problem can be overcome by moving the dn-based
|
||||
* ACLs to the target directory server, and letting
|
||||
* everything pass thru the ldap backend.
|
||||
*/
|
||||
* everything pass thru the ldap backend. */
|
||||
/* FIXME: handle distinguishedName-like syntaxes, like
|
||||
* nameAndOptionalUID */
|
||||
} else if ( (*ap)->a_desc->ad_type->sat_syntax ==
|
||||
slap_schema.si_syn_distinguishedName )
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue