Can DN be used as search key in ldapsearch?

Alex Hwang (
Wed, 03 Jul 1996 09:49:27 +0000

If there are sources that can answer questions like this, please let me
know so I do not waste the bandwidth

I can't get ldapsearch to work on the dn. For example,

ldapsearch 'dn=(cn=Joe, o=XYZ, c=US)' or even
ldapsearch 'dn=*'

Is dn a hidden atribute? Is the syntax incorrect? Or the database was not
set up properly? Or one just does not do things like this?

Alex Hwang