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

How to get the entry with a known dn ?



I use OpenLDAP v1.2.3 on a linux box.

If i make a search on an indexed value i get the expected result:

	# ldaps -b "ou1=inventar, ou=edv, dc=decor-metall, dc=de" "invnr=08500"
	invnr=08500, ou1=inventar, ou=edv, dc=decor-metall, dc=de
	objectclass=device
	ou=edv
	ou1=inventar
	invnr=08500
	cn=Compaq Deskpro 4000
	modell=Compaq Deskpro 4000
	sno=8706BBD44357
	abt=EDV

If i try to get the found entry with the whole dn( which is also indexed)
i get no result:

# ldaps -b "ou1=inventar, ou=edv, dc=decor-metall, dc=de" \
	"invnr=08500, ou1=inventar, ou=edv, dc=decor-metall, dc=de"
(no result)

What's wrong? I think, that i do not understand to ask for a specific entry
via dn. 


-- 
Frank Matthieß	      

Privat Frank.Matthiess@GMX.net			                +49-5245-4662
Firma  Frank.Matthiess@decor-metall.de                       +49-5222-286-315