How to find EAP session Id in Freeradius.
hi, i am using freeradius 1.1.7 and Fedora How to find EAP session Id in Freeradius. plz help me plz find the error log Thu Nov 26 23:03:14 2009 : Debug: rlm_eap: EAP packet type response id 76 length 6 Thu Nov 26 23:03:14 2009 : Debug: rlm_eap: No EAP Start, assuming it's an on-going EAP conversation Thu Nov 26 23:03:14 2009 : Debug: modsingle[authorize]: returned from eap (rlm_eap) for request 29 Thu Nov 26 23:03:14 2009 : Debug: modcall[authorize]: module "eap" returns updated for request 29 Thu Nov 26 23:03:14 2009 : Debug: modsingle[authorize]: calling mschap (rlm_mschap) for request 29 -- View this message in context: http://old.nabble.com/How-to-find-EAP-session-Id-in-Freeradius.-tp26540587p26540587.html Sent from the FreeRadius - User mailing list archive at Nabble.com. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
how to decode CHAP and MS-CHAP passwords
hi, i want to decode both(CHAP and MS-CHAP) passwords. why i want to do this is? i am sending username and password to java file to test authentication.there it is unable to understand that chap and ms-cahp encrypted data. before going to java file i will decode and convert to plain-text .so that java file can understand. plz help me -- View this message in context: http://old.nabble.com/how-to-decode-CHAP-and-MS-CHAP-passwords-tp26525242p26525242.html Sent from the FreeRadius - User mailing list archive at Nabble.com. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Module not invoking for CHAP authentication
hi, i am using freeradius 2.1.6 and soalris 10. i created one module like rlm_radius. This module does authenticatin using java file which is resideds in Jboss server for PAP authentication it is working fine going to java file and checking the logic.but when i use CHAP authentication is shwoing segment fault see there the debug code Ready to process requests. rad_recv: Access-Request packet from host 10.232.163.145 port 1349, id=27, length=44 User-Name = "moto" User-Password = "shiva" +- entering group authorize {...} ++[preprocess] returns ok ++[chap] returns noop ++[mschap] returns noop [suffix] No '@' in User-Name = "moto", looking up realm NULL [suffix] No such realm "NULL" ++[suffix] returns noop [eap] No EAP-Message, not doing EAP ++[eap] returns noop ++[unix] returns notfound ++[files] returns noop ++[expiration] returns noop ++[logintime] returns noop [pap] WARNING! No "known good" password found for the user. Authentication may fail because of this. ++[pap] returns noop authorize ---login = 1 [radius] Send Access-Accept. ++[radius] returns handled Sending Access-Accept of id 27 to 10.232.163.145 port 1349 Reply-Message = "This is a challenge" State = 0x30 Finished request 0. Going to the next request Waking up in 4.9 seconds. Cleaning up request 0 ID 27 with timestamp +2 Ready to process requests. rad_recv: Access-Request packet from host 10.232.163.145 port 1350, id=28, length=45 User-Name = "moto" CHAP-Password = 0x60373d77e7cd68c4d46e937727c380d565 +- entering group authorize {...} ++[preprocess] returns ok [chap] Setting 'Auth-Type := CHAP' ++[chap] returns ok ++[mschap] returns noop [suffix] No '@' in User-Name = "moto", looking up realm NULL [suffix] No such realm "NULL" ++[suffix] returns noop [eap] No EAP-Message, not doing EAP ++[eap] returns noop ++[unix] returns notfound ++[files] returns noop ++[expiration] returns noop ++[logintime] returns noop [pap] WARNING! No "known good" password found for the user. Authentication may fail because of this. ++[pap] returns noop Segmentation Fault (core dumped) r...@nms-t1000-03:/ -- View this message in context: http://old.nabble.com/Module-not-invoking-for-CHAP-authentication-tp26432167p26432167.html Sent from the FreeRadius - User mailing list archive at Nabble.com. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
module invoking problem
hi , i am using freeradius 2.1.6 in solaris 10. i created one module like rlm_moto (this module comunictes with java file in jboss server)and configured in (sites-available/ ) default file in Authentication section case one: Authentication{ moto } like.. while sending request it is not invoking Authentication block in rlm_moto.c if i put authorize { moto } it is invoking Authorize block in rlm_moto.c here i need to check chap and MS-chap authentications. if i use chap authentication server going to stop +- entering group authorize {...} ++[preprocess] returns ok [chap] Setting 'Auth-Type := CHAP' ++[chap] returns ok ++[mschap] returns noop [suffix] No '@' in User-Name = "moto", looking up realm NULL [suffix] No such realm "NULL" ++[suffix] returns noop [eap] No EAP-Message, not doing EAP ++[eap] returns noop ++[unix] returns notfound ++[files] returns noop ++[expiration] returns noop ++[logintime] returns noop [pap] WARNING! No "known good" password found for the user. Authentication may fail because of this. ++[pap] returns noop Segmentation Fault (core dumped) .. case two: = Authentication{ moto } like.. while sending request it is not invoking Authentication block in rlm_moto.c if i put authorize { #moto } here it is showing [pap] WARNING! No "known good" password found for the user. Authentication may fail because of this. ++[pap] returns noop No authenticate method (Auth-Type) configuration found for the request: Rejecting the user Failed to authenticate the user. Using Post-Auth-Type Reject +- entering group REJECT {...} plz help me on this. did i do any wrong while configuring. -- View this message in context: http://old.nabble.com/module-invoking-problem-tp26421361p26421361.html Sent from the FreeRadius - User mailing list archive at Nabble.com. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
how to configure realm in freeradius
hi, sample configurations for realm in freeradius 2.1.6 regard;s shiv -- View this message in context: http://old.nabble.com/how-to-configure-realm-in-freeradius-tp26420475p26420475.html Sent from the FreeRadius - User mailing list archive at Nabble.com. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
chap authentication problem
hi, i am new to useing Freeradius 2.1.6 and soalris 10. users file entry "moto" Auth-Type := CHAP, Cleartext-Password := "shiva" Reply-Message = "Hello shiva , %u" and what about Auth-Type := MS-CHAP. trying chap authentication.but it is showing below as Listening on authentication address * port 1812 Listening on accounting address * port 1813 Listening on command file /usr/local/var/run/radiusd/radiusd.sock Listening on proxy address * port 1814 Ready to process requests. rad_recv: Access-Request packet from host 10.232.163.145 port 2752, id=59, length=45 User-Name = "moto" CHAP-Password = 0xc6ac71b724160513a51c515c755775e1af +- entering group authorize {...} ++[preprocess] returns ok [chap] Setting 'Auth-Type := CHAP' ++[chap] returns ok ++[mschap] returns noop [suffix] No '@' in User-Name = "moto", looking up realm NULL [suffix] No such realm "NULL" ++[suffix] returns noop [eap] No EAP-Message, not doing EAP ++[eap] returns noop ++[unix] returns notfound [files] users: Matched entry moto at line 93 ++[files] returns ok ++[expiration] returns noop ++[logintime] returns noop [pap] Found existing Auth-Type, not changing it. ++[pap] returns noop Segmentation Fault (core dumped) plz help me -- View this message in context: http://old.nabble.com/chap-authentication-problem-tp26420443p26420443.html Sent from the FreeRadius - User mailing list archive at Nabble.com. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
check username and password
hi how to check username and password in rlm_wipromodule(user-define) module. plz help -- View this message in context: http://www.nabble.com/check-username-and-password-tp25114745p25114745.html Sent from the FreeRadius - User mailing list archive at Nabble.com. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
invoke userdefine module
hi, i installed freeradius2.1.6 i added one user define module .. but i need to invoke this module..to test username and password. could u plz let me know how to invoke that userdefine module regardi's shiva shankar -- View this message in context: http://www.nabble.com/invoke-userdefine-module-tp25111274p25111274.html Sent from the FreeRadius - User mailing list archive at Nabble.com. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
radius server 2.1.6 not storing data in radacct table..help
hi, I have installed freeradius2.1.6 recently. Radius server was started successfully. But when i sent a packet using NTRadping its stored in file but not writing in oracle. when i run radiusd-X --few lines here -- [sql] expand: %{User-Name} -> free [sql] sql_set_user escaped user --> 'free' [sql] expand: INSERT into radacct (RadAcctId, AcctSessionId, AcctUniqueId, UserName, Realm, NASIPAddress, NASPortId, NASPortType, AcctStartTime, AcctStopTime, AcctSessionTime, AcctAuthentic, ConnectInfo_start, ConnectInfo_stop, AcctInputOctets, AcctOutputOctets, CalledStationId, CallingStationId, AcctTerminateCause, ServiceType, FramedProtocol, FramedIPAddress, AcctStartDelay, AcctStopDelay, XAscendSessionSvrKey) VALUES('', '%{Acct-Session-Id}', '%{Acct-Unique-Session-Id}', '%{SQL-User-Name}', '%{Realm}', '%{NAS-IP-Address}', '%{NAS-Port-Id}', '%{NAS-Port-Type}', TO_DATE('%S','-mm-dd hh24:mi:ss'), NULL, '0', '%{Acct-Authentic}', '%{Connect-Info}', '', '0', '0', '%{Called-Station-Id}', '%{Calling-Station-Id}', '', '%{Service-Type}', '%{Framed-Protocol}', '%{Framed-IP-Address}', '%{Acct-Delay-Time}', '0', '%{X-Ascend-Session-Svr-Key}') -> INSERT into radacct (RadAcctId, AcctSessionId, AcctUniqueId, UserName, Realm, NASIPAddress, NASPortId, NASPortType, AcctStartTime, AcctStopTime, AcctSessionTime, AcctAu rlm_sql (sql): Reserving sql socket id: 3 rlm_sql_oracle: execute query failed in sql_query: ORA-01400: cannot insert NULL into ("RADIUSUSER"."RADACCT"."GROUPNAME") rlm_sql_oracle: OCI_SERVER_NORMAL [sql] Couldn't insert SQL accounting START record - ORA-01400: cannot insert NULL into ("RADIUSUSER"."RADACCT"."GROUPNAME") [sql] WARNING: Deprecated conditional expansion ":-". See "man unlang" for details in radacct table we have GROUPNAME is not null.. i entered data in all tables except radgroupcheck table. i need to enter data in this table also. plz help me. -- View this message in context: http://www.nabble.com/radius-server-2.1.6-not-storing-data-in-radacct-table..help-tp25075955p25075955.html Sent from the FreeRadius - User mailing list archive at Nabble.com. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
freeradius with oracle
hi , when i run radiusd -X facing below problem. Could not link driver rlm_sql_oracle: ld.so.1: radiusd: fatal: rlm_sql_oracle.so Make sure it (and all its dependent libraries!) are in the search path of your s /usr/local/etc/raddb/sql.conf[22]: Instantiation failed for module "sql" /usr/local/etc/raddb/sites-enabled/default[161]: Failed to find module "sql". /usr/local/etc/raddb/sites-enabled/default[62]: Errors parsing authorize section Errors initializing modules when i do googlin i found = $ vi src/modules/rlm_sql/drivers/rlm_sql_oracle/Makefile Set TARGET = rlm_sql_oracle, and edit the CFLAGS && LDFLAGS lines to ave the appropriate values: -I/opt/oracle/instantclient_11_1/sdk/include, and -L /opt/oracle/instantclient_11_1/ -loracle (?) After than, cd to the directory, and type "make". Alan DeKok = but i don;t have instantclient_11_1/sdk/include directry struction in opt/oracle. plz help -- View this message in context: http://www.nabble.com/freeradius-with-oracle-tp25059683p25059683.html Sent from the FreeRadius - User mailing list archive at Nabble.com. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Freeradius with jradius
hi , i configured Jradius with Freeradius. but i don't know how to wirte java code and compile in jradius. is any doucment.? could u plz help. . Regard's shiva shankar -- View this message in context: http://www.nabble.com/Freeradius-with-jradius-tp24931286p24931286.html Sent from the FreeRadius - User mailing list archive at Nabble.com. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
convert redius request to soap request
hi , give me assistence i new to freeradius how to convert radius request to SOAP request. is there any way to do this... -- View this message in context: http://www.nabble.com/convert-redius-request-to-soap-request-tp24911693p24911693.html Sent from the FreeRadius - User mailing list archive at Nabble.com. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
rlm_sql module won't compile under Solaris 10
hi, i am using Freeradius 2.1.6. gcc -shared -Wl,-h -Wl,rlm_sql_mysql-2.1.6.so -o .libs/rlm_sql_mysql-2.1.6.so .libs/sql_mysql.o -L/opt/mysql/mysql/lib -lmysqlclient_r -lz -lposix4 -lresolv -lgen -lsocket -lnsl -lm -lpthread -lthread -lc -m64 ld: fatal: file .libs/sql_mysql.o: wrong ELF class: ELFCLASS32 ld: fatal: File processing errors. No output written to .libs/rlm_sql_mysql-2.1.6.so collect2: ld returned 1 exit status gmake[10]: *** [rlm_sql_mysql.la] Error 1 gmake[10]: Leaving directory `/opt/packages/freeradius-server-2.1.6/src/modules/rlm_sql/drivers/rlm_sql_mysql' gmake[9]: *** [common] Error 2:,( -- View this message in context: http://www.nabble.com/rlm_sql-module-won%27t-compile-under-Solaris-10-tp24858941p24858941.html Sent from the FreeRadius - User mailing list archive at Nabble.com. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
gmake giving --------ld: fatal: file .libs/sql_mysql.o: wrong ELF class: ELFCLASS32
hi, i using freeradius 2.1.7 while gmake ..i am getting gcc -shared -Wl,-h -Wl,rlm_sql_mysql-2.1.6.so -o .libs/rlm_sql_mysql-2.1.6.so .libs/sql_mysql.o -L/opt/mysql/mysql/lib -lmysqlclient_r -lz -lposix4 -lresolv -lgen -lsocket -lnsl -lm -lpthread -lthread -lc -m64 ld: fatal: file .libs/sql_mysql.o: wrong ELF class: ELFCLASS32 ld: fatal: File processing errors. No output written to .libs/rlm_sql_mysql-2.1.6.so collect2: ld returned 1 exit status gmake[10]: *** [rlm_sql_mysql.la] Error 1 gmake[10]: Leaving directory `/opt/packages/freeradius-server-2.1.6/src/modules/rlm_sql/drivers/rlm_sql_mysql' gmake[9]: *** [common] Error 2 :,( - -- - -- View this message in context: http://www.nabble.com/gmake-giving-ld%3A-fatal%3A-file-.libs-sql_mysql.o%3A-wrong-ELF-class%3A-ELFCLASS32-tp24858922p24858922.html Sent from the FreeRadius - User mailing list archive at Nabble.com. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
reinstalling freeradius .............while gmake giveing problme
hi , i installed freeradius 2.1.6 on solaris 10 and i installed and configure mysql5.0.. now it workign fine . second time when i am tring to install freeradius2.1.6. i am facing below problem while gmake. see below error. help me did i do any mistake gmake[6]: Leaving directory `/opt/packages/freeradius-server-2.1.6/src/modules/rlm_preprocess' Making all in rlm_python... gmake[6]: Entering directory `/opt/packages/freeradius-server-2.1.6/src/modules/rlm_python' for x in .libs/* rlm_python.la; do \ rm -rf /opt/packages/freeradius-server-2.1.6/src/modules/lib/$x; \ ln -s /opt/packages/freeradius-server-2.1.6/src/modules/rlm_python/$x /opt/packages/freeradius-server-2.1.6/src/modules/lib/$x; \ done gmake[6]: Leaving directory `/opt/packages/freeradius-server-2.1.6/src/modules/rlm_python' Making all in rlm_radutmp... gmake[6]: Entering directory `/opt/packages/freeradius-server-2.1.6/src/modules/rlm_radutmp' for x in .libs/* rlm_radutmp.la; do \ rm -rf /opt/packages/freeradius-server-2.1.6/src/modules/lib/$x; \ ln -s /opt/packages/freeradius-server-2.1.6/src/modules/rlm_radutmp/$x /opt/packages/freeradius-server-2.1.6/src/modules/lib/$x; \ done gmake[6]: Leaving directory `/opt/packages/freeradius-server-2.1.6/src/modules/rlm_radutmp' Making all in rlm_realm... gmake[6]: Entering directory `/opt/packages/freeradius-server-2.1.6/src/modules/rlm_realm' for x in .libs/* rlm_realm.la; do \ rm -rf /opt/packages/freeradius-server-2.1.6/src/modules/lib/$x; \ ln -s /opt/packages/freeradius-server-2.1.6/src/modules/rlm_realm/$x /opt/packages/freeradius-server-2.1.6/src/modules/lib/$x; \ done gmake[6]: Leaving directory `/opt/packages/freeradius-server-2.1.6/src/modules/rlm_realm' Making all in rlm_sql... gmake[6]: Entering directory `/opt/packages/freeradius-server-2.1.6/src/modules/rlm_sql' gmake[7]: Entering directory `/opt/packages/freeradius-server-2.1.6/src/modules/rlm_sql' Making all in drivers... gmake[8]: Entering directory `/opt/packages/freeradius-server-2.1.6/src/modules/rlm_sql/drivers' /usr/sfw/bin/gmake -w WHAT_TO_MAKE=all common gmake[9]: Entering directory `/opt/packages/freeradius-server-2.1.6/src/modules/rlm_sql/drivers' Making all in rlm_sql_iodbc... gmake[10]: Entering directory `/opt/packages/freeradius-server-2.1.6/src/modules/rlm_sql/drivers/rlm_sql_iodbc' gmake[10]: Nothing to be done for `all'. gmake[10]: Leaving directory `/opt/packages/freeradius-server-2.1.6/src/modules/rlm_sql/drivers/rlm_sql_iodbc' Making all in rlm_sql_mysql... gmake[10]: Entering directory `/opt/packages/freeradius-server-2.1.6/src/modules/rlm_sql/drivers/rlm_sql_mysql' /opt/packages/freeradius-server-2.1.6/libtool --mode=link gcc -release 2.1.6 \ -module -export-dynamic -o rlm_sql_mysql.la \ -rpath /usr/local/lib sql_mysql.lo -m64 -L/opt/mysql/mysql/lib -lmysqlclient_r -lz -lpthread -lthread -lposix4 -lresolv -lgen -lsocket -lnsl -lm -lpthread -lthread gcc -shared -Wl,-h -Wl,rlm_sql_mysql-2.1.6.so -o .libs/rlm_sql_mysql-2.1.6.so .libs/sql_mysql.o -L/opt/mysql/mysql/lib -lmysqlclient_r -lz -lposix4 -lresolv -lgen -lsocket -lnsl -lm -lpthread -lthread -lc -m64 ld: fatal: file .libs/sql_mysql.o: wrong ELF class: ELFCLASS32 ld: fatal: File processing errors. No output written to .libs/rlm_sql_mysql-2.1.6.so collect2: ld returned 1 exit status gmake[10]: *** [rlm_sql_mysql.la] Error 1 gmake[10]: Leaving directory `/opt/packages/freeradius-server-2.1.6/src/modules/rlm_sql/drivers/rlm_sql_mysql' gmake[9]: *** [common] Error 2 gmake[9]: Leaving directory `/opt/packages/freeradius-server-2.1.6/src/modules/rlm_sql/drivers' gmake[8]: *** [all] Error 2 gmake[8]: Leaving directory `/opt/packages/freeradius-server-2.1.6/src/modules/rlm_sql/drivers' gmake[7]: *** [common] Error 2 gmake[7]: Leaving directory `/opt/packages/freeradius-server-2.1.6/src/modules/rlm_sql' gmake[6]: *** [build-module] Error 2 gmake[6]: Leaving directory `/opt/packages/freeradius-server-2.1.6/src/modules/rlm_sql' gmake[5]: *** [common] Error 2 gmake[5]: Leaving directory `/opt/packages/freeradius-server-2.1.6/src/modules' gmake[4]: *** [all] Error 2 gmake[4]: Leaving directory `/opt/packages/freeradius-server-2.1.6/src/modules' gmake[3]: *** [common] Error 2 gmake[3]: Leaving directory `/opt/packages/freeradius-server-2.1.6/src' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/opt/packages/freeradius-server-2.1.6/src' gmake[1]: *** [common] Error 2 gmake[1]: Leaving directory `/opt/packages/freeradius-server-2.1.6' -- View this message in context: http://www.nabble.com/reinstalling-freeradius-.while-gmake-giveing-problme-tp24841049p24841049.html Sent from the FreeRadius - User mailing list archive at Nabble.com. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
unable to connection freeradius with mysql
hi i am useing freeradius2.1.6 and mysql5.0 on solaris10. when ever i start the server radiusd -X . i am getting below problem. i think it is not connected to mysql.plz help me how to connect Note: i changed sql.conf site-available/defaults radiusd.conf ... . Error showing below === Module: Instantiating sql sql { driver = "rlm_sql_mysql" server = "localhost" port = "" login = "radius" password = "welcome" radius_db = "radius" read_groups = yes sqltrace = no sqltracefile = "/usr/local/var/log/radius/sqltrace.sql" readclients = no deletestalesessions = yes num_sql_socks = 5 lifetime = 0 max_queries = 0 sql_user_name = "%{User-Name}" default_user_profile = "" nas_query = "SELECT id, nasname, shortname, type, secret FROM nas" authorize_check_query = "SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id" authorize_reply_query = "SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id" authorize_group_check_query = "SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{Sql-Group}' ORDER BY id" authorize_group_reply_query = "SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{Sql-Group}' ORDER BY id" accounting_onoff_query = " UPDATE radacct SET acctstoptime = '%S', acctsessiontime= unix_timestamp('%S') - unix_timestamp(acctstarttime), acctterminatecause = '%{Acct-Terminate-Cause}', acctstopdelay = %{%{Acct-Delay-Time}:-0} WHERE acctstoptime IS NULL AND nasipaddress = '%{NAS-IP-Address}' AND acctstarttime <= '%S'" accounting_update_query = " UPDATE radacct SET framedipaddress = '%{Framed-IP-Address}', acctsessiontime = '%{Acct-Session-Time}', acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets= '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE acctsessionid = '%{Acct-Session-Id}' AND username= '%{SQL-User-Name}' AND nasipaddress= '%{NAS-IP-Address}'" accounting_update_query_alt = " INSERT INTO radacct (acctsessionid,acctuniqueid, username, realm, nasipaddress, nasportid, nasporttype, acctstarttime, acctsessiontime, acctauthentic,connectinfo_start, acctinputoctets, acctoutputoctets, calledstationid, callingstationid, servicetype, framedprotocol, framedipaddress, acctstartdelay, xascendsessionsvrkey) VALUES ('%{Acct-Session-Id}', '%{Acct-Unique-Session-Id}', '%{SQL-User-Name}', '%{Realm}', '%{NAS-IP-Address}', '%{NAS-Port}', '%{NAS-Port-Type}', DATE_SUB('%S', INTERVAL (%{%{Acct-Session-Time}:-0} + %{%{Acct-Delay-Time}:-0}) SECOND), '%{Acct-Session-Time}', '%{Acct-Authentic}', '', '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}', '%{Called-Station-Id}', '%{Calling-Station-Id}', '%{Service-Type}', '%{Framed-Protocol}', '%{Framed-IP-Address}', '0', '%{X-Ascend-Session-Svr-Key}')" accounting_start_query = " INSERT INTO radacct (acctsessionid,acctuniqueid, username, realm, nasipaddress, nasportid, nasporttype, acctstarttime, acctstoptime, acctsessiontime, acctauthentic, connectinfo_start, connectinfo_stop, acctinputoctets, acctoutputoctets, calledstationid, callingstationid, acctterminatecause, servicetype, framedprotocol, framedipaddress, acctstartdelay, acctstopdelay, xascendsessionsvrkey) VALUES ('%{Acct-Session-Id}', '%{Acct-Unique-Session-Id}', '%{SQL-User-Name}', '%{Realm}', '%{NAS-IP-Address}', '%{NAS-Port}', '%{NAS-Port-Type}', '%S', NULL, '0', '%{Acct-Authentic}', '%{Connect-Info}', '', '0', '0',
bootstrap problem
hi, i am using Freeradius2.1.6 bash-3.00# /usr/local/etc/raddb/certs/bootstrap sh: test: argument expected *** Error code 1 The following command caused the error: if [ -e /dev/urandom ] ; then \ dd if=/dev/urandom of=./random count=10 >/dev/null 2>&1; \ else \ date > ./random; \ fi make: Fatal error: Command failed for target `random' Generating DH parameters, 1024 bit long safe prime, generator 2 This is going to take a long time +... ..+. +.+. .+.+.+.. -- View this message in context: http://www.nabble.com/bootstrap-problem-tp24752354p24752354.html Sent from the FreeRadius - User mailing list archive at Nabble.com. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
/usr/local/sbin/radiusd -X problem
hi All, i am using freeradius2.1.6 on solaris 10 when i run server i am getting following error bash-3.00# /usr/local/sbin/radiusd -X FreeRADIUS Version 2.1.6, for host sparc-sun-solaris2.10, built on Jul 30 2009 at 20:25:20 Copyright (C) 1999-2009 The FreeRADIUS server project and contributors. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. You may redistribute copies of FreeRADIUS under the terms of the GNU General Public License v2. Starting - reading configuration files ... including configuration file /usr/local/etc/raddb/radiusd.conf including configuration file /usr/local/etc/raddb/proxy.conf including configuration file /usr/local/etc/raddb/clients.conf including files in directory /usr/local/etc/raddb/modules/ including configuration file /usr/local/etc/raddb/modules/acct_unique including configuration file /usr/local/etc/raddb/modules/always including configuration file /usr/local/etc/raddb/modules/attr_filter including configuration file /usr/local/etc/raddb/modules/attr_rewrite including configuration file /usr/local/etc/raddb/modules/chap including configuration file /usr/local/etc/raddb/modules/checkval including configuration file /usr/local/etc/raddb/modules/counter including configuration file /usr/local/etc/raddb/modules/detail including configuration file /usr/local/etc/raddb/modules/detail.example.com including configuration file /usr/local/etc/raddb/modules/detail.log including configuration file /usr/local/etc/raddb/modules/digest including configuration file /usr/local/etc/raddb/modules/echo including configuration file /usr/local/etc/raddb/modules/etc_group including configuration file /usr/local/etc/raddb/modules/exec including configuration file /usr/local/etc/raddb/modules/expiration including configuration file /usr/local/etc/raddb/modules/expr including configuration file /usr/local/etc/raddb/modules/files including configuration file /usr/local/etc/raddb/modules/inner-eap including configuration file /usr/local/etc/raddb/modules/ippool including configuration file /usr/local/etc/raddb/modules/krb5 including configuration file /usr/local/etc/raddb/modules/ldap including configuration file /usr/local/etc/raddb/modules/linelog including configuration file /usr/local/etc/raddb/modules/logintime including configuration file /usr/local/etc/raddb/modules/mac2ip including configuration file /usr/local/etc/raddb/modules/mac2vlan including configuration file /usr/local/etc/raddb/modules/otp including configuration file /usr/local/etc/raddb/modules/mschap including configuration file /usr/local/etc/raddb/modules/pam including configuration file /usr/local/etc/raddb/modules/pap including configuration file /usr/local/etc/raddb/modules/passwd including configuration file /usr/local/etc/raddb/modules/perl including configuration file /usr/local/etc/raddb/modules/policy including configuration file /usr/local/etc/raddb/modules/preprocess including configuration file /usr/local/etc/raddb/modules/radutmp including configuration file /usr/local/etc/raddb/modules/realm including configuration file /usr/local/etc/raddb/modules/smbpasswd including configuration file /usr/local/etc/raddb/modules/smsotp including configuration file /usr/local/etc/raddb/modules/sql_log including configuration file /usr/local/etc/raddb/modules/sqlcounter_expire_on_login including configuration file /usr/local/etc/raddb/modules/sradutmp including configuration file /usr/local/etc/raddb/modules/unix including configuration file /usr/local/etc/raddb/modules/wimax including configuration file /usr/local/etc/raddb/eap.conf including configuration file /usr/local/etc/raddb/policy.conf including files in directory /usr/local/etc/raddb/sites-enabled/ including configuration file /usr/local/etc/raddb/sites-enabled/default including configuration file /usr/local/etc/raddb/sites-enabled/inner-tunnel including configuration file /usr/local/etc/raddb/sites-enabled/control-socket including dictionary file /usr/local/etc/raddb/dictionary main { prefix = "/usr/local" localstatedir = "/usr/local/var" logdir = "/usr/local/var/log/radius" libdir = "/usr/local/lib" radacctdir = "/usr/local/var/log/radius/radacct" hostname_lookups = no max_request_time = 30 cleanup_delay = 5 max_requests = 1024 allow_core_dumps = no pidfile = "/usr/local/var/run/radiusd/radiusd.pid" checkrad = "/usr/local/sbin/checkrad" debug_level = 0 proxy_requests = yes log { stripped_names = no auth = no auth_badpass = no auth_goodpass = no } security { max_attributes = 200 reject_delay = 1 status_server = yes } } radiusd: Loading Realms and Home Servers proxy server { retry_delay = 5 retry_count = 3 default_fallback = no dead_time = 120 wake_all_if_all_dead = no } home_server localhost {
configure
hi i am facing following problem.plz help me freeradisu 2.1.6 on solaris10 bash-3.00# ./configure checking for gcc... gcc checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details. -- View this message in context: http://www.nabble.com/configure-tp24718654p24718654.html Sent from the FreeRadius - User mailing list archive at Nabble.com. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
mysqld connecting problem
hi, miboss3# /usr/sfw/sbin/mysqld Fatal error: Please read "Security" section of the manual to find out how to run mysqld as root! 090723 7:23:37 Aborting 090723 7:23:37 /usr/sfw/sbin/mysqld: Shutdown Complete please help me -- View this message in context: http://www.nabble.com/mysqld-connecting-problem-tp24620450p24620450.html Sent from the FreeRadius - User mailing list archive at Nabble.com. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
how to add new modules(like java) to freeradius
hi all, how to add new modules(like java) to freeradius2.1.6 with simple java module . plz help me out. thax for advace -- View this message in context: http://www.nabble.com/how-to-add-new-modules%28like-java%29-to-freeradius-tp24564098p24564098.html Sent from the FreeRadius - User mailing list archive at Nabble.com. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
radiusd -X problem
hi, when i run freeradius in solaris10 i am facing below problem miboss3# /usr/local/sbin/radiusd -x ld.so.1: radiusd: fatal: libgcc_s.so.1: open failed: No such file or directory Killed -- View this message in context: http://www.nabble.com/radiusd--X-problem-tp24532174p24532174.html Sent from the FreeRadius - User mailing list archive at Nabble.com. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Maximum number of instances of a package already met message while using pkgadd
hi, while i am running pkgadd -d gcc-3.2* showing Maximum number of instances of a package already met message while using pkgadd thax for advance -- View this message in context: http://www.nabble.com/Maximum-number-of-instances-of-a-package-already-met-message-while-using-pkgadd-tp24532137p24532137.html Sent from the FreeRadius - User mailing list archive at Nabble.com. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
how to get connection with server
i installed freeradius 2.1.6 on solaris10. i am unable to start the server.when ever i type the radiusd -X it is saying command not found. plz help me -- View this message in context: http://www.nabble.com/how-to-get-connection-with-server-tp24528569p24528569.html Sent from the FreeRadius - User mailing list archive at Nabble.com. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
./configure
hi all, this is shiva shankar. when i am isntalling freeradius-server-2.1.6 on solaris10. it is showing some warnings. plz help me out how to remove those warining miboss3:root$./configure >log.txt configure: WARNING: snmpget not found - Simultaneous-Use and checkrad.pl may not work configure: WARNING: snmpwalk not found - Simultaneous-Use and checkrad.pl may not work configure: WARNING: pcap library not found, silently disabling the RADIUS sniffer. config.status: WARNING: ./Make.inc.in seems to ignore the --datarootdir setting config.status: WARNING: ./src/include/build-radpaths-h.in seems to ignore the --datarootdir setting configure: WARNING: silently not building rlm_counter. configure: WARNING: FAILURE: rlm_counter requires: libgdbm. configure: WARNING: silently not building rlm_eap_ikev2. configure: WARNING: FAILURE: rlm_eap_ikev2 requires: libeap-ikev2 EAPIKEv2/connector.h. configure: WARNING: silently not building rlm_eap_peap. configure: WARNING: FAILURE: rlm_eap_peap requires: OpenSSL. configure: WARNING: silently not building rlm_eap_tls. configure: WARNING: FAILURE: rlm_eap_tls requires: OpenSSL. configure: WARNING: the TNCS library isn't found! configure: WARNING: silently not building rlm_eap_tnc. configure: WARNING: FAILURE: rlm_eap_tnc requires: -lTNCS. configure: WARNING: silently not building rlm_eap_ttls. configure: WARNING: FAILURE: rlm_eap_ttls requires: OpenSSL. configure: WARNING: silently not building rlm_ippool. configure: WARNING: FAILURE: rlm_ippool requires: libgdbm. configure: WARNING: neither krb5 'k5crypto' nor 'crypto' libraries are found! configure: WARNING: the comm_err library isn't found! configure: WARNING: silently not building rlm_krb5. configure: WARNING: FAILURE: rlm_krb5 requires: krb5.h. configure: WARNING: silently not building rlm_ldap. configure: WARNING: FAILURE: rlm_ldap requires: libldap_r. configure: WARNING: silently not building rlm_otp. configure: WARNING: FAILURE: rlm_otp requires: openssl-libs openssl-includes openssl-includes openssl-includes openssl-includes openssl-includes. configure: WARNING: silently not building rlm_perl. configure: WARNING: FAILURE: rlm_perl requires: EXTERN.h perl.h libperl.so. configure: WARNING: silently not building rlm_sql_iodbc. configure: WARNING: FAILURE: rlm_sql_iodbc requires: libiodbc isql.h. configure: WARNING: MySQL libraries not found. Use --with-mysql-lib-dir=. configure: WARNING: silently not building rlm_sql_mysql. configure: WARNING: FAILURE: rlm_sql_mysql requires: libmysqlclient_r. configure: WARNING: oracle headers not found. Use --with-oracle-home-dir=. configure: WARNING: silently not building rlm_sql_oracle. configure: WARNING: FAILURE: rlm_sql_oracle requires: oci.h. configure: WARNING: silently not building rlm_sql_unixodbc. configure: WARNING: FAILURE: rlm_sql_unixodbc requires: libodbc sql.h. i set path like this /usr/sbin :/usr/bin: /usr/local/bin :/usr/local/ssl/bin: /usr/ccs/bin :/usr/sfw/bin plz help me out.it is orgent for me. thax for advance -- View this message in context: http://www.nabble.com/.-configure-tp24497117p24497117.html Sent from the FreeRadius - User mailing list archive at Nabble.com. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html