mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-04 22:20:28 -05:00
eat undesired values
This commit is contained in:
parent
95991161c6
commit
bb4624c8b0
1 changed files with 13 additions and 0 deletions
|
|
@ -468,6 +468,19 @@ ldap_build_entry(
|
|||
|
||||
/* no subschemaSubentry */
|
||||
if ( attr->a_desc == slap_schema.si_ad_subschemaSubentry ) {
|
||||
BerVarray vals;
|
||||
|
||||
/*
|
||||
* 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.
|
||||
*
|
||||
* FIXME: is there a better means to eat
|
||||
* undesired values? */
|
||||
(void)ber_scanf( &ber, "[W]", &vals );
|
||||
|
||||
ch_free(attr);
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue