Problem with ldap module invalid variable expansion

Arran Cudbard-Bell a.cudbardb at freeradius.org
Mon Dec 28 20:47:55 CET 2015


> On 28 Dec 2015, at 14:36, Orion Timbale <timbaledorion at hotmail.com> wrote:
> 
> When i try to authenticate through EAP/PEAP/MSCHAPV2 i got the following
> error
> 
> Mon Dec 28 20:25:20 2015 : Debug: rlm_ldap (ldap): Reserved connection (4)
> Mon Dec 28 20:25:20 2015 : ERROR: (1) ldap : (uid=%u)
> Mon Dec 28 20:25:20 2015 : ERROR: (1) ldap :       ^ Invalid variable
> expansion
> Mon Dec 28 20:25:20 2015 : ERROR: (1) ldap : Unable to create filter
> Mon Dec 28 20:25:20 2015 : Debug: rlm_ldap (ldap): Released connection (4)
> 
> 
> Does anybody knows where its come from? I have had to use my own built
> that may explain many but i don't know where to seek for solutions
> Thanks for your help!!!!

I don't understand what your question is.  %u is an invalid one letter expansion.

If you wanted User-Name use %{User-Name}

Arran Cudbard-Bell <a.cudbardb at freeradius.org>
FreeRADIUS development team

FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 872 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20151228/29ba1904/attachment.sig>


More information about the Freeradius-Users mailing list