Re: object class values in a read or search result

2013-03-23 Thread Keutel, Jochen (mlists)
Hello, Also as a general rule the X.500 data model requires that a server store and return exactly what the user provided. please tell me where in X.500 you find this. I couldn't find it. Instead I found (X.501 (2008), chapter 13.3.2 ( The object class attribute) : Every entry shall

Re: object class values in a read or search result

2013-03-23 Thread Howard Chu
Keutel, Jochen (mlists) wrote: Hello, Also as a general rule the X.500 data model requires that a server store and return exactly what the user provided. please tell me where in X.500 you find this. I couldn't find it. Instead I found (X.501 (2008), chapter 13.3.2 ( The object class

object class values in a read or search result

2013-03-22 Thread Keutel, Jochen (mlists)
Hello, if I add an entry like this: dn: cn=jk,dc=test objectClass: inetOrgPerson cn: jk sn: jk This works fine. Esp. the superclasses seem to be added on the fly: Searching this entry with filter objectClass=person works fine. However - when I read this entry I'd expect that all

Re: object class values in a read or search result

2013-03-22 Thread Manuel Gaupp
Am 22.03.2013 um 14:06 schrieb Keutel, Jochen (mlists) mli...@keutel.de: Hello, if I add an entry like this: dn: cn=jk,dc=test objectClass: inetOrgPerson cn: jk sn: jk This works fine. Esp. the superclasses seem to be added on the fly: Searching this entry with filter

Re: object class values in a read or search result

2013-03-22 Thread Michael Ströder
Manuel Gaupp wrote: I don't think so, because RFC 4512, section 3.3 says: When creating an entry or adding an 'objectClass' value to an entry, all superclasses of the named classes SHALL be implicitly added as well if not already present. [...] If I'm interpreting this correctly,

Re: object class values in a read or search result

2013-03-22 Thread Howard Chu
Michael Ströder wrote: Manuel Gaupp wrote: I don't think so, because RFC 4512, section 3.3 says: When creating an entry or adding an 'objectClass' value to an entry, all superclasses of the named classes SHALL be implicitly added as well if not already present. [...] If I'm