[RADIATOR] Problem Can't locate object method "new" via package "Radius::AuthWIMAX
Augusto Cabrera
acabrera at etapa.net.ec
Wed Apr 27 12:34:18 CDT 2011
Hi thank you very much for your help, I'm installing a
radiator new server on AIX 5.3 and when
radius.cfg run I have the following error.
Can't locate object method "new" via package "Radius::AuthWIMAX" at /usr/opt/perl5/lib/site_perl/5.8.2/Radius/Configurable.pm line 450, <CONFIG> line 149.
my configuration file is:radius.cfg
<Client 10.1.1.1>
Secret wimaxwimax
Identifier ClienteWimax
DupInterval 5
</Client>
###############################################################################################
################################################################################################<Handler TunnelledByTTLS=1>
# Implement MS Revocation List using a table in the SQL database
# Other modules such as SQl can be used. Required by Alcatel-Lucent
<AuthBy WIMAX>
Identifier AAA-WIMAX
# Details for accessing the SQL database that contains
# user/device passwords, Device-Sessions etc.
# This should match the username created in wimax.sql
DBSource dbi:mysql:wimax:localhost
DBUsername mikemdfg
DBAuth freddfgds
# WiMAX is required to handle at least TTLS
# We can handle any tpe that generates MSK and EMSK
EAPType TTLS, TLS, PEAP, MSCHAP-V2, PSK, PAX, FAST, SIM, AKA
EAPTLS_CAFile /etc/ssl/cert1/Rootcacert.pem
EAPTLS_CertificateFile /etc/ssl/cert1/Servercert.pem
EAPTLS_CertificateType PEM
EAPTLS_PrivateKeyFile /etc/ssl/cert1/Serverkey.pem
EAPTLS_PrivateKeyPassword 12345678 EAPTLS_MaxFragmentSize 1400 HAPassword mysecret # AcctSQLStatement the same as AuthBy SQL
AccountingTable ACCOUNTING AcctColumnDef STATUS_TYPE,Acct-Status-Type
AcctColumnDef WIMAX_BEGINNING_OF_SESSION,WiMAX-Beginning-Of-Session
AcctColumnDef SESSION_ID,Acct-Session-Id
AcctColumnDef FRAMED_IP_ADDRESS,Framed-IP-Address
AcctColumnDef NAI,User-Name
AcctColumnDef USER_NAME,Chargeable-User-Identity
AcctColumnDef TERMINATE_CAUSE,Acct-Terminate-Cause </AuthBy>
</Handler>#############################################################################################
# This works with the sample SQL tables created by
# goodies/wimax.sql
# test with goodies/wimaxtest as a simple test client
<Handler Client-Identifier=ClienteWimax, Realm=usbwimax>
# Implement MS Revocation List using a table in the SQL database
# Other modules such as SQl can be used. Required by Alcatel-Lucent
<AuthBy GROUP>
AuthByPolicy ContinueWhileAccept
<AuthBy SQL>
# Details for accessing the SQL database that contains
# user/device passwords, Device-Sessions etc.
# This should match the username created in wimax.sql
DBSource dbi:mysql:wimax:localhost
DBUsername mikemsdfsd
DBAuth fredsdfg
NoEAP
Blacklist
AuthenticateAttribute Calling-Station-Id
AuthSelect select reason from blacklist where nai=%0
</AuthBy>
<AuthBy WIMAX>
Identifier AAA-WIMAX
# Details for accessing the SQL database that contains
# user/device passwords, Device-Sessions etc.
# This should match the username created in wimax.sql
DBSource dbi:mysql:wimax:localhost
DBUsername mikemdfsddf
DBAuth freddsfsdd # WiMAX is required to handle at least TTLS
# We can handle any tpe that generates MSK and EMSK
EAPType TTLS, TLS, PEAP, MSCHAP-V2, PSK, PAX, FAST, SIM, AKA
EAPTLS_CAFile /etc/ssl/cert1/Rootcacert.pem
EAPTLS_CertificateFile /etc/ssl/cert1/Servercert.pem
EAPTLS_CertificateType PEM
EAPTLS_PrivateKeyFile /etc/ssl/cert1/Serverkey.pem
EAPTLS_PrivateKeyPassword 123452342
EAPTLS_MaxFragmentSize 1400
HAPassword mysecret
# You can add support for simple accounting using
# AcctSQLStatement the same as AuthBy SQL
AccountingTable ACCOUNTING
AcctColumnDef STATUS_TYPE,Acct-Status-Type
AcctColumnDef WIMAX_BEGINNING_OF_SESSION,WiMAX-Beginning-Of-Session
AcctColumnDef SESSION_ID,Acct-Session-Id
AcctColumnDef FRAMED_IP_ADDRESS,Framed-IP-Address
AcctColumnDef NAI,User-Name
AcctColumnDef USER_NAME,Chargeable-User-Identity
AcctColumnDef STATION_ID,Calling-Station-Id
AcctColumnDef OUTPUT_OCTETS,Acct-Output-Octets
AcctColumnDef TERMINATE_CAUSE,Acct-Terminate-Cause </AuthBy>
</AuthBy>
</Handler>
#######################################################################################################
#######################################################################################################
#######################################################################################################
#######################################################################################################
#######################################################################################################
#######################################################################################################
<Handler TunnelledByPEAP=1>
# Implement MS Revocation List using a table in the SQL database
# Other modules such as SQl can be used. Required by Alcatel-Lucent
AuthByPolicy ContinueUntilAccept
<AuthBy WIMAX>
Identifier AAA-WIMAX
# Details for accessing the SQL database that contains
# user/device passwords, Device-Sessions etc.
# This should match the username created in wimax.sql
DBSource dbi:mysql:wimax:localhost
DBUsername mikemsdfg
DBAuth fredsdfg
# WiMAX is required to handle at least TTLS
# We can handle any tpe that generates MSK and EMSK
EAPType TTLS, TLS, PEAP, MSCHAP-V2, PSK, PAX, FAST, SIM, AKA
EAPTLS_CAFile /etc/ssl/cert1/Rootcacert.pem
EAPTLS_CertificateFile /etc/ssl/cert1/Servercert.pem
EAPTLS_CertificateType PEM
EAPTLS_PrivateKeyFile /etc/ssl/cert1/Serverkey.pem
EAPTLS_PrivateKeyPassword 1234457 EAPTLS_MaxFragmentSize 1400 # Try to match a certificate CN against an attribute in the
AccountingTable ACCOUNTING AcctColumnDef STATUS_TYPE,Acct-Status-Type
AcctColumnDef WIMAX_BEGINNING_OF_SESSION,WiMAX-Beginning-Of-Session
AcctColumnDef SESSION_ID,Acct-Session-Id
AcctColumnDef FRAMED_IP_ADDRESS,Framed-IP-Address
AcctColumnDef NAI,User-Name
AcctColumnDef USER_NAME,Chargeable-User-Identity
AcctColumnDef STATION_ID,Calling-Station-Id
AcctColumnDef NAS_IDENTIFIER,NAS-Identifier
AcctColumnDef OUTPUT_OCTETS,Acct-Output-Octets
AcctColumnDef TERMINATE_CAUSE,Acct-Terminate-Cause </AuthBy>
</Handler>#######################################################################################################
#######################################################################################################
#######################################################################################################
#############################################################################################
# This works with the sample SQL tables created by
# goodies/wimax.sql
# test with goodies/wimaxtest as a simple test client
<Handler Client-Identifier=ClienteWimax, Realm=wimaxtest>
# Implement MS Revocation List using a table in the SQL database
# Other modules such as SQl can be used. Required by Alcatel-Lucent
<AuthBy GROUP>
AuthByPolicy ContinueWhileAccept
<AuthBy SQL>
# Details for accessing the SQL database that contains
# user/device passwords, Device-Sessions etc.
# This should match the username created in wimax.sql
DBSource dbi:mysql:wimax:localhost
DBUsername mikem
DBAuth fred
NoEAP
Blacklist
AuthenticateAttribute Calling-Station-Id
AuthSelect select reason from blacklist where nai=%0
</AuthBy>
<AuthBy WIMAX>
Identifier AAA-WIMAX
# Details for accessing the SQL database that contains
# user/device passwords, Device-Sessions etc.
# This should match the username created in wimax.sql
DBSource dbi:mysql:wimax:localhost
DBUsername mikemdfgs
DBAuth fredyyy # WiMAX is required to handle at least TTLS
# We can handle any tpe that generates MSK and EMSK
EAPType TTLS, TLS, PEAP, MSCHAP-V2, PSK, PAX, FAST, SIM, AKA
EAPTLS_CAFile /etc/ssl/cert1/Rootcacert.pem
EAPTLS_CertificateFile /etc/ssl/cert1/Servercert.pem
EAPTLS_CertificateType PEM
EAPTLS_PrivateKeyFile /etc/ssl/cert1/Serverkey.pem
EAPTLS_PrivateKeyPassword 12334535 EAPTLS_MaxFragmentSize 1400 HAPassword mysecret
# You can add support for simple accounting using
# AcctSQLStatement the same as AuthBy SQL
AccountingTable ACCOUNTING AcctColumnDef STATUS_TYPE,Acct-Status-Type
AcctColumnDef WIMAX_BEGINNING_OF_SESSION,WiMAX-Beginning-Of-Session
AcctColumnDef SESSION_ID,Acct-Session-Id
AcctColumnDef FRAMED_IP_ADDRESS,Framed-IP-Address
AcctColumnDef NAI,User-Name
AcctColumnDef USER_NAME,Chargeable-User-Identity
AcctColumnDef STATION_ID,Calling-Station-Id
AcctColumnDef NAS_IDENTIFIER,NAS-Identifier
AcctColumnDef TERMINATE_CAUSE,Acct-Terminate-Cause </AuthBy>
</AuthBy>
</Handler>
Thank you for your help.
Augusto
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.open.com.au/pipermail/radiator/attachments/20110427/492e04be/attachment-0001.html
More information about the radiator
mailing list