FreeRADIUS and PostgresSQL

2009-12-01 Thread John Gardner
Hi everyone I'm using Oracle Enterprise Linux (Red Hat EL clone) and the packaged version of FreeRADIUS (1.1.3) to ultimately authenticate some Linux machines centrally. I've been following the HOWTO at http://wiki.freeradius.org/SQL_HOWTO but some of it does appear to be out of date. I've

Re: FreeRADIUS and PostgresSQL

2009-12-01 Thread Stefan Winter
Hi, I've been following the HOWTO at http://wiki.freeradius.org/SQL_HOWTO but some of it does appear to be out of date. It's not the HOWTO that's out of date, it's your server version being ancient. I can only strongly urge you to use the 2.x releases, they are so much more convenient and

Problem with rlm_realm

2009-12-01 Thread kachin Agarwal
Hi, I M using freeradius-server 2.1.7. The authentication rate i m getting is just 4 or 5. when i put a timestamp in each of the modules, i found out that the module rlm_realm is called about 12 times in each authentication. That is in each handshake between the mobile unit and the radius

RE: FreeRADIUS and PostgresSQL

2009-12-01 Thread John Gardner
Thanks Stefan It's not the HOWTO that's out of date, it's your server version being ancient. I can only strongly urge you to use the 2.x releases, they are so much more convenient and feature-rich. Especially if you are setting up a brand new instance, it's a very bad idea to start with this

inner - outer identity

2009-12-01 Thread lieven . stubbe
Dear, While trying to connect to an access point via peap, eap-tls the connection works successfully using user credentials entered manually. When asking to auth via Windows login, FR uses always the roaming id, how can I change this behaviour to use the windows login, instead of using the

Re: inner - outer identity

2009-12-01 Thread Alan DeKok
lieven.stu...@b-holding.be wrote: While trying to connect to an access point via peap, eap-tls the connection works successfully using user credentials entered manually. When asking to auth via Windows login, FR uses always the roaming id, Umm... no. The *Windows* machine is sending the

Could not link driver rlm_sql_mysql:

2009-12-01 Thread Yagnesh Dave
Hi All, While trying to run the FreeRadius I got this error. Please let me know what should be done to overcome this. While checking it on FreeRadius emails, i found the same problem has been encountered by others too, but did`nt get to see the solution, thus posting it. ERROR: Could not

Re: Could not link driver rlm_sql_mysql:

2009-12-01 Thread Bjørn Mork
Yagnesh Dave yagnesh.d...@rediffmail.com writes: rlm_sql_mysql.so: open failed: No such file or directory Is this unclear? You should install all the modules you want to use from wherever you got FreeRADIUS. If you've built it yourself, you have to install the necessary headers and libraries

Idle Time-out- Session time-out/ Aacct start-stop packet

2009-12-01 Thread Sylvain De Muynck
Dear all, I would like my user to get a session time-out of 20 minutes. While looking at the debug, I noticed that my users matched the default entry [12] attrs.accounting.response and get authenticate every 10 minutes (in fact, this even take over the session time-out attribute that I could

Confused by id

2009-12-01 Thread John Gardner
I'm trying to successfully use FreeRADIUS to help centrally authenticate some linux servers. I'm storing the credentials in a postgres db but I'm confused by the 'id' in the radcheck database. In the SQL HOWTO, they show the id as (mysql);

Re: Confused by id

2009-12-01 Thread Alan DeKok
John Gardner wrote: I'm trying to successfully use FreeRADIUS to help centrally authenticate some linux servers. I'm storing the credentials in a postgres db but I'm confused by the 'id' in the radcheck database. In the SQL HOWTO, they show the id as (mysql); ... Where as mine (postgres)

Re: Problem with rlm_realm

2009-12-01 Thread Alan DeKok
kachin Agarwal wrote: I M using freeradius-server 2.1.7. The authentication rate i m getting is just 4 or 5. when i put a timestamp in each of the modules, Is it that hard to run the server in debugging mode? i found out that the module rlm_realm is called about 12 times in each

Freeradius EAP authentication

2009-12-01 Thread Diego Chovares Moreno
Hello everyone, I am installing a RADIUS server on a ubuntu server with freeradius. All tests are working properly except when I try to connect through an access point. This is the debug that I get: rad_recv: Access-Request packet from host 192.168.1.1 port 1084, id=1, length=206

Re: separating Users?

2009-12-01 Thread freeradius
At 02:39 AM 12/1/2009, Alan DeKok wrote: Because you've forced the ntlm_auth module to be run. That module ONLY checks clear-text passwords, and there is NO clear-text password in the request. Change the line having ... Auth-Type := ntlm_auth, ... to ... Auth-Type =

Logins against AD failing in *most* cases. Can see why, but don't *understand* why.

2009-12-01 Thread Meyers, Dan
Still trying to get our FreeRADIUS system working nicely after the AD upgrade to server 2008. Compiling Samba to version 3.4.3 from source fixed our ntlm_auth issue, but most users were still unable to connect. I have 2 examples here, one of a user who failed to connect, one of a user who

Re: Logins against AD failing in *most* cases. Can see why, but don't *understand* why.

2009-12-01 Thread Phil Mayers
Secondly, my colleague's machine actually responds to the Access-Challenge sent at the end of the packet where the ntlm_auth is done, whereas my machine does not. This is the crucial point I think. Without this final response the Access-Accept is never sent back. My colleague is using Windows XP

RE: Logins against AD failing in *most* cases. Can see why, but don't*understand* why.

2009-12-01 Thread Meyers, Dan
Secondly, my colleague's machine actually responds to the Access-Challenge sent at the end of the packet where the ntlm_auth is done, whereas my machine does not. This is the crucial point I think. Without this final response the Access-Accept is never sent back. My colleague is using

Re: separating Users?

2009-12-01 Thread tnt
DEFAULT Huntgroup-Name == VPN_Huntgroup, Auth-Type=ntlm_auth, Ldap-Group == VPN_Users It runs the LDAP group check, but still lets the user log in even when he's not in the VPN_Users group: Use unlang for better control of what happens: if(Huntrgroup-Name == VPN_Huntgroup) {

Re: Logins against AD failing in *most* cases. Can see why, but don't *understand* why.

2009-12-01 Thread tnt
Still trying to get our FreeRADIUS system working nicely after the AD upgrade to server 2008. Compiling Samba to version 3.4.3 from source fixed our ntlm_auth issue, but most users were still unable to connect. I have 2 examples here, one of a user who failed to connect, one of a user who

Re: Freeradius EAP authentication

2009-12-01 Thread tnt
Hello everyone, I am installing a RADIUS server on a ubuntu server with freeradius. All tests are working properly except when I try to connect through an access point. This is the debug that I get: [eap] EAP NAK [eap] NAK asked for unsupported type 25 [eap] No common EAP types found.

Re: separating Users?

2009-12-01 Thread freeradius
At 01:03 PM 12/1/2009, t...@kalik.net wrote: Use unlang for better control of what happens: if(Huntrgroup-Name == VPN_Huntgroup) { if(Ldap-Group == VPN_Users) { if(!control:Auth-Type) { update control { Auth-Type = ntlm_auth }

Re: Logins against AD failing in *most* cases. Can see why, but don't*understand* why.

2009-12-01 Thread Alan DeKok
Meyers, Dan wrote: This is most likely a CA cert problem. The comments in the default eap.conf give a very specific warning about this (access-challenge which is never replied to) and explain the issue. This being the case, why does my machine successfully respond to all the other

Re: MPD : mpd-drop-user

2009-12-01 Thread tnt
I read some of the information saying it is possible to insert attribute in Accounting Response Packet but RFC said almost no attribute will inject into response packet. No, it says that there is no need for any attribute in it. You can add vendor specific attributes. Ivan Kalik - List

Re: separating Users?

2009-12-01 Thread tnt
If I understand correctly, I don't need to worry about ntlm_auth at all in this case (because with MSCHAP I don't have a cleartext password, and thus ntlm_auth won't do me any good), so I probably don't need to update the Auth-Type? If you are sure that all requests will be mschap. That if

RE: FreeRADIUS and PostgresSQL

2009-12-01 Thread tnt
Thanks Stefan It's not the HOWTO that's out of date, it's your server version being ancient. I can only strongly urge you to use the 2.x releases, they are so much more convenient and feature-rich. Especially if you are setting up a brand new instance, it's a very bad idea to start with this

Re: Could not link driver rlm_sql_mysql:

2009-12-01 Thread tnt
While trying to run the FreeRadius I got this error. Please let me know what should be done to overcome this. While checking it on FreeRadius emails, i found the same problem has been encountered by others too, but did`nt get to see the solution, thus posting it. ERROR: Could not link

Re: Idle Time-out- Session time-out/ Aacct start-stop packet

2009-12-01 Thread tnt
Unfortunately, that did not work and now, I am still stuck to figure out how could I do that. To sum up this issue, I got Alvarion NAS, You have our sincere condolences. from my users, I can see accounting start and accounting stop packet, every 10 minutes, I got an accounting packet stop

Re: separating Users?

2009-12-01 Thread freeradius
At 01:29 PM 12/1/2009, t...@kalik.net wrote: So I think what I need is: if(Huntgroup-Name == VPN_Huntgroup) { if(Ldap-Group == VPN_Users) { Put just ok in there. It might not like empty brackets. } else { reject } } That did it! Thanks! I think that gets

Freeradius with JRadius Performance issues.

2009-12-01 Thread Hemlata Shekatkar
Hi, I am evaluating freeradius with jradius. Currently i am performing performance testing for the Freeradius-Jradius combination using radperf tool. JRadius is simply authenticating the user from the jradius-config.xml file using one of the default handlers, so nothing fancy there. Here are a

Re: MPD : mpd-drop-user

2009-12-01 Thread cktan
Dear Ivan Kalik, Can you share with me how to add vendor attributes in Acct Response Packet? Regards t...@kalik.net wrote: I read some of the information saying it is possible to insert attribute in Accounting Response Packet but RFC said almost no attribute will inject into response packet.

Re: MPD : mpd-drop-user

2009-12-01 Thread tnt
Can you share with me how to add vendor attributes in Acct Response Packet? Like any other with unlang or with acct_users file. Ivan Kalik - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

PAP Authentication Not Working ??

2009-12-01 Thread James Hankins
Greetings, I've got a 1.1-3 FreeRadius server and trying to figure out what to do to enable PAP authentication. CHAP is working when I use Radius Ping but if I change the Password to User-Password which if I understand it is supposed to enable PAP. When I do this, I get a

Re: PAP Authentication Not Working ??

2009-12-01 Thread tnt
I've got a 1.1-3 FreeRadius server and trying to figure out what to do to enable PAP authentication. CHAP is working when I use Radius Ping but if I change the Password to User-Password which if I understand it is supposed to enable PAP. When I do this, I get a Access-Reject. Is there

Re: FreeRADIUS and PostgresSQL

2009-12-01 Thread Alan Buxey
Hi, Ah! That is good news. The problem is that I'm working under constraints of a support agreement that will only allow us to install the packages that come with OEL 5.x, so at the moment, 1.1.3 is the only thing I can work with :-( you can get prebuilt RPMs for your distro - the link has

Re: separating Users?

2009-12-01 Thread freeradius
Well, thanks to an inordinate amount of help, I've got my RADIUS server up and running exactly how I want it to. As part of my business process, I've got a detailed doc on how the server is/was constructed. I'd like to contribute that to the wiki, but I don't see that I can create an

Problem to start radiusd -x

2009-12-01 Thread C. Diego Raffaelli A.
Hi all: I had install Debian lenny. later, mysql, later apache and later, download freeradius freeradius-server-2.1.7.tar.gz, untar and ./configure, make and make install. the errors like checking for gcc... no was solved. now, i tried to run famous radiusd -x but i have the follow error

Re:6. Problem to start radiusd -x (C. Diego Raffaelli A.)

2009-12-01 Thread C. Diego Raffaelli A.
Hi all ... i found: *Author: *Salim Engin *Date: *2009-09-17 02:46 -400 *To: *FreeRadius users mailing list *Subject: *Re: Upgrading from 2.1.6 to 2.1.7 Just try to execute ldconfig and retry... i did it, and i get something that i think is debug info... then i did radtest and i have a

Re: Problem to start radiusd -x

2009-12-01 Thread tnt
I had install Debian lenny. later, mysql, later apache and later, download freeradius freeradius-server-2.1.7.tar.gz, untar and ./configure, make and make install. the errors like checking for gcc... no was solved. now, i tried to run famous radiusd -x but i have the follow error message:

Re:6. Problem to start radiusd -x (C. Diego Raffaelli A.)

2009-12-01 Thread tnt
*Failed binding to authentication address * port 1812: Address already in use* /usr/local/etc/raddb/radiusd.conf[240]: Error binding to port for 0.0.0.0 port 1812 One instance is already running. killall radiusd should stop it. Ivan Kalik - List info/subscribe/unsubscribe? See

Re: PAP Authentication Not Working ??

2009-12-01 Thread James Hankins
Regarding the version, by design if running Centos, which purposely has a long cycle between releases based on upstream for stability. I'm not against upgrading this though. :) So I did in fact read the users file or I wouldn't have made it this far, but I'm not seeing anything that

Help on TLS+Active Directory

2009-12-01 Thread gera
Hi. Need some help to understand this combination. I'm trying to setup EAP-TLS + Active Directory Authentication on a wireless mobility controller. This mob con has this Portal Captive feature. To start testing, I configured freeradius as a ldap client for Active Directory, using the

User REALMS and PAP rejected when using MySQL based accounts

2009-12-01 Thread James Hankins
Greetings All: I am standing up a new radius server for pass through auth. I'm struggling with accounts that are mysql based (which I have to use for the my automated billing system). Using NTRadPING Test Utility. I can authenticate using PAP and REALMS if the user is just located in

Re: User REALMS and PAP rejected when using MySQL based accounts

2009-12-01 Thread James Hankins
Missed the need to strip the realm. That fixed both problems. On Dec 1, 2009, at 9:04 PM, James Hankins wrote: Greetings All: I am standing up a new radius server for pass through auth. I'm struggling with accounts that are mysql based (which I have to use for the my automated billing

Re: Problem with rlm_realm

2009-12-01 Thread kachin Agarwal
Hi,     Ya i tried to build it using --without-rlm_realm, but then too it is building. wat might be the problem?? and ya it takes a very long time when i run the radius server in debugging mode.. what might be the problem for the low authentication rate? how much auth rate approx should i

Re: Problem with rlm_realm

2009-12-01 Thread Alan DeKok
kachin Agarwal wrote: Hi, Ya i tried to build it using --without-rlm_realm, but then too it is building. wat might be the problem?? Perhaps you could try using a text editor to edit the configuration files, and remove the calls to the realm module? and ya it takes a very long time

Re: Help on TLS+Active Directory

2009-12-01 Thread Alan DeKok
gera wrote: BUT, we noted an interesting behaviour. If the client specify Windows to use another username to login, although freeradius complaints that the user doesn't exist on ldap, it seems it still accepts this user, as long as the certificate is fine. That's how EAP-TLS works. So,