(RADIATOR) Problem: AuthByPolicy

Jaafar Bin Sarim jrsm at staff.singnet.com.sg
Fri Jul 19 02:06:35 CDT 2002

Hello Hugh,

Here it is:

LogDir          /var/log/radius/roamin
DbDir           /usr/local/etc/raddb    
AuthPort        2112
AcctPort        2113

Trace   4

<Log FILE>
        Filename %L/logdir/logfile.%Y%m%d
        Trace 4

        Secret  xxxxxx

<Client localhost>
        Secret  xxxxxx
        Secret  xxxxxx

        Secret  xxxxxx

<AuthBy UNIX>
        Identifier      System
	Filename        /etc/shadow

<AuthBy SQL>
        Identifier      CheckSQL
        DBSource        dbi:Oracle:ahimsa
        DBUsername      xxxxxx
        DBAuth          xxxxxx

        DBSource        dbi:Oracle:parthenon
        DBUsername      xxxxxx
        DBAuth          xxxxxx

        AuthSelect      SELECT passwd FROM subscribers \
                        WHERE name = '%n' \
                        AND roam = 'T' \
                        AND status = 'T'

        AuthColumnDef 0, Encrypted-Password, check
        AuthColumnDef 1, GENERIC, check
        AuthColumnDef 2, GENERIC, check
        AuthColumnDef 3, GENERIC, reply
        AuthColumnDef 4, GENERIC, reply

<AuthBy FILE>
        Identifier CheckDenyFile
        Filename %D/deny

<AuthBy GROUP>
        Identifier CheckSystemThenSQL
	AuthByPolicy ContinueUntilAccept
        AuthBy System
        AuthBy CheckSQL

<AuthBy GROUP>
        Identifier CheckUsers
        AuthByPolicy ContinueWhileAccept
        AuthBy CheckDenyFile
        AuthBy CheckSystemThenSQL
        AddToReply Service-Type = Framed-User, \
        Framed-Protocol = PPP, \
        Framed-IP-Netmask =

<Handler Realm=/.*\.sg/>
         RewriteUsername s/^([^@]+).*/$1/
         AuthBy CheckUsers
         AcctLogFileName /radacct/%C/detail

Best Regards
Jaafar Sarim

On Fri, 19 Jul 2002, Hugh Irvine wrote:

> Hello Jaafar -
> Please send me a copy of the configuration file that produced the trace.
> thanks
> Hugh

Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.

More information about the radiator mailing list