[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: encoding problems
Hello,
Raffaele Sandrini <rasa@gmx.ch> writes:
> Hi
>
> I have a problem searching with queries containing a ":".
[...]
> I use the Net::LDAP Perl module to access the tree and had no problems till
> now but if i try to search for fields wich sotre a such Hardware address (and
> i enter a correct filter like: filter => "(myHWaddr=00:56:45:87:98:65)" ) i
> get 0 results but there must be some.
>
> I assume that OpenLDAP has problems with the colon (":") because all my other
> queries work. So is there a method to have a 100% chance to correct
> encapsulate characters wich OpenLDAP interprets as something else?
See RFC2849 The LDAP Data Interchange Format (LDIF)
you could make use of base64 encoding.
-Dieter
--
Dieter Kluenter | Systemberatung
Tel:040.64861967 | Fax: 040.64891521
mailto: dkluenter@schevolution.com
http://www.schevolution.com/tour