From: <ra...@gm...> - 2002-08-26 14:34:14
|
Hi A part of a script i made should search for the value of an Attribute in an Entry and when the attribute does not exist or is empty it should search for the same one level below. So far no problems... but to get the Entry wich is one level below the starting entry i need to search fot a DN: original Entry eg: cn=item,cn=group,dc=host,dc=com => Here i cant find the value i need so... i search one level below: cn=group,dc=host,dc=com So i need to search for "cn=group,dc=host,dc=com". I recognized that i could not use a DN in a filer argument ( "(dn=cn=group,dc=host,dc=com)" ) does not return any results. So how can i search for an DN or better: How can i get an Entry on wich i know the DN? cheers, Raffaele -- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net |