(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
</Log>
<Client 165.21.81.35>
Secret xxxxxx
</Client>
<Client localhost>
Secret xxxxxx
</Client>
<Client 165.21.100.15>
Secret xxxxxx
</Client>
<Client 165.21.100.18>
Secret xxxxxx
</Client>
<AuthBy UNIX>
Identifier System
Filename /etc/shadow
</AuthBy>
<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>
<AuthBy FILE>
Identifier CheckDenyFile
Filename %D/deny
AcceptIfMissing
NoDefault
</AuthBy>
<AuthBy GROUP>
Identifier CheckSystemThenSQL
AuthByPolicy ContinueUntilAccept
AuthBy System
AuthBy CheckSQL
</AuthBy>
<AuthBy GROUP>
Identifier CheckUsers
AuthByPolicy ContinueWhileAccept
AuthBy CheckDenyFile
AuthBy CheckSystemThenSQL
AddToReply Service-Type = Framed-User, \
Framed-Protocol = PPP, \
Framed-IP-Netmask = 255.255.255.255
</AuthBy>
<Handler Realm=/.*\.sg/>
RewriteUsername s/^([^@]+).*/$1/
AuthBy CheckUsers
AcctLogFileName /radacct/%C/detail
</Handler>
--------------------------------------------------------
Best Regards
Jaafar Sarim
SingNet
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