[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freeradius-users
Subject:    Re: Muilti Password file!
From:       "Alan DeKok" <aland () ox ! org>
Date:       2002-02-26 15:33:18
[Download RAW message or body]

"Connie Liu" <cliu@hkcon.net> 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.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic