search for DN (Filter)

2006-09-20 Thread Moire
Hello, maybe a silly question: Is it possible to search for a spezific DN? Lets say, this is my entry: cn=Michael Voss,ou=Eng,o=Firm,dc=domain,dc=org and i want to look direcly for it ldapsearch -x "(dn=cn=Michael Voss,ou=Eng,o=Firm,dc=domain,dc=org)" or similar. Thanks in advance. Moire

Re: search for DN (Filter)

2006-09-20 Thread Darko Delinac
Hello Limit the search scope to base (-s base) and as a base use the DN, something like this: ldapsearch -x -h my_ldap_server -b "cn=Michael Voss,ou=Eng,o=Firm,dc=domain,dc=org" -s base Darko On Wed, 2006-09-20 at 16:16 +0200, Moire wrote: > Hello, > > maybe a silly question: > > Is it possib

Re: search for DN (Filter)

2006-09-20 Thread Moire
On 9/20/06, Moire <[EMAIL PROTECTED]> wrote: Maybe a silly question: Is it possible to search for a spezific DN? Lets say, this is my entry: cn=Michael Voss,ou=Eng,o=Firm,dc=domain,dc=org and i want to look direcly for it ldapsearch -x "(dn=cn=Michael Voss,ou=Eng,o=Firm,dc=domain,dc=org)" o

Re: search for DN (Filter)

2006-09-26 Thread Moire
On 9/20/06, Moire <[EMAIL PROTECTED]> wrote:[EMAIL PROTECTED]> wrote: >> Maybe a silly question: >> >> Is it possible to search for a spezific DN? >> >> Lets say, this is my entry: >> >> cn=Michael Voss,ou=Eng,o=Firm,dc=domain,dc=org >> >> and i want to look direcly for it >> >> ldapsearch -x "(d

Re: search for DN (Filter)

2006-09-26 Thread Ralf Haferkamp
On Tuesday 26 September 2006 12:50, Moire wrote: [..] > Am 20.09.2006 um 19:19 schrieb Darko Delinac: > > Limit the search scope to base (-s base) and as a base use the DN, > > something like this: > > > > ldapsearch -x -h my_ldap_server -b "cn=Michael > > Voss,ou=Eng,o=Firm,dc=domain,dc=org" -s ba

Re: search for DN (Filter)

2006-09-26 Thread François Beretti
Hi, I don't know if it has something to do with the initial question, but sometimes I want to make a search such as: filter: (|(dn=uid=user1,ou=users,dc=domain)(dn=uid=user2,ou=users,dc=domain)(dn=uid=user3,ou=users,dc=domain)) attributes: some attribute so I get in one request all the values of

Re: search for DN (Filter)

2006-09-26 Thread Kurt D. Zeilenga
Modern versions of slapd(8) include an early implementation of draft-zeilenga-ldap-entrydn-xx.txt, a work in progress. At 02:58 PM 9/26/2006, François Beretti wrote: >Hi, > >I don't know if it has something to do with the initial question, but >sometimes I want to make a search such as: >filter: >

Re: search for DN (Filter)

2006-09-27 Thread Michael Ströder
François Beretti wrote: > > I don't know if it has something to do with the initial question, but > sometimes I want to make a search such as: > filter: > (|(dn=uid=user1,ou=users,dc=domain)(dn=uid=user2,ou=users,dc=domain)(dn=uid=user3,ou=users,dc=domain)) > > attributes: some attribute How abo

Re: search for DN (Filter)

2006-09-27 Thread François Beretti
Thank you very much (for your answer, and to the devs for the implementation)2006/9/27, Kurt D. Zeilenga <[EMAIL PROTECTED]>: Modern versions of slapd(8) include an early implementationof draft-zeilenga-ldap-entrydn-xx.txt, a work in progress.At 02:58 PM 9/26/2006, François Beretti wrote:>Hi,>>I do

Re: search for DN (Filter)

2006-09-27 Thread Moire
Am 26.09.2006 um 21:15 schrieb Ralf Haferkamp: On Tuesday 26 September 2006 12:50, Moire wrote: [..] Am 20.09.2006 um 19:19 schrieb Darko Delinac: Limit the search scope to base (-s base) and as a base use the DN, something like this: ldapsearch -x -h my_ldap_server -b "cn=Michael Voss,ou=Eng