Hi Hugh,
I am trying to Auth from a standard RADIUS users file and allocate
those users an IP address from a nominated pool.
Here is the whole cfg file:
LogDir /var/log/radius
# Set this to the database directory. It should contain these files:
# users The user database
# dictionary The dictionary for your NAS
DbDir /etc/raddb/
# This clause defines a single client to listen to
<Client xxx.xxxx.xxx.xxx>
Secret xxxxxxx
NoDefault
IgnoreAcctSignature
</Client>
# For testing: this allows us to honour requests from radpwtst
# on the same host.
<Client localhost>
Secret xxxxxxxxx
DupInterval 0
</Client>
<AddressAllocator SQL>
Identifier xxx
DBSource dbi:mysql:radius
DBUsername xxx
DBAuth xxxxxxx
<AddressPool pool1>
Subnetmask 255.255.255.0
Range 203.44.90.130 203.44.90.134
</AddressPool>
</AddressAllocator>
<Log SYSLOG>
Facility radius
Trace 4
</Log>
# This clause handles all users from all realms by looking them up
# in the users file at /usr/local/etc/raddb/users
<Realm DEFAULT>
<AuthBy GROUP>
AuthByPolicy ContinueWhileReject
<AuthBy FILE>
#The filename defaults to %D/users
</AuthBy>
<AuthBy UNIX>
Filename /etc/shadow
FramedGroup 0
</AuthBy>
</AuthBy>
</AuthBy>
# Log accounting to the detail file in LogDir
AcctLogFileName %L/detail
</Realm>
<Realm xxx.xxx.xxx>
RewriteUsername s/^([^@]+).*/$1/
<AuthBy RADIUS>
Host xxx.xxx.xxx.xxx
Secret xxxxxxxx
</AuthBy>
AcctLogFileName %L/detail.xxx
<AuthBy DYNADDRESS>
Allocator xxx
PoolHint %{Reply:PoolHint}
StripFromReply PoolHint
</AuthBy>
</Realm>
===
Archive at http://www.starport.net/~radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.