Auth type change when it called through asterisk.

2008-05-20 Thread johnson elangbam
Hi, I successfully done my authentication and authorization with the perl and digest with mix mode, and it reply access accept packets from the radius server. But when i tried to call through asterisk, the server again try to authenticate again and rejected. The auth type is turned into local

Re: How to activate the accounting sub section in perl script

2008-05-16 Thread johnson elangbam
>add perl to the accouting section in whatever virtual server you are running, >enable the accouting part in the perl config (in experimental.conf) and >ensure you have an accounting subroutine in your perl module >alan Hi, I am a new user in freeradius and this is my first time that I am con

How to activate the accounting sub section in perl script

2008-05-15 Thread johnson elangbam
hi, I am doing my AAA in perl script for radius 2.0.3, can anybody please tell how do I activate my accounting subsection in my perl program, I didn't find any execution of my queries in the accounting sub section in my perl script. With Regards, Johnson Elangbam - List info/subs

Thank you kalik

2008-05-13 Thread johnson elangbam
f this forum who are dedicated here to help solving the complex problem in a complicated environment, especially Evan Kalik who is much envolved, regarding my problems of not getting my digest attributes. Thanking you for your valuable time and consideration. With Regards, Johnson Elangbam -

Re: Can't get the value of 'Digest-User-name', 'Digest-Realm', 'Digest-Method', 'Digest-Uri', 'Digest-Nonce'.

2008-05-12 Thread johnson elangbam
>You are (again) sending a request without Digest-Attributes. Try sending >one with them. >Ivan Kalik >Kalik Informatika ISP hi, I check all the clients attributes and start sending the Digest attributes.. now the problem is I can't get those attributes in my perl code by accessing using RAD_

Re: Can't get the value of 'Digest-User-name', 'Digest-Realm', 'Digest-Method', 'Digest-Uri', 'Digest-Nonce', 'Digest-Response'

2008-05-07 Thread johnson elangbam
hi, I am using freeradius 2.0.3 with radiusclient-ng 0.5.6. I need to used the following attributes Digest-User-name', 'Digest-Realm', 'Digest-Method', 'Digest-Uri', 'Digest-Nonce', 'Digest-Response' into my perl code, to do my md5 calculation, unfortunately I can't get any of the values e

Re:Re Can't get the value of 'Digest-User-name', 'Digest-Realm', 'Digest-Method', 'Digest-Uri', 'Digest-Nonce', 'Digest-Response'

2008-05-06 Thread johnson elangbam
>Good. Now you are getting Digest-Attributes. Now uncomment digest entry >in authorize section of default or whatever virtual server is processing >this. Hi Kalik, As per your instruction I've uncommented all the digest entry in authorize and authenticate section in the sites-enabled/

Re:Re Can't get the value of 'Digest-User-name', 'Digest-Realm', 'Digest-Method', 'Digest-Uri', 'Digest-Nonce', 'Digest-Response'

2008-05-05 Thread johnson elangbam
>You are asking your questions on a wrong list. There is nothing you can >do on a radius server in order to get those attributes if radius client >is not sending Digest-Attributes. Direct your question to SER server >support. hi Kalik, After I've done some changes in dictionary of rad

Re:Re Can't get the value of 'Digest-User-name', 'Digest-Realm', 'Digest-Method', 'Digest-Uri', 'Digest-Nonce', 'Digest-Response'

2008-05-03 Thread johnson elangbam
>Your radius client is not sending Digest-Attributes. It's sending Ascend >VSAs. Read your NAS documentation how to set up digest authentication if >you want that. hi Kalik, I am really sorry to post again the same question, as per your instruction I have check all the clients configur

Re: Can't get the value of 'Digest-User-name', 'Digest-Realm', 'Digest-Method', 'Digest-Uri', 'Digest-Nonce', 'Digest-Response'

2008-05-02 Thread johnson elangbam
>Send a request with Digest-Attributes. hi Kalik, I've tried to called using Digest-Attributes in my perl code like this $dUserName= $RAD_REQUEST{'Digest-User-Name'}; $dRealm= $RAD_REQUEST{'Digest-Realm'}; $dMethod = $RAD_REQUEST{'Digest-Method'}

Re: Can't get the value of 'Digest-User-name', 'Digest-Realm', 'Digest-Method', 'Digest-Uri', 'Digest-Nonce', 'Digest-Response'

2008-05-02 Thread johnson elangbam
>No, there is a digest module in default radiusd.conf that should decode >the attributes. Post radiusd -X for request with Digest-Attributes. >Those attributes you want are not in the request - have you tried >$RAD_CHECK. hi Kalik, I've tried $RAD_CHECK but still i didn't get the va

Re: Can't get the value of 'Digest-User-name', 'Digest-Realm', 'Digest-Method', 'Digest-Uri', 'Digest-Nonce', 'Digest-Response'

2008-05-01 Thread johnson elangbam
>No, there is a digest module in default radiusd.conf that should decode >the attributes. Post radiusd -X for request with Digest-Attributes. >Those attributes you want are not in the request - have you tried >$RAD_CHECK. hi Kalik, I've tried $RAD_CHECK but it doesn't work, I've fou

Re: Can't get the value of 'Digest-User-name', 'Digest-Realm', 'Digest-Method', 'Digest-Uri', 'Digest-Nonce', 'Digest-Response'

2008-05-01 Thread johnson elangbam
> That's a pap request. Send a request with Digest-Attributes and you will >get digest attributes. hi, As advice by Ivan Kalik, I've tried sending the request with Digest-Attributes, unfortunately i didn't get any values from these attributes: 'Digest-User-name', 'Digest-Realm', 'Digest-Meth

Can't get the value of 'Digest-User-name', 'Digest-Realm', 'Digest-Method', 'Digest-Uri', 'Digest-Nonce', 'Digest-Response'

2008-05-01 Thread johnson elangbam
hi, I am using free Radius 2.0.3. I m configured my AAA through rlm_perl. I need to do the authorization by using the following attributes. Digest-Realm Digest-Method Digest-Uri Digest-Nonce Digest-Nonce Digest-Response Unfortunately i did not get any value from these attributes when i called

Can't get the value of 'Digest-User-name', 'Digest-Realm', 'Digest-Method', 'Digest-Uri', 'Digest-Nonce', 'Digest-Response'

2008-04-22 Thread johnson elangbam
hi, I am using free Radius 2.0.3. I m configured my AAA through rlm_perl. I need to do the authorization by using the following attributes. Digest-Realm Digest-Method Digest-Uri Digest-Nonce Digest-Nonce Digest-Response Unfortunately i did not get any value from these attributes when i called

How do i change the NAS ip address

2008-04-15 Thread johnson elangbam
hi, I've been configuring free radius 2.0.3, I've configured almost all the files and run successfully for the testing purpose from the localhost by using the "radtest", now I need to implement my radius in the real invironment by putting the NAS ip address, currently my NAS ip address is

Unable to authenticate with rlm_perl

2008-04-02 Thread johnson elangbam
hi, I am trying to used the rlm_perl for authentication, I've found reading all the perl modules, but wouldn't able to handle the username from the client. For the testing purpose I've put this simple script in the perl program if ($RAD_REQUEST{'User-Name'} eq "john") {

Problem with authentication with rlm_perl

2008-03-15 Thread johnson elangbam
hi, I am using free Radius 2.0. I want to try to authenticate with the perl module, I've done all the necessary configurations in sites-enabled/default directory and in radiusd.conf and it reads my perl script when running my radius, unfortunately my radius server rejects all the time no matter

Problems with using Customize table schema

2008-03-08 Thread johnson elangbam
hi, I've been asking for the same questions from the past few days about using my customized table schema and executing stored procedures in Ms Sql 2000 with free radius server 2.0, but I didn't find the exact solution till now. I've tried all the alternatives that is replied in the Maling list

Problems with using Customize table schema

2008-03-07 Thread johnson elangbam
hi, The only thing I want to do is to used my customize table schema of my own. I am confused whether I used the sql.conf or the perl module.Pleaseadvice which i should used. And if i used the perl module, please tell me how should I write the connection parameters and the sql queries for conne

Problems with using Customize table schema

2008-03-07 Thread johnson elangbam
HI, As advice by Ivan Kalik I've add a table and put username and password only, but still the problem is there, and the output is like this. Please let me know how to used the customized table. Ready to process requests. rad_recv: Access-Request packet from host 127.0.0.1 port 32791, id=197,

Problems with using Customize table schema

2008-03-05 Thread johnson elangbam
hi, I am using Free radius 2.0 and Ms Sql 2000.I need to used my own customised table schema rather than the default table which comes along with the radius server in schema.conf. To do so is it necessary to connect through rlm_perl and deactivate the sql module in the sites-enabled/default. If

how to disabled rlm_sql module

2008-03-04 Thread johnson elangbam
hi, Do i need to disabled rlm_sql module if I am using perl script to fetch data from the database. If so then how do i disabled the rlm_sql module. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

How do I used my customized table in Ms Sql through perl script

2008-03-03 Thread johnson elangbam
hi, I am using free radius server 2.0 and Ms Sql 2000, I want to used my customized tables which contains only username and password.I used to authenticate using perl script. Can I write SQL queries inside the perl script to fetch the data from the table rather than from the dialup.conf for Ms

How do I used my customized table in.

2008-03-03 Thread johnson elangbam
hi, I am using free radius server 2.0 and Ms Sql 2000, I want to used my customized tables which contains only username and password.I've tried modyfying the query in dialup.conf, but it doesn't work. Please tell me the solution. here is the piece of output after rejecting the user that is sto

Fetching username and password through perl script

2008-03-03 Thread johnson elangbam
hi, I am using free radius 2 along with Ms Sql 2000, I need to authenticate with perl script using my own table schema which contains only username and password. How do I read username and password from these customize table using perl script. With Regards Elangbam Johnson - List info/subscrib

Need to authenticate with Perl

2008-03-01 Thread johnson elangbam
Hi, I am trying to use authentication using Perl script, I've included a section of Perl in radiusd.conf which specifies the path of the Perl script, and I've included a section like Auth-Type Perl { perl }in the /sites-enabled/default file. I need to implement the stored procedures of MsS

Need to customized the table schema.

2008-02-28 Thread johnson elangbam
hi, I am using free radius 2 with MS Sql 2000. I want to make a database schema of my own to store only username and password in MS Sql. I would like to modify the query so that the radius server reads only this information from my customized table.I've tryied modyfying sql queries from dialup

Setting up a new database schema

2008-02-26 Thread johnson elangbam
Hi, I am trying to make a new database schema in Ms Sql in order to read the user name and password only, how do I change the SQL queries in the coniguration files, i've change in the dialup.conf of mssql directory. Is there any configuration file to change so that it can be read only from my c

Unable to connect to data source

2008-02-23 Thread johnson elangbam
hi, I am trying to connect Ms SQL with free radius, I've configure all the related packages like freeTDS and unixodbc , and both of the package work well when I test using "tsql" and "isql". But when I try to link with free radius, the following errors shows.Please tell what might be the proble

Could not link driver rlm_sql_mysql.so

2008-02-15 Thread johnson elangbam
hi, I couldn't be able to link the driver of mysql 5 with free radius 2.0.2due to this file "rlm_sql_mysql.so". I couldn't locate this file in my entire system. I've gone througe all the faq's, but it doesn't work. the error's still there. The errors look like this. rlm_sql (sql): Could not l

"rlm_sql_mysql.so" where do I locate this file and its associated files for CentOS to run freeRadius and MySQL

2008-02-14 Thread johnson elangbam
Hi, I am trying to build a radius with free radius 2.0.0 using MySql 4.1.2and I am getting the following errors rlm_sql (sql): Could not link driver rlm_sql_mysql: rlm_sql_mysql.so: cannot open shared object file: No such file or directory rlm_sql (sql): Make sure it (and all its dependent lib

Could not link driver rlm_sql_mysql

2008-02-13 Thread johnson elangbam
Hi Alan, Thanks for helping me in configuring my freeradius with mysql. I've uncommented the "sql" in the file /usr/local/etc/raddb/sites-enabled/default . And now I've seen message trying to commucinate with mysql. But still there is a problem of not getting the mysql driver. I am usin

conneting to mysql

2008-02-12 Thread johnson elangbam
hi, In order to connect to mysql what are the necessary configuration files to be changed. regards, Elangbam Johnson - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

help in basic configuration in connection mysql with freeradius

2008-02-08 Thread johnson elangbam
hi, I am trying to use mysql database with free radius 2.0.0 for the first time. I am using centOS 4.5 and mysql 4.1.2.The authentication works fine if I am using the unix username and password. I modified some configurations in radiusd.conf and sql.conf but it doesn't work. Please tell me the

need help in using mySql for freeRadius server.

2008-02-06 Thread johnson elangbam
hi, I am a new user in free radius with mysql, i've configure all the necessary .config files (viz., sql.conf and radiusd.conf) of the free radius for connecting to the mysql, but i wouldn't be able to connect to mysql database. Please tell me how to check that my free radius server is already c

need help in using mySql for freeRadius server.

2008-02-06 Thread johnson elangbam
hi, I am a new user in free radius with mysql, i've configure all the necessary .config files (viz., sql.conf and radiusd.conf) of the free radius for connecting to the mysql, but i wouldn't be able to connect to mysql database. Please tell me how to check that my free radius server is already

need help in using mySql for freeRadius server.

2008-02-06 Thread johnson elangbam
hi, I am a new user in free radius with mysql, i've configure all the necessary .config files (viz., sql.conf and radiusd.conf) of the free radius for connecting to the mysql, but i wouldn't be able to connect to mysql database. Please tell me how to check that my free radius server is already

How to connect to mySql

2008-02-04 Thread johnson elangbam
hi, I am a new user in free radius server, i wanted to keep the username/password in mySql database. I've read almost all the radiusd.conffile to make through, but it doesn't help, please help me to configure to connect the database to make it work. Thanks, with regards, Elangbam Johnson - Li

need help in using free radius

2008-01-30 Thread johnson elangbam
Hi, When I first run the free Radius using the command "radtest test test localhost 0 testing123" i found the following errors. Please help rad_recv: Access-Request packet from host 127.0.0.1 port 32775, id=80, length=56 User-Name = "test" User-Password = "test" NA