Hello Khurram -

On Wed, 02 Feb 2000, Khurram Shahzad wrote:
> Hi,
> 
> How it is possible to sent different "DefaultReply" for two different
> groups of /etc/group file in Solaris?
> 

You don't say how you are authenticating your users, but I would imagine
something like this would work:

# define an AuthBy UNIX to check users
# use Identifier CheckUNIX for later reference

<AuthBy UNIX>
        Identifier CheckUNIX
        ....
</AuthBy>

# configure Realms or Handlers with AuthBy FILE

<Realm ....>
        <AuthBy FILE>
                Filename %D/default.users
        </AuthBy>
</Realm>

Then in the file %D/default.users you would have something like this:

# %D/default.users - check group to determine reply attributes

DEFAULT Auth-Type = CheckUNIX, Group = somegroup
        Service-Type = Framed-User,
        Framed-Protocol = PPP,
        ....

DEFAULT Auth-Type = CheckUNIX, Group = anothergroup
        Service-Type = Framed-User,
        Framed-Protocol = PPP,
        ....

....

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.

Reply via email to