3.0.17 password ending in '\' problem, LDAP backend [bug?]

Kostas Zorbadelos kzorba at otenet.gr
Mon Sep 10 16:03:23 CEST 2018


On Δευ, Σεπ 10 2018 at 04:25:50 μμ, Kostas Zorbadelos <kzorba at otenet.gr> wrote:

> The above solution did not work exactly as is. A minor patch was needed:
>
> if (control:Tmp-Octets-0) {
>    update control {
>           Cleartext-Password := "%{string:control:Tmp-Octets-0}"

or should we use 
            Cleartext-Password := "%{string:&control:Tmp-Octets-0}"

What is the "correct" way in this reference?

Both seem to work.

>    }
> }
>
> The binary attribute would need to be converted to string for the
> comparison in pap to work.

-- 
Kostas Zorbadelos	http://gr.linkedin.com/in/kzorba		



More information about the Freeradius-Users mailing list