List,

Anyone have a fix for the ldap module authenticating users with whitespace in the username. It's really making a mess of my accounting.

I am currently using this filter:

(&(uid=%{Stripped-User-Name:-%{User-Name}})(objectClass=aptAccount)(aptDialupEnabled=1)(aptAccountEnabled=1))

And I can still authenticate using " test".

Debugging shows that freeradius passes the space to ldap where it finds the record and returns ok.

rlm_ldap: performing search in dc=aptalaska,dc=net, with filter (&(uid= test)(objectClass=aptAccount)(aptDialupEnabled=1)(aptAccountEnabled=1))


- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to