[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
ldapsearch question
- To: openldap-technical@openldap.org
- Subject: ldapsearch question
- From: Benin Technologies <benintechnologies@yahoo.fr>
- Date: Wed, 30 Jan 2013 04:00:30 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.fr; s=s1024; t=1359514833; bh=Mb9ps1enI3vy2T2LZqUecax4t4bbDcJJkwvfaUwAPaU=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:Content-Type:Content-Transfer-Encoding; b=jGg58XSAIH0EHXHMrn0+5ZLuWDywVMZswuTbiiYLaUdG//lQJhQWXC/rjji03FumLb5OIZyZwHu9JxnR/EcrfpvsG975oPkXOb6QtGV34HnndOPe1fLaSrX1YFaCWCCGUluH5lIPoABH9/tg61ilBvZdN87J03jGtz4+WvnXfaY=
- User-agent: Mozilla/5.0 (Windows NT 6.1; rv:11.0) Gecko/20120327 Thunderbird/11.0.1
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