How to subsiture an user password

Alan Buxey A.L.M.Buxey at
Sun Jan 8 20:45:36 CET 2012


> I have WiFi NAS tat sends me the mac address in both username and password,
> but my ldap has all mac addresses as uid with the same fixed password, where
> and how could I subsitute the password ?

just use the uid as the User-Password. so you are almost there, however....

> [/etc/raddb/users]:197 WARNING! Changing 'Service-Type =' to 'Service-Type
> =='     for comparing RADIUS attribute in check item list for user DEFAULT

fix that

> [ldap] performing user authorization for 1887961dc817
> [ldap] WARNING: Deprecated conditional expansion ":-".  See "man unlang" for
> details

fix that

> [ldap] login attempt by "1887961dc817" with password "1887961dc817"
> [ldap] user DN: uid=1887961dc817,uid=stefanb,ou=people,dc=my,dc=school
> rlm_ldap: (re)connect to, authentication 1
> rlm_ldap: bind as
> uid=1887961dc817,uid=stefanb,ou=people,dc=my,dc=school/1887961dc817 to
> rlm_ldap: waiting for bind result ...
> rlm_ldap: Bind failed with invalid credentials
> ++[ldap] returns reject

fix that - this authentication check failed - ensure that the binding
can occur - or use an admin user to bind as


More information about the Freeradius-Users mailing list