[Date Prev][Date Next] [Chronological] [Thread] [Top]

ldapsearch question



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