[Date Prev][Date Next]
Extensible search filters in test015 were failing before, they're working
now. SLAP_NVALUES_ON_DISK works as well.
Some things are a bit messy in do_add/do_modify... As before, all values are
normalized on input, whether from LDAP or from disk. For attributes without
any particular normalizer, a->a_nvals is set equal to a->a_vals, to avoid a
lot of (a->a_nvals != NULL) checks everywhere else. Preserving the integrity
of this scheme requires extra care at input - the nvals parameter of
attr_merge() must be NULL for attributes without normalizers, and vice versa.
I haven't thought about what appropriate assert's to use to guarantee this
but it'd be a good idea to add them.
-- Howard Chu
Chief Architect, Symas Corp. Director, Highland Sun
Symas: Premier OpenSource Development and Support