"Connie Liu" <[EMAIL PROTECTED]> wrote:
> E.g.   username@marketing will check the file           =
> "password.marketing"
>  username@sales will check the file                          =
> "password.sales"
> 
> Note: It is not radius User file, it is standard UNIX password file!
> 
> How can I do that!

  Upgrade to the latest CVS snapshot.  Configure multiple instance of
the 'unix' module.  You can have multiple password files.

  unix sales {
    passwd = /etc/passwd.sales
  }

  unix marketing {
    passwd = /etc/passwd.marketing
  }


  Then list both 'sales' and 'marketing' in the 'authenticate'
section.  Set LOCAL realms for '@marketing' and '@sales', and in the
'users' file, do:

DEFAULT Realm == "marketing", Auth-Type := marketing
        Fall-Through = Yes

DEFAULT Realm == "sales", Auth-Type := sales
        Fall-Through = Yes


  Alan DeKok.

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to