eat undesired values

This commit is contained in:
Pierangelo Masarati 2003-04-03 22:40:41 +00:00
parent 95991161c6
commit bb4624c8b0

View file

@ -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;
}