Hi...
My config is as follows...I am
can anybody tell why I am getting 691 error ( check password) when I am able
to authenticate with same password using radpwtst.
Your immediate help will be highly appreciated.....
Best Regards,
Mohammed AbdusSami
# configuration....
<Client 212.26.73.101>
Secret abcdefgh09876
DupInterval 0
</Client>
<Client DEFAULT>
Secret radiator567
DupInterval 0
</Client>
<AuthBy SQL>
Identifier Check_Logins
DBSource dbi:ODBC:radius
DBUsername radiator
DBAuth rad123456
AuthSelect select password from logins \
Where username='%n' and status=0
AccountingTable UsageOnlinehours
AcctColumnDef USERNAME,User-Name
AcctColumnDef TIME_STAMP,Timestamp,integer-date
AcctColumnDef ACCTSTATUSTYPE,Acct-Status-Type
AcctColumnDef ACCTDELAYTIME,Acct-Delay-Time,integer
AcctColumnDef ACCTINPUTOCTETS,Acct-Input-Octets
AcctColumnDef ACCTOUTPUTOCTETS,Acct-Output-Octets
AcctColumnDef ACCTSESSIONID,Acct-Session-Id
AcctColumnDef ACCTSESSIONTIME,Acct-Session-Time,integer
AcctColumnDef ACCTTERMINATECAUSE,Acct-Terminate-Cause
AcctColumnDef NASIDENTIFIER,NAS-Identifier
AcctColumnDef NASPORT,NAS-Port,integer
AcctColumnDef FRAMEDIPADDRESS,Framed-IP-Address
AddToReply PoolHint = login, \
Service-Type = Framed-User, \
Framed-Protocol = PPP, \
Session-Timeout = 18000, \
Idle-Timeout = 18000, \
Framed-Compression = Van-Jacobson-TCP-IP
</AuthBy>
# configure AuthBy SQL to check emails (Identifier Check_Emails)
<AuthBy SQL>
Identifier Check_Emails
DBSource dbi:ODBC:radius
DBUsername radiator
DBAuth rad123456
AuthSelect select password from Emails \
Where popname='%n' and status=0
AccountingTable EmailOnlinehours
AcctColumnDef USERNAME,User-Name
AcctColumnDef TIME_STAMP,Timestamp,integer-date
AcctColumnDef ACCTSTATUSTYPE,Acct-Status-Type
AcctColumnDef ACCTDELAYTIME,Acct-Delay-Time,integer
AcctColumnDef ACCTINPUTOCTETS,Acct-Input-Octets
AcctColumnDef ACCTOUTPUTOCTETS,Acct-Output-Octets
AcctColumnDef ACCTSESSIONID,Acct-Session-Id
AcctColumnDef ACCTSESSIONTIME,Acct-Session-Time,integer
AcctColumnDef ACCTTERMINATECAUSE,Acct-Terminate-Cause
AcctColumnDef NASIDENTIFIER,NAS-Identifier
AcctColumnDef NASPORT,NAS-Port,integer
AcctColumnDef FRAMEDIPADDRESS,Framed-IP-Address
AcctFailedLogFileName %D/missedaccounting
AddToReply PoolHint = email, \
Service-Type = Framed-User, \
Framed-Protocol = PPP, \
Session-Timeout = 18000, \
Idle-Timeout = 18000, \
Framed-Compression = Van-Jacobson-TCP-IP
</AuthBy>
# configure Realms (usernames will be of the form user@r1, or user@r2)
<Realm zajil.com>
AuthBy Check_Logins
</Realm>
<Realm zajil.net>
AuthBy Check_Emails
</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.