How to subsiture an user password

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


Hi,

> 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 ldap.my.school:389, authentication 1
> rlm_ldap: bind as
> uid=1887961dc817,uid=stefanb,ou=people,dc=my,dc=school/1887961dc817 to
> ldap.my.school:389
> 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

alan



More information about the Freeradius-Users mailing list