[Date Prev][Date Next]
Re: ldap-backend segmentation fault (ITS#1367)
> At 08:10 AM 2001-10-03, email@example.com wrote:
> >so the unknown attribute is stripped from the results
> One alternative is to use slap_str2undef_ad() instead
> of slap_str2ad(). See str2entry() for logic.
That's much cleaner. I applied it to both back-ldap and
back-meta; however, I see the "undef" attributes get
stripped off somewhere before being returned (even for
access to * by * read
on the back-ldap, so it is not an ACL problem). Is it
> >(what if the resulting entry does not pass the schema?)
> Nothing. Often MUST attributes are stripped from
> results, by ACLs or other means. It's fine (and even
> noted in rfc2251).
That makes a lot of sense. I must have missed it.
Dr. Pierangelo Masarati | voice: +39 02 2399 8309
Dip. Ing. Aerospaziale | fax: +39 02 2399 8334
Politecnico di Milano | mailto:firstname.lastname@example.org
via La Masa 34, 20156 Milano, Italy |