Re: Check against TWO possible password?

2007-02-05 Thread Alan DeKok
Federico Giannici wrote: OK, it seems to work. At the end of this email there is my authenticate{} section. Is it correct? Is there a simpler way to implement it? If it works, use it. I don't know if there's an easier way to do this right now. Alan DeKok. --

Re: Check against TWO possible password?

2007-02-04 Thread Federico Giannici
Federico Giannici wrote: Federico Giannici wrote: Alan DeKok wrote: Federico Giannici wrote: Now we have to check every authentication against TWO different passwords (it's OK if ONE is matched). Something like setting two different and alternative User-Password attributes... Sort of.

Re: Check against TWO possible password?

2007-02-04 Thread Federico Giannici
Federico Giannici wrote: Alan DeKok wrote: Federico Giannici wrote: Now we have to check every authentication against TWO different passwords (it's OK if ONE is matched). Something like setting two different and alternative User-Password attributes... Sort of. See

Check against TWO possible password?

2007-02-03 Thread Federico Giannici
We are currently using FreeRADIUS 1.1.2 since a lot of months (with a custom module to retrieve and record data from/to our database and perform custom things). Now we have to check every authentication against TWO different passwords (it's OK if ONE is matched). Something like setting two

Re: Check against TWO possible password?

2007-02-03 Thread Alan DeKok
Federico Giannici wrote: Now we have to check every authentication against TWO different passwords (it's OK if ONE is matched). Something like setting two different and alternative User-Password attributes... Sort of. See doc/configurable_failover. Alan DeKok. --

Re: Check against TWO possible password?

2007-02-03 Thread Federico Giannici
Alan DeKok wrote: Federico Giannici wrote: Now we have to check every authentication against TWO different passwords (it's OK if ONE is matched). Something like setting two different and alternative User-Password attributes... Sort of. See doc/configurable_failover. I read it, but I'm

Re: Check against TWO possible password?

2007-02-03 Thread Jan Mulders
if all else fails, try using rlm_perl to do the authentication (or maybe, compare the password against both elements in the database, then 'rewrite' it as the first if it matches, so rlm_sql recognises it properly. This, of course, is a bit of a hack (but if it works every time and is less

Re: Check against TWO possible password?

2007-02-03 Thread Federico Giannici
Jan Mulders wrote: if all else fails, try using rlm_perl to do the authentication (or maybe, compare the password against both elements in the database, then 'rewrite' it as the first if it matches, so rlm_sql recognises it properly. This, of course, is a bit of a hack (but if it works