mysql 4.1.0 can not run normally in Freeradius 1.0.5

2006-03-07 Thread yao guoxian
Freeradius works well through authenticatingusers throught files option. In order to authenticate users throng sql , I have installed mysql 4.1.0 on the machine which has the Redhat 9 operation system. I followed the suggestion : mysql -uroot -prootpass radius db_mysql.sql and made changes

RE: mysql 4.1.0 can not run normally in Freeradius 1.0.5

2006-03-07 Thread Seferovic Edvin
rlm_sql (sql): Could not link driver rlm_sql_mysql: file not found Are you sure that you have compiled FR with mysql support ? Recompile it with sql_mysql driver and it should work. Regards, Edvin From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] g] On Behalf Of yao guoxian Sent: Dienstag,

post proxy problem

2006-03-07 Thread VannMann32 .
Hi ! I'm trying to set up Freeradius (1.1.0) to proxy ms-chap-v2 and when I get the accept from ms-win2k3-ias server, then i want to assign a static ip address. Reading the doc/proxy file, i read that the user file is processed as usual after accept is received ms radius server. users :

mysql authentication doesn't work

2006-03-07 Thread ???????, ?? ????????
in radiusd.conf: authorize { auth_log sql } authenticate { } in sql.conf: sql_user_name = %{Calling-Station-Id} authorize_check_query = SELECT id, UserName, Attribute, Value, op \ FROM ${authcheck_table} \ WHERE UserName = '%{SQL-User-Name}' AND

Re: special characters in passwords + FR + ldap

2006-03-07 Thread Turtiainen, Tero
Hi, -Original Message- Date: Sat, 4 Mar 2006 15:19:32 -0600 From: Natalia Escalera [EMAIL PROTECTED] Hello, What is needed is that Freeradius accepts passwors even if special charaters are part of them. This is what is happening: pass$word - FR - LDAP - FR (Answer:

Re: FreeRADIUS + LDAP + Wireless auth

2006-03-07 Thread James Cort
Alan DeKok wrote: Ah, you have DOMAIN\user logging in, and your LDAP server knows about user. Try the following in hints: DEFAULT User-Name =~ \\(.*)$ Menu = %{1} Then in radiusd.conf, do: ... ldap { ... filter = (uid=%{Menu:-%u}) ... Yes, menu' is a

Re: WiFi Mac address authentication

2006-03-07 Thread Guillaume
2006/3/3, Alan DeKok [EMAIL PROTECTED]: Guillaume [EMAIL PROTECTED] wrote: I try to set a mac authentication and a certificates based authentication, but in the freeradius.cnf i dont find any entry for loading a list of authorised MAC address. That's because the server doesn't come

RE: Radius server health monitor :

2006-03-07 Thread Devaraj Hattibelegal Patil
Can I get any idea on writing our own new open code? I mean I am looking for new small really light wait application which does monitoring and uses the best method (either snmp ping or Server status message or some radius API). Regards, Devah -Original Message- From: [EMAIL PROTECTED]

freeradius 1.1.0 and MSSQL

2006-03-07 Thread Duane Cox
List Was the MSSQL re-connectivity issue addressed in the 1.1.0 build? I know that as of 1.0.5 if freeradius lost connectivity with the MSSQL database, freeradius would not reopen the socket. I'm curious if this was ever fixed / addressed ... Thanks, Duane Cox - List

[Freeradius-Users]modcall[authenticate]: module unix returns notfound for request

2006-03-07 Thread Jedliu
Hi, All! When I wanna run freeradius with the support of MySQL, I found such mes * modcall[authenticate]: module unix returns notfound for request 12 modcall: group authenticate returns notfound for request 12 * in radiusd -X mode,but the user in USERS file can be authenticated successfully.

RE: Radius server health monitor :

2006-03-07 Thread Bart van Daal
Check out 'monit' too. It's able to take some defined actions when the server dies or something goes wrong. kr, Bart -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Devaraj Hattibelegal Patil Sent: dinsdag 7 maart 2006 15:44 To: FreeRadius users mailing

Re: freeradius 1.1.0 and MSSQL

2006-03-07 Thread Nicolas Baradakis
Duane Cox wrote: Was the MSSQL re-connectivity issue addressed in the 1.1.0 build? No. Most people are using FreeRADIUS with MySQL or PostgreSQL, therefore the MSSQL problems have a very low priority. I know that as of 1.0.5 if freeradius lost connectivity with the MSSQL database, freeradius

RE: post proxy problem

2006-03-07 Thread VannMann32 .
Hi ! I'm trying to set up Freeradius (1.1.0) to proxy ms-chap-v2 and when I get the accept from ms-win2k3-ias server, then i want to assign a static ip address. Found a odd solution : radius.conf : ippool pool-ip { range-start = 192.168.1.100 range-stop =

Re: [Freeradius-Users]modcall[authenticate]: module unix returns notfound for request

2006-03-07 Thread Andrew Browning
the unix module searched for users in /etc/passwd (or whatever file you tell it to search). this has nothing to do with mysql. if you want to use the unix module, then make sure the user exists in /etc/passwd and that freeradius has read ability to that file. if you want to use mysql, then

Re: FreeRADIUS + LDAP + Wireless auth

2006-03-07 Thread Alan DeKok
James Cort [EMAIL PROTECTED] wrote: Many thanks. Good to hear it works. I had to write the username as (.*)$ as the backslashes themselves needed escaping, but once that was done it's all working like a charm now. You might also try using single quotes: '\\(.*)$', as that will

Realms allowed to some huntgroup

2006-03-07 Thread Walter Reynolds
I am not quite finding the setup I am looking for and hope someone can point me to the files I should be updating. Currently I am running version 1.0.4 Hopefuly I can describe what I want to do and you can let me know if it is doable, and if so what files I should modify. I have

Re: Realms in DB

2006-03-07 Thread Alan DeKok
=?iso-8859-1?B?U2FudGlhZ28gQmFsYWd1ZXIgR2FyY+1h?= wrote: I do roaming with third companies, so instead of add all the realms in the file proxy.conf file, I would prefer to have them in realm table in my postgres DB. It is easier to handle. That's nice. As I said, submit a patch.

Re: mysql authentication doesn't work

2006-03-07 Thread Alan DeKok
???, ?? [EMAIL PROTECTED] wrote: rlm_sql (sql): No matching entry in the database for request from user [333999] That's pretty definitive. The packet has: User-Password = testpass And SQL has: | 37 | 333999 | User-Password | 378b243e220ca493 | == |

Re: Re: [Freeradius-Users]modcall[authenticate]: module unix returns notfound for request

2006-03-07 Thread Jedliu
Andrew Browning, Hi! Much appreciate of your answer. you said if you want to use mysql, then configure the mysql module. I've configured the mysql module in radiusd.conf like this, *authorize { preprocess chap mschap suffix sql } accounting { … sql … }* Is there any aditional points? I add the

Re: special characters in passwords + FR + ldap

2006-03-07 Thread Natalia Escalera
Hello Mr. Turtiainen: Thank you for your response. We have made a small fix to the ldap-module (as seen in the link to the mailing list archive). I don't know if this has been fixed in 1.1.0. I once had a quick look at the ldap-module of 1.1.0, it should be quite easy to test if it still

rlm_perl segfault

2006-03-07 Thread Grant Zanetti
I've just tried to get the rlm_perl module working. I'm running debian 3.1 with perl 5.8.8. I've tried installing the prebuilt debian packages as well as from source with dpkg-buildpackage -rfakeroot -uc -b However after loading the module freeradius segfaults. Freeradius config: modules {