Radius Integration with Active Directory

2011-03-25 Thread Raheel Itrat
Hi all, I have installed a freeradius machine on ubuntu server, now my boss wants me to integrate it with the Active directory so that the users can be authenticated through it. I was wondering design wise does it make sense to have a free radius server in between if we can run radius on the

RE: Radius Integration with Active Directory

2011-03-25 Thread Sallee, Stephen (Jake)
While MS ISA is fine for very small deployments it cannot scale very well in my experience. While FR scales extremely well. While MS ISA will start to really putter out at about 50-100 NASs (depending on your hardware) FR will happily hum along with THOUSANDS of NASs. Jake Sallee Network

Radgroup replay

2011-03-25 Thread miha-
Hello guys, I was bothering you one month ago about my radius problem with centile ( problem was that centile was not sending right secret). We have finally fixed this issue and now the call goes through. I am facing different problem. After I answer on phone my call is being dropped by

sending detailed log to centralization logs server

2011-03-25 Thread Pierre Durand
Pierre Durand wrote: But how sending also detailed logs (/var/log/freeradius/radacct/IP/detail-* i need? raddb/sites-available/copy-acct-to-home-server Sorry, the purpose is to send detailled logs to a centralization logs server, not to another freeradius server --

Wrong packing of attributes?

2011-03-25 Thread Kristoffer Milligan
radiusd: FreeRADIUS Version 3.0.0, for host i686-pc-linux-gnu, built on Mar 24 2011 at 15:45:30 I'm on a bit of a limb here, but I think I might have found a bug. Far from sure though, so please don't kill me if I'm wrong. Example of authentication reply: Sending Access-Accept of id 162 to

freeradius

2011-03-25 Thread Rtz Poknat
i have a freeradius server with 25 vpn servers. i enabled simultaneous-use = 1, menaing only 1 user can login at a time the problem is, some vpn reboots suddently, so they didnt sent STOP packets to the radius server to close user connections. so when a vps suddenly reboots, there are still

Re: sending detailed log to centralization logs server

2011-03-25 Thread Bjørn Mork
Pierre Durand pierre.dur...@upmf-grenoble.fr writes: Pierre Durand wrote: But how sending also detailed logs (/var/log/freeradius/radacct/IP/detail-* i need? raddb/sites-available/copy-acct-to-home-server Sorry, the purpose is to send detailled logs to a

freeradius

2011-03-25 Thread Rtz Poknat
friend, can u help me i have a freeradius server with 25 vpn servers. i enabled simultaneous-use = 1, menaing only 1 user can login at a time the problem is, some vpn reboots suddently, so they didnt sent STOP packets to the radius server to close user connections. so when a vps suddenly

Re: Radius Integration with Active Directory

2011-03-25 Thread Alan DeKok
Sallee, Stephen (Jake) wrote: While MS ISA will start to really putter out at about 50-100 NASs (depending on your hardware) FR will happily hum along with THOUSANDS of NASs. I've done tests with 500,000 clients in the clients.conf file. The server uses a fair bit of RAM, but performance

Re: freeradius

2011-03-25 Thread Alan DeKok
Rtz Poknat wrote: so when a vps suddenly reboots, there are still user sessions there but infact, they are not coz the vpn server shutdown suddently. so when these users tried to login, they cant coz there is still a ghost session. How do you know that the NAS rebooted? are there any means

Re: Wrong packing of attributes?

2011-03-25 Thread Alan DeKok
Kristoffer Milligan wrote: Am I messing up something here, or could there be a bug in the encoder? Bug in the encoder. Fixed pushed to git. WiMAX is *weird*. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Attribute of User-name in Access-Accept paket does not match request User-name.

2011-03-25 Thread s_hira
hello. I use EAP-TLS authentication in freeRADIUS v2.1.10. Windows7 Computer authentication in EAP-TLS.  Access-Request : User-Name = host/user  Access-Accept : User-Name = user === degug message === rad_recv: Access-Request packet from host 192.168.1.102 port 4181, id=236, len gth=168

Re: Radius Integration with Active Directory

2011-03-25 Thread Alan DeKok
Raheel Itrat wrote: I have installed a freeradius machine on ubuntu server, now my boss wants me to integrate it with the Active directory so that the users can be authenticated through it. I was wondering design wise does it make sense to have a free radius server in between if we can run

Re: Duplicate Auth: Login OK:

2011-03-25 Thread Alan DeKok
Fajar A. Nugraha wrote: I believe there's also another (possibly related) bug: I disabled eap completely (comment-out the line $INCLUDE eap.conf on radiusd.conf, removed sites-enabled/inner-tunnel, and removed all reference to eap on sites-available/default and my virtual server), yet with a

Re: freeradius

2011-03-25 Thread Rtz Poknat
I know coz one morning, i used radwho and saw this one client connected for like 8 hrs straight. then i doubled check the vpn server hes connected and its been shutdown. is there a way to fix it? thank you alan dekok From: Alan DeKok

Re: Wrong packing of attributes?

2011-03-25 Thread Kristoffer Milligan
On 03/25/2011 09:59 AM, Alan DeKok wrote: Kristoffer Milligan wrote: Am I messing up something here, or could there be a bug in the encoder? Bug in the encoder. Fixed pushed to git. WiMAX is *weird*. Alan DeKok. - List info/subscribe/unsubscribe? See

Re: Wrong packing of attributes?

2011-03-25 Thread Alan DeKok
Kristoffer Milligan wrote: Anyway, ~/freeradius-server# git pull Already up-to-date. Did it push to production? It should be there now. Alan deKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: dlopen issues in 2.1.10

2011-03-25 Thread Alan DeKok
John Dennis wrote: I finally tracked this down and since it affects other people building 2.1.10 I thought I would pass along the info. Alan please also note there is a git formatted patch attached against the v2.1.x git branch and I think you also need to run autogen.sh again (see below).

Re: freeradius

2011-03-25 Thread Rtz Poknat
Mr. Alan DeKok My NAS is not a physical hardware. Its actually a radius client. Im using openVPN together with this radiusplugin : www.nongnu.org/radiusplugin/ But the question is, radcheck only works in real hardware right, like cisco, etc. From: Alan

Re: freeradius

2011-03-25 Thread Alan DeKok
Rtz Poknat wrote: My NAS is not a physical hardware. Its actually a radius client. sigh That has nothing to do with the problem. But the question is, radcheck only works in real hardware right, like cisco, etc. If you're not going to read my messages, I don't see why you're asking

Re: Duplicate Auth: Login OK:

2011-03-25 Thread Alan Buxey
Hi, I believe there's also another (possibly related) bug: I disabled eap completely (comment-out the line $INCLUDE eap.conf on radiusd.conf, removed sites-enabled/inner-tunnel, and removed all reference to eap on sites-available/default and my virtual server), yet with a simple radtest

Re: Strip off the domain part from the User-Name

2011-03-25 Thread Phil Mayers
On 25/03/11 09:39, Thomas Wunder wrote: On Thursday 24 March 2011 09:36:28 Phil Mayers wrote: Please post a full debug. It's not possible to find the real cause of your problem from the snippet. (see attachment) I am guessing that you're attempting to modify the username; you can't do that,

Radutmp help

2011-03-25 Thread Waqas Toor
Hello Community, I am unable to understand why my radutmp file is not being created. Can some body point me where I can be wrong. FreeRadius version 2.1.10 below is a snippet from log. [radutmp] expand: /usr/local/var/log/radius/radutmp - /usr/local/var/log/radius/radutmp Fri Mar 25

RE: Wrong packing of attributes?

2011-03-25 Thread David Peterson
If you are working on a VPWS service flow in an Alvarion 4-Motion base station you will have to do some steps to fix the NAS. 1.Update to the latest version for 2.2 2. Define the R3 attributes in a separate dictionary. 3. Update the main dictionary.wimax to make sure

RE: Radius Integration with Active Directory

2011-03-25 Thread Raheel Itrat
Alright thats from performance point of view, but if we integrate it with Active Directory then wouldn't that be a security issue to use protocol like NTLM?. I'd appreciate if someone can provide me a good howto link for freradius integration with Microsoft AD Date: Fri, 25 Mar 2011

Re: Duplicate Auth: Login OK:

2011-03-25 Thread Fajar A. Nugraha
On Fri, Mar 25, 2011 at 4:01 PM, Alan DeKok al...@deployingradius.com wrote: Fajar A. Nugraha wrote: I believe there's also another (possibly related) bug: I disabled eap completely (comment-out the line $INCLUDE eap.conf on radiusd.conf, removed sites-enabled/inner-tunnel, and removed all

Re: Radius Integration with Active Directory

2011-03-25 Thread Fajar A. Nugraha
On Fri, Mar 25, 2011 at 6:19 PM, Raheel Itrat raheel...@hotmail.com wrote: Alright thats from performance point of view, but if we integrate it with Active Directory then wouldn't that be a security issue to use protocol like NTLM?. Why would it be security issue? No clear-text password would

Re: Wrong packing of attributes?

2011-03-25 Thread Alan DeKok
David Peterson wrote: 1.Update to the latest version for 2.2 It's now pre-3.0 2. Define the R3 attributes in a separate dictionary. Already in share/dictionary.alvarion.wimax.v2_2 3. Update the main dictionary.wimax to make sure all of the Alvarion WiMAX- attributes

Re: Radutmp help

2011-03-25 Thread Alan DeKok
Waqas Toor wrote: Hello Community, I am unable to understand why my radutmp file is not being created. This is in the FAQ. Is the server receiving Accounting-Request packets? Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Duplicate Auth: Login OK:

2011-03-25 Thread Alan DeKok
Fajar A. Nugraha wrote: I've created a test case with as little modification as possible from the default config file, just enough to reproduce the problem. Here's the debug log Which helps. The issue is you're proxying it to an internal virtual server, just like EAP does. This confused

Re: Duplicate Auth: Login OK:

2011-03-25 Thread Fajar A. Nugraha
On Fri, Mar 25, 2011 at 7:54 PM, Alan DeKok al...@deployingradius.com wrote: Fajar A. Nugraha wrote: I've created a test case with as little modification as possible from the default config file, just enough to reproduce the problem. Here's the debug log  Which helps.  The issue is you're

RE: Wrong packing of attributes?

2011-03-25 Thread David Peterson
Excellent! I just ran a git pull but not sure if I am set up correctly. Here is the output I received. From git://git.freeradius.org/freeradius-server 03f1be4..92caaa4 master - origin/master 2ae298a..14f534a v2.1.x - origin/v2.1.x Should I make some changes to my git setup?

Re: Radutmp help

2011-03-25 Thread Waqas Toor
Thank you Alan, you are always there to help :) On Fri, Mar 25, 2011 at 5:50 PM, Alan DeKok al...@deployingradius.com wrote: Waqas Toor wrote: Hello Community, I am unable to understand why my radutmp file is not being created.  This is in the FAQ.  Is the server receiving

Re: Wrong packing of attributes?

2011-03-25 Thread Kristoffer Milligan
You want the master branch mate, git clone git://git.freeradius.org/freeradius-server.git http://git.freeradius.org/ On 03/25/2011 02:06 PM, David Peterson wrote: Excellent! I just ran a git pull but not sure if I am set up correctly. Here is the output I received. From

RE: Wrong packing of attributes?

2011-03-25 Thread David Peterson
Thanks! OK I am now getting this on compile... I must have screwed something up: make[4]: Entering directory `/usr/src/freeradius-server/freeradius-server/src/ma in' /usr/src/freeradius-server/freeradius-server/libtool --mode=compile gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall

radwho shows only the last user logged.

2011-03-25 Thread joao...@gmail.com
Hello guys, I have a question. I'm using freeradius 2.1.10 on debian squezze. I am using multiple databases for authentication, in an LDAP, and SQL in another. Each using a different Realm. Regarding the authentication, everything is working normally. But when I try to check the server how

rlm_linelog and syslog over UDP

2011-03-25 Thread Stefan Winter
Hi, are there any plans to add logging to *remote* syslog servers to the rlm_linelog module? Would be kinda cute; we want to log authentication results to a central statistics collection host - and going through re-send on the local syslog instance is a superfluous extra step. Greetings, Stefan

Re: Wrong packing of attributes?

2011-03-25 Thread Alan DeKok
David Peterson wrote: I just ran a git pull but not sure if I am set up correctly. Here is the output I received. You should be able to do git pull origin master:master Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: rlm_linelog and syslog over UDP

2011-03-25 Thread Alan DeKok
Stefan Winter wrote: are there any plans to add logging to *remote* syslog servers to the rlm_linelog module? Would be kinda cute; we want to log authentication results to a central statistics collection host - and going through re-send on the local syslog instance is a superfluous extra step.

Re: radwho shows only the last user logged.

2011-03-25 Thread Alan DeKok
joao...@gmail.com wrote: But when I try to check the server how many users are logged via the command radwho, it returns me only the last user who logged in, I think he should show everyone who is authenticated at this point right?? Your NAS is sending NAS-Port = 0 for all of the users.

Re: Wrong packing of attributes?

2011-03-25 Thread Alan DeKok
David Peterson wrote: OK I am now getting this on compile... I must have screwed something up: git pull again. Dang API differences between 2.1 and 3.0. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Radutmp help

2011-03-25 Thread Alan DeKok
Waqas Toor wrote: yes, accounting is working fine. Now please tell, is NAS-Port attribute is a *must* to get this radutmp to work ? as my ASN is not sending NAS-Port attribute in its accounting packet. Yes, it's required. Alan DeKok. - List info/subscribe/unsubscribe? See

Re: Radutmp help

2011-03-25 Thread Waqas Toor
On Fri, Mar 25, 2011 at 7:32 PM, Alan DeKok al...@deployingradius.com wrote: Waqas Toor wrote: yes, accounting is working fine. Now please tell, is NAS-Port attribute is a *must* to get this radutmp to work ? as my ASN is not sending NAS-Port attribute in its accounting packet.  Yes, it's

RE: Wrong packing of attributes?

2011-03-25 Thread David Peterson
That fixed it. Thanks! David -Original Message- From: Alan DeKok [mailto:al...@deployingradius.com] Sent: Friday, March 25, 2011 10:32 AM To: David Peterson-WirelessConnections; FreeRadius users mailing list Subject: Re: Wrong packing of attributes? David Peterson wrote: OK I am now

Re: Strip off the domain part from the User-Name

2011-03-25 Thread Thomas Wunder
On Friday 25 March 2011 11:15:58 you wrote: Use %{mschap:User-Name} everywhere; this will give the bare username That sounds consequent but what exactly do you mean by everywhere? I use the policy.conf (as you can see by the debug output from my previous posting) to define some policies that

Re: Strip off the domain part from the User-Name

2011-03-25 Thread Nolan King
freeradius 2.1.8: My environment uses ntlm_auth and ldap modules. in mschap module, i have a line like: ntlm_auth = /usr/bin/ntlm_auth --request-nt-key --username=%{%{Stripped-User-Name}:-%{User-Name:-None}} --challenge=%{mschap:Challenge:-00} --nt-re$ also, in ldap: filter =

Re: radwho shows only the last user logged.

2011-03-25 Thread joao...@gmail.com
OK Alan, First thanks for listening. Actually my NAS is sending the same port for all my users, but the door that she is sending is NAS-Port = 29. How can I configure it? is the radius or the NAS? If the radius, how do I setup? Thanks. 2011/3/25 Alan DeKok al...@deployingradius.com

RE: Strip off the domain part from the User-Name

2011-03-25 Thread Robert Roll
We're currently running 2.1.10.. I seemed to notice that the Out of the Box Config does not seem to actually create a Stripped-Username and Realm. I did find that when I created a real realm in the proxy.conf file, then a Stripped-Username and Realm were available. So, I thought that if I

Mac Auth and post-auth logging to SQL

2011-03-25 Thread Jason Antman
Hello, I'm running FreeRADIUS 2.1.7 on CentOS 5, and trying to configure MAC Auth Bypass. I got everything functioning correctly using the Mac-Auth Wiki page as a guide, including placement of the actual CSID authentication code in the post-auth section. However, I just enabled SQL in the

Re: Change session on the fly

2011-03-25 Thread Ben Wiechman
http://www.ietf.org/rfc/rfc5176.txt google is your friend... On Thu, Mar 24, 2011 at 7:56 AM, Euler Thomas Garcia euler.gar...@pocos-net.com.br wrote: Hi sorry, I do not know if this issue was discussed earlier. Wonder if it is possible to change parameters of the session on the fly eg

Re: radwho shows only the last user logged.

2011-03-25 Thread Alan DeKok
joao...@gmail.com wrote: Actually my NAS is sending the same port for all my users, but the door that she is sending is NAS-Port = 29. So your NAS is broken. I don't know why people do that... How can I configure it? is the radius or the NAS? The NAS. Read the NAS documentation.

Re: Strip off the domain part from the User-Name

2011-03-25 Thread Alan DeKok
Robert Roll wrote: We're currently running 2.1.10.. I seemed to notice that the Out of the Box Config does not seem to actually create a Stripped-Username and Realm. It creates those attributes if you define a realm. If you don't define a realm, it doesn't know how to create a Realm

Re: Mac Auth and post-auth logging to SQL

2011-03-25 Thread Alan DeKok
Jason Antman wrote: I'm running FreeRADIUS 2.1.7 on CentOS 5, and trying to configure MAC Auth Bypass. I got everything functioning correctly using the Mac-Auth Wiki page as a guide, including placement of the actual CSID authentication code in the post-auth section. However, I just enabled

Re: Change session on the fly

2011-03-25 Thread euler.garcia
Thanks, I did several searches on this topic but found no solution. I posted this topic to talk about the solution. I'm working on this topic. I'll post the solution to develop. Thank you for your attention Euler Thomas Garcia email / msn: euler.gar...@gmail.com -- View this message in

Re: radwho shows only the last user logged.

2011-03-25 Thread joao...@gmail.com
My NAS is cisco is a wireless controller. Any suggestions for settings? And I'm also keeping my sessions in SQL. Att. 2011/3/25 Alan DeKok al...@deployingradius.com joao...@gmail.com wrote: Actually my NAS is sending the same port for all my users, but the door that she is sending is

Re: Mac Auth and post-auth logging to SQL

2011-03-25 Thread Jason Antman
I'm referencing the Mac-Auth wiki page at: http://wiki.freeradius.org/Mac-Auth Alan DeKok wrote: Jason Antman wrote: I'm running FreeRADIUS 2.1.7 on CentOS 5, and trying to configure MAC Auth Bypass. I got everything functioning correctly using the Mac-Auth Wiki page as a guide, including

Re: radwho shows only the last user logged.

2011-03-25 Thread Alan Buxey
Hi, Actually my NAS is sending the same port for all my users, but the door that she is sending is NAS-Port = 29. So your NAS is broken. I don't know why people do that... Hello Cisco! :-) Don't use radutmp. Instead, store the sessions in SQL, and edit the SQL configuration.

RE: Strip off the domain part from the User-Name

2011-03-25 Thread Robert Roll
Uh.. if you don't read the documentation and don't understand what you're doing, it probably won't do what you want. Sometimes true, sometimes not :) Rather than randomly making changes, perhaps you could explain what you're trying to do, and why. Right now, I'm just experimenting and

Re: Strip off the domain part from the User-Name

2011-03-25 Thread Fajar A. Nugraha
On Sat, Mar 26, 2011 at 4:45 AM, Robert Roll robert.r...@utah.edu wrote:  A normal authorize might look like:   ldapAuthUser  if( %Realm ) {        ldapAuthVLAN  }    If one is smart about naming the Group in ldap the same as the Realm, then one can quite easily construct a search

Re: Strip off the domain part from the User-Name

2011-03-25 Thread Fajar A. Nugraha
On Sat, Mar 26, 2011 at 5:00 AM, Fajar A. Nugraha l...@fajar.net wrote: On Sat, Mar 26, 2011 at 4:45 AM, Robert Roll robert.r...@utah.edu wrote:  A normal authorize might look like:   ldapAuthUser  if( %Realm ) {        ldapAuthVLAN  }    If one is smart about naming the Group in ldap

RE: Strip off the domain part from the User-Name

2011-03-25 Thread Robert Roll
If you just want to split username@realm into username and realm, you should be able to use this in authorize section if (%{request:User-Name} =~ /^(.*)@/) { update request { Stripped-User-Name := %{1}