From: Peter M. <pet...@ma...> - 2002-10-17 09:40:45
|
Hi, On Wednesday 16 October 2002 14:22, you wrote: > how can you create a Net::LDAP::Entry object of one specific DN, like > uid=3Dadmin,ou=3Dorganizational unit,o=3Dorg,c=3Dde? > I haven't found something useful tweaking Net::LDAP->search() into > returning just that DN, and why should I perform a search, when I exact= ly > know what entry to retreive? Because searching is the only way to retrieve data from an LDAP server. You can do a search with scope=3D>'base' and the given DN as the base DN. Yours Peter --=20 Peter Marschall | eMail: pet...@ma... Scheffelstra=DFe 15 | pet...@is... 97072 W=FCrzburg | Tel: 0931/14721 PGP: D7 FF 20 FE E6 6B 31 74 D1 10 88 E0 3C FE 28 35 |