Using ldap_xlat in unlang with Chars not allowed in an ldap search
Daniel Finger
daniel.finger at ewetel.de
Mon Oct 1 16:20:43 CEST 2012
Am 20.09.2012 18:28, schrieb Phil Mayers:
> If you edit rlm_ldap.c around line 1231, and change:
> if (!radius_xlat(url, sizeof(url), fmt, request, func))
> ...to:
> if (!radius_xlat(url, sizeof(url), fmt, request, ldap_escape_func))
> ...this should work. I'll submit a one-liner.
I just upgraded to Version 2.2.0, included that small patch (and the one
from John Dennis to keep the Radius Clients in LDAP) and it works perfecly.
Thanks a lot!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4474 bytes
Desc: S/MIME Kryptografische Unterschrift
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20121001/39a8d7ac/attachment.bin>
More information about the Freeradius-Users
mailing list