Hello Paul -
On Thu, 13 Jan 2000, Paul Black wrote:
> I've now moved over to authenticating with Radiator via a MySQL database, one
> thing that is no longer working is the login prefix's which I previously had
> setup in my /etc/raddb/users file.
>
> Following is an example of one of these prefix's
>
> DEFAULT Prefix = U, Auth-Type = System, Client-Id = pm1
> Service-Type = Login-User,
> Login-IP-Host = hyperion.triode.net.au,
> ACC-Callback-CBCP-Type = CBCP-None,
> Login-Service = Rlogin
>
> What do I need to add to my radius.cfg file (and/or database) in order to
> allow my customers to make use of login prefix's like the U prefix above?
>
You would do almost the same thing as above:
# configure an AuthBy SQL with Identifier CheckSQL
# ie. your existing SQL configuration
<AuthBy SQL>
Identifier CheckSQL
DBSource ....
DBAuth ....
DBUsername ....
....
</AuthBy>
# configure your Realms or Handlers like this
<Handler ....>
<AuthBy FILE>
Filename %D/default-users
</AuthBy>
</Handler>
Then in your default-users file you would have this:
# default-users file, one DEFAULT for each different case
DEFAULT Prefix = U, Auth-Type = CheckSQL, Client-Id = pm1
Service-Type = Login-User,
Login-IP-Host = hyperion.triode.net.au,
ACC-Callback-CBCP-Type = CBCP-None,
Login-Service = Rlogin
DEFAULT ...., Auth-Type = CheckSQL, ....
....
DEFAULT Auth-Type = CheckSQL
....
hth
Hugh
--
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
Platypus, Freeside, TACACS+, PAM, external, etc etc on Unix, Win95/8,
NT, Rhapsody
===
Archive at http://www.thesite.com.au/~radiator/
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.