multiple User-Passwords

Stefan Winter stefan.winter at restena.lu
Thu Mar 2 09:15:07 CET 2006


Hi list,

again something from the legacy-auth-backend to radius freak cabinet:
I need to have more than one password for a small group of users (which had a 
seperate one for dial-up vs. other services). All of these pw are available 
in clear text, so I thought I could mis-use the mySQL tables to allow both 
with the following trick:

Attribute: User-Password
op:	=~
Value: (pass1|pass2)

This doesn't work; even though in my understanding it should. I found a 
different way: using the same syntax in the "users" file works beautifully:

name	User-Password =~ (pass1|pass2), Auth-Type := Accept

That did it. However, I'd like to stick with pure SQL as a backend. Is there 
some reason why this doesn't work, or is it just a bug/inflexibility of the 
rlm_sql(_mysql) module?

Greetings,

Stefan Winter

-- 
Stefan WINTER

RESTENA Foundation - Réseau Téléinformatique de l'Education Nationale et de 
la Recherche
R&D Engineer

6, rue Richard Coudenhove-Kalergi
L-1359 Luxembourg
email: stefan.winter at restena.lu     Tel.:     +352 424409-1
http://www.restena.lu               Fax:      +352 422473




More information about the Freeradius-Users mailing list