Craig <[EMAIL PROTECTED]> wrote:
> I am trying to set up a single freeradius server (ver 0.8.1) in such
> a way that when a person dials eg.
>
> phone-number-1 (for ISP1) they get authenticated against password-file-1,
>
> phone-number-2 (for ISP2) they get authenticated against password-file-2
> etc.
>
> I don't want users to have to add a realm name to their login, unless
> they are roaming, in which case it would need to work with that as
> well.
Then your best bet is to *always* use realms. Set up the realsm
file for roaming like you would do normally, then in the 'hints' file,
do:
DEFAULT Called-Station-Id = "5551212"
Realm = "ISP-1"
DEFAULT Called-Station-Id = "5559999"
Realm = "ISP-2"
When they dial in to those numbers *without* a realm, then the realm
information will be added by the 'hints' file.
Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html