[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: ldap-backend segmentation fault (ITS#1367)
Kurt@OpenLDAP.org wrote:
>
> At 08:10 AM 2001-10-03, masarati@aero.polimi.it 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
intended?
>
> >(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.
Pierangelo.
--
Dr. Pierangelo Masarati | voice: +39 02 2399 8309
Dip. Ing. Aerospaziale | fax: +39 02 2399 8334
Politecnico di Milano | mailto:masarati@aero.polimi.it
via La Masa 34, 20156 Milano, Italy |
http://www.aero.polimi.it/~masarati