From: Peter M. <pet...@ma...> - 2002-10-25 15:01:21
|
Hi Norbert, you are right If you feed canonical_dn() the DN as a array ref (as descri= bed=20 in the man page), but sometimes it is useful to have the (de-)quoting=20 functions as standalone routines Maybe Graham will reorg his code a bit to have similar function as separa= te=20 routines ;-)) Yours / Sch=F6nes Wochenende Peter On Friday 25 October 2002 16:19, you wrote: > > I was having the same problem a few moths ago, so I wrote > > a module for my private use and use in my company. > > > > It provides 4 functions > > * quoteFilterValue(@) > > * unquoteFilterValue(@) > > * quoteDNValue(@) > > * unquoteDNValue(@) > > > > The functions with weilter in their names operate on strings > > that are going to be pattern parts of LDAP filters, > > while the functions with DN in their name operate > > on strings that are to become RDN values. > > These functions for DNs are already part of Net::LDAP::Utils. E.g. > canonical_dn can be used to construct a correctly encoded DN from RDN > values. > > Mit freundlichen Gr=FC=DFen / Best Regards > > Norbert Klasen > Avinci - The Know-How Company > http://www.avinci.biz --=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 |