LDAP distinguished name escaping
Arran Cudbard-Bell
a.cudbardb at freeradius.org
Fri Sep 16 21:04:50 CEST 2016
> On 16 Sep 2016, at 10:04, Alan DeKok <aland at deployingradius.com> wrote:
>
> On Sep 16, 2016, at 9:58 AM, Rob Johnson [rbj] <rbj at aber.ac.uk> wrote:
>> I am using the python module to return a DN based off the caller IP:
>
> The problem is that the LDAP module doesn't trust attributes by default. It only trusts it's configuration, which comes from the configuration file.
>
> There is no simple way in v3 to dynamically create the DN.
If you pass it in as an attribute reference it isn’t escaped… Just means use the raw value of this attribute.
-Arran
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20160916/78a0fea3/attachment-0001.sig>
More information about the Freeradius-Users
mailing list