LDAP password in log files

2013-09-30 Thread Matthew Ceroni
Is there any way to prevent FreeRadius from showing the password in logs (debug logs) when authentication is done via LDAP? Current I see : rad_recv: Access-Request packet from host 192.168.100.2 port 31011, id=13, length=129 User-Name = username User-Password = XX NAS-IP-Address =

Intermediate SSL certificate

2013-08-21 Thread Matthew Ceroni
I am having an issue with intermediate SSL certificate and clients failing to validate the certificate. When using intermediate certs in for instance Apache there is a separate directive where you specify the intermediate certs. Then as part of the SSL handshake those certs are sent along to the

Updating Reply Attributes in authenticate section

2013-05-01 Thread Matthew Ceroni
In my authorize section I am matching LDAP groups to set VLAN attributes as such: if (Ldap-Group == netCoreClass-IT) { update reply { Tunnel-Private-Group-Id:1 := 102 } } elsif (Ldap-Group == netCoreClass-engineering) {

Re: Updating Reply Attributes in authenticate section

2013-05-01 Thread Matthew Ceroni
Thanks for the reply. First, adding an else to the if statement doesn't really help. As that is in the authorize section that simply queries AD via LDAP to check for groups of the user. It uses an admin DN to bind and query, not the actual user credentials (as this is a PEAP) request. So I

Re: Proxy.conf realms

2013-03-16 Thread Matthew Ceroni
Thanks. I will try this. The subject line was because I was trying to match it to a realm and thought by doing it that way I could get it to strip off what I needed. On Saturday, March 16, 2013, Phil Mayers p.may...@imperial.ac.uk wrote: On 03/15/2013 10:47 PM, Matthew Ceroni wrote: Well I

Proxy.conf realms

2013-03-15 Thread Matthew Ceroni
When doing 802.1x authentication from a Windows computer it initially sends the request with the computer credentials. The username comes across as host/E4310-D7SZZN1.domain.local. I then query LDAP in authorize and do authentication against AD. In order to do both steps the username needs to be

Re: Proxy.conf realms

2013-03-15 Thread Matthew Ceroni
Well I found something that appears to work. I used the hints file. And it correctly stripped off the host/ and domain.local. However now I get the error [eap] Identity does not match User-Name, setting from EAP Identity [eap] Failed in handler On Fri, Mar 15, 2013 at 3:29 PM, Matthew Ceroni

Default user authentication

2013-03-12 Thread Matthew Ceroni
I am using FreeRadius for 802.1x on my wireless LAN (cisco WLC device). This is an older device and as such doesn't allow for guest or restricted VLANs like a physical switch does. One solution I saw online in a Cisco forum is to have a default user that returns the guest VLAN attribute for any

Re: Default user authentication

2013-03-12 Thread Matthew Ceroni
Alright, I will start researching that. Never heard of huntgroups. On Tue, Mar 12, 2013 at 10:51 AM, a.l.m.bu...@lboro.ac.uk wrote: Hi, As I use FreeRadius for my WLAN and LAN I don't want to apply this policy for the wired network. So, using the users file, can I create a default

Simple Peap + PAP authentication

2013-03-09 Thread Matthew Ceroni
Trying to setup 802.1x authentication on my home router (running OpenWRT). http://pastebin.com/fWtNZ8FD Above is the output of radiusd -X I am trying to connect via my Android phone. Shouldn't the request coming from the device include the ClearText password it is looking for? I am simply

Re: LDAP authorization

2013-03-07 Thread Matthew Ceroni
authorized to use remote access So then it continues onto the authorization part. How do I get it to reject if the user isn't found (or user is disabled)? On Thu, Mar 7, 2013 at 6:41 AM, Alan DeKok al...@deployingradius.comwrote: Matthew Ceroni wrote: I am using LDAP authorization. What I am looking

Re: LDAP authorization

2013-03-07 Thread Matthew Ceroni
, Mar 7, 2013 at 10:22 AM, Alan DeKok al...@deployingradius.comwrote: Matthew Ceroni wrote: That is what I tried. So I set base_filter = ((objectclass=user)(!(userAccountControl:1.2.840.113556.1.4.803:=2))) But what I am finding is whether the user is found and enabled, user is found

LDAP authorization

2013-03-06 Thread Matthew Ceroni
I am using LDAP authorization. What I am looking to accomplish is to reject/deny (so not even attempt authentication) for disabled users. I am authentication against AD (use LDAP for authorize and ntlm for authentication). If I were to search for all none disabled users using ldapsearch, the

Re: FreeRadius (version 2.1.12) + ntlm_auth (AD) authentication + LDAP authorization

2013-01-09 Thread Matthew Ceroni
double \\ are required. Thanks On Wed, Jan 9, 2013 at 12:18 PM, Matthew Ceroni matthewcer...@gmail.comwrote: Phil: Thanks for the response. My understanding of what was happening with LDAP was actually incorrect. I thought it was binding as the admin DN I provided and then re-binding

Re: FreeRadius (version 2.1.12) + ntlm_auth (AD) authentication + LDAP authorization

2013-01-09 Thread Matthew Ceroni
\5cusrtest. Where that 5c comes from I have no idea. Any thoughts? On Wed, Jan 9, 2013 at 3:27 AM, Phil Mayers p.may...@imperial.ac.uk wrote: On 01/09/2013 12:43 AM, Matthew Ceroni wrote: Hi: I am running FreeRadius version 2.1.12 on a CentOS 6 machine. For authentication I am using AD (ntlm_auth

Active Directory + LDAP + groups for dynamic VLAN assignment

2013-01-09 Thread Matthew Ceroni
Hi: I am using FreeRadius version 2.1.12 on CentOS6. I am authenticating against Active Directory (that works). And authorizing against LDAP (that works as well). I am trying to return attributes, used for VLAN assignment, based on the usersDN. In my /etc/raddb/sites-enabled/default (and

FreeRadius (version 2.1.12) + ntlm_auth (AD) authentication + LDAP authorization

2013-01-08 Thread Matthew Ceroni
Hi: I am running FreeRadius version 2.1.12 on a CentOS 6 machine. For authentication I am using AD (ntlm_auth) and this works create. In the the request the username is sent as just the plain username (ie: mceroni) and the NT-domain (ie: DOMAIN1). And it authenticates fine. My problem is on the