Title: Message
Worked like a charm!!!
 
Thx again for the help Hugh.. as usual... a lifesaver.
 
Anton
 
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Hugh Irvine
Sent: Viernes, 31 de Agosto de 2001 07:36 p.m.
To: Anton Krall; [EMAIL PROTECTED]
Subject: Re: (RADIATOR) Atributtes ...


Hello Anton -

If you only have a relatively small number of such users, it is probably simpler and easier to use cascaded AuthBy modules.

Something like this:

# define AuthBy clauses

<AuthBy DBM>
        Identifier CheckDBM
        .....
</AuthBy>

<AuthBy FILE>
        Identifier CheckFILE
        Filename %D/users
</AuthBy>

# define Realms or Handlers

<Realm ....>
        AuthBy CheckFILE
        .....
</Realm>

The file %D/users would contain this:

# this file contains user reply attributes for some users
# password checking is refered to an AuthBy DBM

DEFAULT Auth-Type = CheckDBM

someuser Auth-Type = CheckDBM
        Service-Type=Framed-User,
        Framed-Protocol=PPP,
        Session-Timeout=5

anotheruser Auth-Type = CheckDBM
        .....

.....


hth

Hugh


At 16:16 -0500 01/8/31, Anton Krall wrote:
Guys..
 
I have a problem..
 
I am using DBFILE so I create a berkeley file form a plain text file thats in the format..
 
user  Encrypted-Password = "{crypt}EkmJMOKoO8omE"
 
now.. I need to add some attrbitutes to ceratin users.. depending on the username.. like this:
 
user  Encrypted-Password = "{crypt}EkmJMOKoO8omE"
    Service-Type=Framed-User, Framed-Protocol=PPP, Session-Timeout=5
 
but hits is only for certain users... I have the usernames on a separate list... how can I create the pain text file on real time for this? or what would be better? how can assign certain attrbitues to certain users and leave the other without anything?
 
 
Saludos
 
Anton Krall
Director de Tecnologia
Inter.net Mexico
(
www.mx.inter.net)
Email:
[EMAIL PROTECTED]
Directo: 5-241-7609
Conmutador: 5-241-7600
Mobile: 044-5105-5160
 
Outside Mexico:
Office: (525)241-7609
PBX: (525)241-7600
Mobile: (525)105-5160
 

--
NB: I am travelling this week, so there may be delays in our correspondence.

Radiator: the most portable, flexible and configurable RADIUS server
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
Platypus, Freeside, Interbiller, TACACS+, PAM, external, etc, etc.
Available on Unix, Linux, FreeBSD, Windows 95/98/2000, NT, MacOS X.

Reply via email to