Hello,
We had a problem with
Dynamic address allocator configuration. Our part of configuration file is
below:
------------------------------------------
# Accounting for Intranet
User
<Realm /intranet/i>
AuthByPolicy ContinueWhileAccept
<Realm /intranet/i>
AuthByPolicy ContinueWhileAccept
#Authenticate only,
accounting on another table
<AuthBy SQL>
DBSource DBI:ODBC:ispdb
DBUsername radius
DBAuth ********
Timeout 20
AuthSelect select password,checkattr,replyattr from view_users_radius where username='%n'
</AuthBy>
<AuthBy SQL>
DBSource DBI:ODBC:ispdb
DBUsername radius
DBAuth ********
Timeout 20
AuthSelect select password,checkattr,replyattr from view_users_radius where username='%n'
</AuthBy>
#Accounting
in another table
<AuthBy SQL>
DBSource DBI:ODBC:intranetdb
DBUsername radius
DBAuth ********
<AuthBy SQL>
DBSource DBI:ODBC:intranetdb
DBUsername radius
DBAuth ********
Timeout
20
AuthSelect
AccountingTable ACCOUNTING
AcctColumnDef USERNAME,User-Name
AcctColumnDef TIME_STAMP,Timestamp,formatted-date,convert (datetime,'%e/%m/%Y %H:%M:%S', 103)
AcctColumnDef FRAMEDIPADDRESS,Framed-IP-Address
AuthSelect
AccountingTable ACCOUNTING
AcctColumnDef USERNAME,User-Name
AcctColumnDef TIME_STAMP,Timestamp,formatted-date,convert (datetime,'%e/%m/%Y %H:%M:%S', 103)
AcctColumnDef FRAMEDIPADDRESS,Framed-IP-Address
..................... Some other
AcctColumnDefs
</AuthBy>
</AuthBy>
# AuthBy
DYNADDRESS
<AuthBy DYNADDRESS>
Allocator NetnamPool
PoolHint %{Reply:PoolHint}
StripFromReply PoolHint,Framed-IP-Netmask
<AuthBy DYNADDRESS>
Allocator NetnamPool
PoolHint %{Reply:PoolHint}
StripFromReply PoolHint,Framed-IP-Netmask
</AuthBy>
</Realm>
------------ End of
configuration
When someone dialup, he
was rejected by Radiator. I looked through log file and saw
that:
-
Radiator handled first AuthBy clause (athenticate only) with
accept,
- But when
it handled with second AuthBy clause (accounting only), it rejected with message
: " Access rejected, Authenticate disabled"
Then I have to
change AuthByPolicy= ContinueWhileAlways to make it work.
So any one can help me
solve this problem?
Thanks very
much
