Hi,
I was wondering if the following search can be done. Let's say I have this tree :
---> dc=com | |-->dc=mycompany | | -->cn=Jane Doe |
|-- objectClass=inetOrgPerson
|-- cn=Jane Doe
|-- mobile : 11223344
|--> cn=secretary |
|--objectClass=organizationalRole |--cn=secretary
|--telephoneNumber = 12345678
I'd like to return, in a SINGLE search, something like :
cn : Jane Doe - mobile : 11223344 - telephoneNumber : 12345678
In other words, I'd like the search to return the attribute telephoneNumber AS an attribute of Jane Doe, and not as an attribute of Jane Doe --> cn=secretary
Ben
--On Wednesday, January 30, 2013 4:00 AM +0100 Benin Technologies benintechnologies@yahoo.fr wrote:
Hi,
I was wondering if the following search can be done. Let's say I have this tree :
No. Fix your tree structure. If someone is a secretary, then put it in their user entry. Use a custom attr if you need to. Like:
myOrgRole: secretary
You may find https://itservices.stanford.edu/service/directory/datadefs/people enlightening.
--Quanah
--
Quanah Gibson-Mount Sr. Member of Technical Staff Zimbra, Inc A Division of VMware, Inc. -------------------- Zimbra :: the leader in open source messaging and collaboration
openldap-technical@openldap.org