logo       

problem with whitespace in username and ldap: msg#00933

freeradius.user

Subject: problem with whitespace in username and ldap

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



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise