debug log and syslog

2008-09-05 Thread Jehan PROCACCIA
hello I can run debug log by starting radiusd -X , but for production, I want logs to go to a file and not stdout . When I start radiusd without -X I only get very few logs, how can I have equivalent to -X log with syslog or a log file ? or a least get more log the the very few ones I get

Re: debug log and syslog

2008-09-05 Thread tnt
I can run debug log by starting radiusd -X , but for production, I want logs to go to a file and not stdout . http://linuxbasics.org/course/book/chap_05 for now with that config I only get 2 lines in radiusd.log when I log in 802.X EAP-ttls , telling: Sep 5 10:42:30 radiustux radiusd[14619]:

MSCHAP Authentication and LDAP Group Membership checking

2008-09-05 Thread kesm0724
Hello All, I am very, very new to Freeradius (as well as Radius) ;) - disclaimer. We are trying to move away from using IAS to Freeradius. We have approx 50 switches/routers which I have not had a problem with getting to work with Freeradius including group checking using LDAP. The issue I

Re: MSCHAP Authentication and LDAP Group Membership checking

2008-09-05 Thread tnt
You can use mschap:User-Name in ldap configuration just like in ntlm_auth. Replace Stripped-User-Name with that and both mschap (VPN) and pap (admin login) requests should work. Ivanb Kalik Kalik Informatika ISP Dana 5/9/2008, kesm0724 [EMAIL PROTECTED] piše: Hello All, I am very, very new

Version 2.1.0 has been released.

2008-09-05 Thread Alan DeKok
We are happy to announce the release of Version 2.1.0 of the FreeRADIUS server, with some major new features. Highlights include improved SNMP support, dynamically-defined clients, much more flexible (and readable) debugging mode, WiMAX support, fast reauthentication for PEAP and TTLS, and a

Re: Simultaneous login Issue on Freeradius

2008-09-05 Thread Praveen Kumar
Hi Alan, LDAP does provide the centralized authentication, but the simultaneous login can not be restricted to 1. But i have seen in the freeRadius features that the simultaneous login can be restricted. http://freeradius.org/features.html If I Do like this in the /etc/raddb/users file DEFAULT

Re: Simultaneous login Issue on Freeradius

2008-09-05 Thread Alan DeKok
Praveen Kumar wrote: But i have seen in the freeRadius features that the simultaneous login can be restricted. Yes, I'm aware of that. I wrote that page. But that's referring to ISP's, who have users logging into a NAS. It is NOT referring to single sign on, or to restricting shell access

huntgroup question

2008-09-05 Thread Hans Bornemann
Hi, For some NAS i want to restrict the access for a single realm. For other NAS every realm is allowed. So I put in huntgroups: huntgroups: notebookNAS-IP-Address == 123.123.123.123, User-Name [EMAIL PROTECTED] This is only working, if the user has a Huntgroup-Name entry in the users

Re: Simultaneous login Issue on Freeradius

2008-09-05 Thread tnt
If I Do like this in the /etc/raddb/users file DEFAULT Auth-Type := LDAP, Simultaneous-Use := 1 Fall-Through = 1 Will this restrict the simultaneous login.. Remove the Auth-Type. It should. I am trying to configure the FreeRadius Server on My Linux machine and test it with

Re: Version 2.1.0 has been released.

2008-09-05 Thread rgreiner
Hi, I'm getting an error when trying to build debian packages. lab1:~/freeradius-server-2.1.0# dpkg-buildpackage -b -uc parsechangelog/debian: error: badly formatted trailer line, at file debian/changelog line 22 dpkg-buildpackage: unable to determine source package is Roberto Alan DeKok

Re: Version 2.1.0 has been released.

2008-09-05 Thread Alan DeKok
rgreiner wrote: I'm getting an error when trying to build debian packages. Debian is just to nit-picky for my liking. lab1:~/freeradius-server-2.1.0# dpkg-buildpackage -b -uc parsechangelog/debian: error: badly formatted trailer line, at file debian/changelog line 22 It doesn't like the

Re: Version 2.1.0 has been released.

2008-09-05 Thread Norbert Wegener
The new /usr/sbin/radmin is missing in %files section of the suse specfile. When added the packages will be build correctly. Norbert Wegener - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: rlm_unix

2008-09-05 Thread Mark Jones
True enough but I am unclear as to how to do it with passwd and shadow file and groups file. Are there an example config that someone has I can see to get a better understanding of what I have to do? - Original Message - From: Alan DeKok [EMAIL PROTECTED] To: FreeRadius users mailing

Re: Version 2.1.0 has been released.

2008-09-05 Thread Alan DeKok
Norbert Wegener wrote: The new /usr/sbin/radmin is missing in %files section of the suse specfile. When added the packages will be build correctly. Thanks. I've added it to the git tree. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: debug log and syslog

2008-09-05 Thread jehan procaccia
[EMAIL PROTECTED] wrote: I can run debug log by starting radiusd -X , but for production, I want logs to go to a file and not stdout . http://linuxbasics.org/course/book/chap_05 indeed ;-) for now with that config I only get 2 lines in radiusd.log when I log in 802.X EAP-ttls ,

Re: rlm_unix

2008-09-05 Thread Alan DeKok
Mark Jones wrote: True enough but I am unclear as to how to do it with passwd and shadow file and groups file. Are there an example config that someone has I can see to get a better understanding of what I have to do? raddb/modules/etc_group has a sample configuration for reading /etc/group.

Hmm... 2.1.0 radmin

2008-09-05 Thread Alan DeKok
Looking at this a little more, it looks like a bug crept in at the last minute that prevents radmin from working. sigh I'll issue 2.1.1 on Monday. It's been an interesting week. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Hmm... 2.1.0 radmin

2008-09-05 Thread A . L . M . Buxey
Hi, Looking at this a little more, it looks like a bug crept in at the last minute that prevents radmin from working. sigh I was about to email you about this. it loads, then it doesnt do anything (hangs after eg 'help' being typed) rather than rely on knowing the radiusd.sock location,

Re: Hmm... 2.1.0 radmin

2008-09-05 Thread John Horne
On Fri, 2008-09-05 at 16:34 +0100, [EMAIL PROTECTED] wrote: Hi, Looking at this a little more, it looks like a bug crept in at the last minute that prevents radmin from working. sigh I was about to email you about this. it loads, then it doesnt do anything (hangs after eg 'help' being

CA certificates

2008-09-05 Thread jehan procaccia
hello, we are running our own PKI with a 3 level hierarchy: it-master-class1(self-signed) - it-ca-class2 - it-ca-class3. it-ca-class3 signed our radius server (radiux-pkiit-2008.pem) In eap.conf file in the tls section I have tls { private_key_password = secret private_key_file =

Window domain (win server 2k3) ----- Free-Radius ----- NAS ------- Access Point )))) ((((( STA

2008-09-05 Thread Le Sang
Dear all, I tried to configure free-radius for authenticate user on window domain but i couldn't find the solutions for this behavior. Here is my topology: Window domain (win server 2k3) - Free-Radius - NAS --- Access Point ( STA 1/. On domain I had groups: administrator

Re: Window domain (win server 2k3) ----- Free-Radius ----- NAS ------- Access Point )))) ((((( STA

2008-09-05 Thread A . L . M . Buxey
Hi, Can anybody please help me on this problem? as, per usual, please send radiusd -X (thats a big capital X!) output to this list thanks alan - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Window domain (win server 2k3) ----- Free-Radius ----- NAS -------Access Point )))) ((((( STA

2008-09-05 Thread tnt
Can anybody please help me on this problem? Not unless you post the debug. Ivan Kalik Kalik Informatika ISP - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: rlm_unix

2008-09-05 Thread Mark Jones
Was there any particular reason to remove the ability to specify what passwd and shadow file to use with the unix module? As the way the passwd module is processed I cannot get the same functionality that I currently have under 1.1.x. Unless I misunderstand. the unix module can me used in

Re: using sqlcounters

2008-09-05 Thread Alexandre Chapellon
You're right, adding the name of my sqlcounter in the instantiate section lake it works. thx :) Alan DeKok a écrit : Alexandre Chapellon wrote: whenever i launch freeradius -X I get the folloawing error: /etc/freeradius/users[205]: Parse error (check) for entry scott: Invalid octet string

RE: FreeRadius2 + MySQL: NAS x Usergroup

2008-09-05 Thread Ivan Kalik
Radgroupcheck table. Ivan Kalik Kalik Informatika ISP -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carlos Eduardo Tavares Terra Sent: 05 September 2008 02:42 To: freeradius-users@lists.freeradius.org Subject: FreeRadius2 + MySQL: NAS x Usergroup

Two radius server on same machine

2008-09-05 Thread Nataniel Klug
Hello all, I am trying to find some info about running two freeradius servers (on different ports) in the same machine. Can someone help me? I couldn't find any info... -- Att, NATANIEL KLUG [EMAIL PROTECTED] LEIA O DIA-A-DIA DO NATA http://nataklug.blogspot.com/ Cyber Nett -

Beginners, Re: Simultaneous login Issue on Freeradius

2008-09-05 Thread Kirk Wallace
On Fri, 2008-09-05 at 14:30 +0200, Alan DeKok wrote: ... snip Will this restrict the simultaneous login.. As I told you already: No. I feel the password it provide as r1.\341\362... like this, may be in some encrypted form which not authenticated by the server, while with radtest

Re: undefined symbol

2008-09-05 Thread Alexandre Chapellon
Alan DeKok a écrit : Alexandre Chapellon wrote: I have a problem loading freeradius since i enabled sqlippool You need to enable the SQL module, too. i get the following message: freeradius: symbol lookup error: /usr/lib/freeradius/rlm_sqlippool-2.0.5.so: undefined

Re: Two radius server on same machine

2008-09-05 Thread Hoggins!
Hello. If I'm right, there's a 2.x.x feature that allows to run several virtual servers on the same machine. So you can configure the same service to listen on different ports and to behave differently. I believe it is well documented, though. Nataniel Klug a écrit : Hello all, I am

Re: ***SPAM*** Re: Two radius server on same machine

2008-09-05 Thread Nataniel Klug
Hoggins, So I was looking for the worng word... it is virtualization... I will look for it. Hoggins! escreveu: Hello. If I'm right, there's a 2.x.x feature that allows to run several virtual servers on the same machine. So you can configure the same service to listen on different ports

Re: undefined symbol

2008-09-05 Thread tnt
Have you replaced sql with proper instance name in sqlippool.conf? Ivan Kalik Kalik Informatika ISP Dana 5/9/2008, Alexandre Chapellon [EMAIL PROTECTED] piše: Alan DeKok a écrit : Alexandre Chapellon wrote: I have a problem loading freeradius since i enabled sqlippool You need to

Re: debug log and syslog

2008-09-05 Thread tnt
Download 2.1.0 and have a look at linelog there. It is much improved. Ivan Kalik Kalik Informatika ISP Dana 5/9/2008, jehan procaccia [EMAIL PROTECTED] piše: [EMAIL PROTECTED] wrote: I can run debug log by starting radiusd -X , but for production, I want logs to go to a file and not stdout .

Re: undefined symbol

2008-09-05 Thread Alexandre Chapellon
[EMAIL PROTECTED] a écrit : Have you replaced sql with proper instance name in sqlippool.conf? Yes I added the name of the sql instance used for accouting: mysqldb in my case. Ivan Kalik Kalik Informatika ISP Dana 5/9/2008, Alexandre Chapellon [EMAIL PROTECTED] piše: Alan DeKok a

Re: Two radius server on same machine

2008-09-05 Thread Mark Tunnell
Nataniel Klug wrote: Hello all, I am trying to find some info about running two freeradius servers (on different ports) in the same machine. Can someone help me? I couldn't find any info... I've actually been running three instances on my servers for quite a while. Basically after

Freeradius Usage

2008-09-05 Thread Jesse Stone
Hi All, I am new to this mailing list and am about to ask a probably very silly question. Please feel free to direct me to resources that'll help me answer them. I want to setup the following: Gateway [server1] - nic1 = Internet - nic2 = DMZ [server2] - nic3 = Router w/

RE: Freeradius Usage

2008-09-05 Thread Edvin Seferovic
Hi, excuse me for asking, but why dont you set up the AppServer in your DMZ ? you could have ( what I call ) the T - structure --- INTERNET -- GATEWAY ( server1 ) --- LOCAL LAN I

Re: Freeradius Usage

2008-09-05 Thread Jesse Stone
Thank you for the quick response. I may not have mentioned this previously but I am by no means a linux/networking expert. The company I work for is pro-MS. Recently, I got the urge to get back into Linux and here I am. My thinking (in regards to network structure) was that I wanted

sqlcounters for traffic

2008-09-05 Thread Alexandre Chapellon
I want to se sqlcounters to count bytes transferred from clients so that i manage quota. Aiming this i configured the following counter: sqlcounter bytesQuota { counter-name = traffic_quota check-name = Max-Traffic reply-name = Session-Traffic-Limit sqlmod-inst =

RE: sqlcounters for traffic

2008-09-05 Thread Edvin Seferovic
rlm_sqlcounter: Sent Reply-Item for user scott, Type=Session-Traffic-Limit, value=12792 Which part don’t you understand? Sqlcounter returned it. How does the log part of the RADIUS Packet looks like? It should contain the “Session-Traffic-Limit” if it can be found in the dictionary, right?

RE: Freeradius Usage

2008-09-05 Thread Edvin Seferovic
It is a tricky concept, but it can be done with a lot of effort. Probably not for all applications ( since it doesn't make any sense for some of them ). Maybe you should consider making a real network DMZ. The concept of DMZ allows you to define and allow/disallow access to services from the

Re: sqlcounters for traffic

2008-09-05 Thread tnt
My first problem is that the Session-Traffic-Limit (from the redback dictionnary) is not returned. I can't see it neither in the output of radtest nor with radsniff. Yet, looking at the output of radiusd -X i can see it's correctly understood by freeradius: rlm_sqlcounter: Check item is greater

Re: sqlcounters for traffic

2008-09-05 Thread Alexandre Chapellon
Edvin Seferovic a écrit : rlm_sqlcounter: Sent Reply-Item for user scott, Type=Session-Traffic-Limit, value=12792 Which part don’t you understand? Sqlcounter returned it. How does the log part of the RADIUS Packet looks like? It should contain the “Session-Traffic-Limit” if it can be

Re: sqlcounters for traffic

2008-09-05 Thread Alexandre Chapellon
[EMAIL PROTECTED] a écrit : My first problem is that the Session-Traffic-Limit (from the redback dictionnary) is not returned. I can't see it neither in the output of radtest nor with radsniff. Yet, looking at the output of radiusd -X i can see it's correctly understood by freeradius:

Windows Login

2008-09-05 Thread Kirk Wallace
I have a fresh install of Freeradius 1.1.7build4 on my Ubuntu 8.04 system. I used this link to do the bob test: http://deployingradius.com/documents/configuration/pap.html which was successful. Then I created myself (kwallace) as a user and tested with radtest, again with success. Then I went

Re: Windows Login

2008-09-05 Thread Kirk Wallace
Solved (so far). I found the PoPToP cookbook link: http://wiki.freeradius.org/PopTop in http://wiki.freeradius.org/Example_Setups from the main page. The dictionary file edit: INCLUDE /etc/radiusclient/dictionary.merit INCLUDE /etc/radiusclient/dictionary.microsoft

Re: Freeradius Usage

2008-09-05 Thread Jesse Stone
Would Freeradius be the correct technology for this? For example, Currently, for me to allow someone access to my OpenVPN server and Samba I have to first add them as a standard user with the useradd script. Then I have use smbpasswd -e to enable their account for Samba. If I wanted that user

Re: Freeradius Usage

2008-09-05 Thread Jesse Stone
Sorry for the spam, but.. I forgot a part in my current user add process: I then have to have the user login via SSH (after having them download Putty) so that they can change their password. Then, I have to disallow them access to SSH (because they shouldn't be logging directly into the

Re: Beginners, Re: Simultaneous login Issue on Freeradius

2008-09-05 Thread Alan DeKok
Kirk Wallace wrote: There is a vast area of knowledge between getting started and having years of radius experience. There's also a big difference between people who *try* and people who don't. The documentation isn't perfect, but text like run the server in debugging mode is scattered