Hello again Colin -
On Thu, 27 Apr 2000, colinc wrote:
> Hi
>
> Just wondering if it's possible to check both the password and encrypted
> password column particularly if one column is empty or null.
>
> for example, the default would be to check the encrypted password column
> for authentication, however, if there is no encrypted password present
> we want radiator to check the password column. Or vice versa. We have it
> looking at the encrypted password at the moment.
>
Since responding to this same message a little while ago, Mike and I were
discussing a couple of additional (possibly more suitable) solutions to your
question. The first thing you can do is simply write an AuthSelect in your
AuthBy SQL that returns both the plaintext and the encrypted password fields
and then have AuthColumnDef's for both. Only the password that is actually
returned will be checked, while the null value will be ignored.
A second method is to mix both plaintext and encrypted passwords in the same
column, and as long as the encrypted passwords have the appropriate leading tag
on them (eg. {crypt}, {SHA}, $1$), the plaintext password checker will do the
right thing. See section 13.1.1 in the Radiator 2.15 reference manual.
As to my previous post, the comment I was trying to make is still valid -
defining AuthBy's with Identifier's makes configuration files *much* easier to
build and understand.
cheers
Hugh
--
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
Platypus, Freeside, Interbiller, TACACS+, PAM, external, etc, etc.
Available on Unix, Linux, FreeBSD, Windows 95/98/2000, NT, MacOS X.
===
Archive at http://www.starport.net/~radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.