Hi there!
We are trying to dynamically assign IP address by using the
<AuthBy DYNADDRESS> and the <AddressAllocator>.
We are using MySQL database for the RADPOOL.
The problem we facing is that the Radiator WARNING the attribute PoolHint.
He's what appear on the logfile:
*** Received from 127.0.0.1 port 1026 ....
Code: Access-Request
Identifier: 121
Attributes:
User-Name = "justice"
User-Password = ******
NAS-Port = 22
Livingston = "test"
NAS-IP-Address = 1.1.1.1
Thu Oct 5 19:18:54 2000: DEBUG: Handling request with Handler 'Realm=DEFAULT'
Thu Oct 5 19:18:54 2000: DEBUG: Deleting session for justice, 1.1.1.1, 22
Thu Oct 5 19:18:54 2000: DEBUG: Handling with Radius::AuthSQL
Thu Oct 5 19:18:54 2000: DEBUG: Handling with Radius::AuthSQL
Thu Oct 5 19:18:54 2000: DEBUG: Query is: select ENCRYPTEDPASSWORD, CHECKATTR,
REPLYATTR from SUBSCRIBERS where USERNAME='justice'
Thu Oct 5 19:18:54 2000: DEBUG: Radius::AuthSQL looks for match with justice
Thu Oct 5 19:18:54 2000: DEBUG: Radius::AuthSQL ACCEPT:
Thu Oct 5 19:18:54 2000: DEBUG: Access accepted for justice
Thu Oct 5 19:18:54 2000: WARNING: No such attribute PoolHint
Thu Oct 5 19:18:54 2000: DEBUG: Packet dump:
*** Sending to 127.0.0.1 port 1026 ....
Code: Access-Accept
Identifier: 121
Authentic: *********
Attributes:
PoolHint = pool1
Service-Type = Framed-User
Framed-Protocol = PPP
Framed-Routing = None
Framed-MTU = 1500
Framed-Compression = Van-Jacobson-TCP-IP
He's what appear on the radius.conf:
<ClientListSQL>
DBSource dbi:mysql:radiator:db
DBUsername radiator
DBAuth ******
</ClientListSQL>
<AddressAllocator SQL>
Identifier myallocator
#
DBSource dbi:mysql:radiator:db
DBUsername radiator
DBAuth *****
DefaultLeasePeriod 86400
<AddressPool pool1>
Subnetmask 255.255.255.0
Range 10.1.1.1 10.1.1.254
</AddressPool>
<AddressPool pool2>
Subnetmask 255.255.255.0
Range 10.1.2.1 10.1.2.254
</AddressPool>
</AddressAllocator>
<Realm DEFAULT>
<AuthBy SQL>
DBSource dbi:mysql:radiator:db
DBUsername radiator
DBAuth ******
AuthSelect select ENCRYPTEDPASSWORD, CHECKATTR, REPLYATTR \
from SUBSCRIBERS where USERNAME='%n'
AuthColumnDef 0, Encrypted-Password, check
AuthColumnDef 1, GENERIC, check
AuthColumnDef 2, GENERIC, reply
#
</AuthBy>
<AuthBy DYNADDRESS>
Allocator myallocator
StripFromReply PoolHint
</AuthBy>
AcctLogFileName %L/detail
</Realm>
Thanks in advance!
Jaime
===
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.