Re: mysql configuration for version 2.1.8

2010-02-25 Thread Fajar A. Nugraha
On Thu, Feb 25, 2010 at 2:22 PM, Pratik Shrestha pratik...@gmail.com wrote: Hello to all, I am using the latest version 2.1.8 and I am newbie. I was trying to configure sql (mysql) for this version, but I did not find any configuration help from any source. Where did you look? See doc/rlm_sql

Re: dictionary help

2010-02-25 Thread Igor Smitran
Alan DeKok wrote: Hmm... the code in rlm_preprocess checks if the attribute is string type. I don't see why this is necessary. See line 155 (or so) in src/modules/rlm_preprocess/rlm_preprocess.c. I've saw the source and now i understand, but, i don't know much of C and don't know if

Re: mysql configuration for version 2.1.8

2010-02-25 Thread Pratik Shrestha
Thanks. But is the database schema has changed from previous version? In previous version there used to be mysql.sql or db_mysql.sql. In this version I found rad.sql, cui.sql and so on. And do you know any site that describes the configuration for 2.1.8 with mysql? Pratik On Thu, Feb 25, 2010

Re: mysql configuration for version 2.1.8

2010-02-25 Thread Alan DeKok
Pratik Shrestha wrote: Thanks. But is the database schema has changed from previous version? In previous version there used to be mysql.sql or db_mysql.sql. In this version I found rad.sql, cui.sql and so on. Have you bothered reading the documentation and config files that come with the

Re: dictionary help

2010-02-25 Thread Alan DeKok
Igor Smitran wrote: I've saw the source and now i understand, but, i don't know much of C and don't know if problem is solvable? Yes. Delete the line containing PW_TYPE_STRING, and change the previous line to: if ((dattr = dict_attrbyname(newattr)) != NULL) { Then re-compile install.

Re: mysql configuration for version 2.1.8

2010-02-25 Thread Fajar A. Nugraha
On Thu, Feb 25, 2010 at 3:47 PM, Pratik Shrestha pratik...@gmail.com wrote: Thanks. But is the database schema has changed from previous version? In previous version there used to be mysql.sql or db_mysql.sql. In this version I found rad.sql, cui.sql and so on. where did you find rad.sql? From

Re: mysql configuration for version 2.1.8

2010-02-25 Thread Pratik Shrestha
Thanks...I have already configured. Pratik On Thu, Feb 25, 2010 at 3:53 PM, Alan DeKok al...@deployingradius.comwrote: Pratik Shrestha wrote: Thanks. But is the database schema has changed from previous version? In previous version there used to be mysql.sql or db_mysql.sql. In this

Re: dictionary help

2010-02-25 Thread Igor Smitran
Alan DeKok wrote: Yes. Delete the line containing PW_TYPE_STRING, and change the previous line to: if ((dattr = dict_attrbyname(newattr)) != NULL) { Then re-compile install. Just what i thought bu wasn't sure. Can we expect this to be changed permanently in future releases?

Update from 1.1.7 to 2.x

2010-02-25 Thread Tokie
Hi, I tried to update from the version 1.1.7 to version 2.x.x but don't work. I have a working server and i would like update to newer version. How can I do? - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Different LDAP group authentication with different IPs

2010-02-25 Thread Stephon Chen
Hello all I want to run only one radiusd (no virtual server) to support my scenario, and it is like below: From IP x.x.x.1 - Only Allow LDAP Group A to access From IP x.x.x.2 - Only Allow LDAP Group B to access from the doc/ldap_howto.txt, it seems not working I've found in mailing lists,

Re: Update from 1.1.7 to 2.x

2010-02-25 Thread Alan Buxey
Hi, Hi, I tried to update from the version 1.1.7 to version 2.x.x but don't work. I have a working server and i would like update to newer version. take the default 2.x.x version and dont play with it. ensure it just runs. then edit its configuration files so that it performs the same

Authcheck table and groupreply table on two different databases

2010-02-25 Thread 1839Paolo
Hello everybody, I’ll present myself as a new subscriber; my name is Paolo, I’m from Italy and I work as sysadm at Università di Urbino. The easy think, the question: it’s possible to setup authcheck_table into a database/host and both groupcheck_table, groupreply_table into a different

Problems with NoCatAuth+RADIUS+LDAP

2010-02-25 Thread Sergio Ormeño
Hi my name is Sergio Ormeño, i am from Chile, and i with some partners are trying to create a Captive portal with NoCatAuth+RADIUS+LDAP and we have problems with the conection between RADIUS+LDAP with a radtest everything if fine and the packet is accepted, but in the login page of NoCat dosn`t

Re: Different LDAP group authentication with different IPs

2010-02-25 Thread Peter Lambrechtsen
Search and you shall recieve http://lists.freeradius.org/mailman/htdig/freeradius-users/2009-November/msg1.html That's how I it, and until anyone finds a better way... On Thu, Feb 25, 2010 at 11:11 PM, Stephon Chen step...@gmail.com wrote: Hello all I want to run only one radiusd (no

Re: Problems with NoCatAuth+RADIUS+LDAP

2010-02-25 Thread Alan DeKok
Sergio Ormeño wrote: Hi my name is Sergio Ormeño, i am from Chile, and i with some partners are trying to create a Captive portal with NoCatAuth+RADIUS+LDAP and we have problems with the conection between RADIUS+LDAP with a radtest everything if fine and the packet is accepted, but in the