Re: Problems freeradius and samba4

2013-06-23 Thread Alan DeKok
ricardobarbosams wrote: [ldap] ldap_search() failed: Operations error [ldap] search failed [ldap] ldap_release_conn: Release Id: 0 ++[ldap] returns fail Read raddb/modules/ldap. Look for operations error. This is documented in v2.2.0. If you're not running 2.2.0, then upgrade. Or,

Re: Problems freeradius and samba4

2013-06-23 Thread A . L . M . Buxey
Hi, With user administrator not worked. look log file [ldap] performing user authorization for test [ldap] expand: ((objectClass=user)(sAMAccountName=%{User-Name})) - ((objectClass=user)(sAMAccountName=test)) [ldap] expand: dc=batlab,dc=corp - dc=batlab,dc=corp

Re: Problems freeradius and samba4

2013-06-22 Thread ricardobarbosams
Hi Ortega, With user administrator not worked. look log file [ldap] performing user authorization for test [ldap] expand: ((objectClass=user)(sAMAccountName=%{User-Name})) - ((objectClass=user)(sAMAccountName=test)) [ldap] expand: dc=batlab,dc=corp - dc=batlab,dc=corp [ldap]

Re: Problems freeradius and samba4

2013-06-14 Thread Roberto Ortega Ramiro
Hi, i'm starter here but, the user freeradius in your ldap must be able to read user's passwords. Try with administrator in /etc/raddb/modules/ldap and if it works, the user freeradius won't has rigths for this. By El viernes, 14 de junio de 2013, ricardobarbosams escribió: Hi. Executing

Re: Problems freeradius and samba4

2013-06-13 Thread Iliya Peregoudov
On 12.06.2013 4:19, ricardobarbosams wrote: No my filter is filter = ((objectClass=user)(sAMAccountName=%{User-Name})) I do not talk about filter, I do talk about binding to the directory. Your ldapsearch binds to the directory using one user and your radiusd binds to directory as another

Re: Problems freeradius and samba4

2013-06-11 Thread Iliya Peregoudov
On 10.06.2013 23:29, ricardobarbosams wrote: [ldap] bind as CN=freeradius,OU=noc,OU=batlab,DC=batlab,DC=corp/ to 192.168.0.4:389 [skipped] # ldapsearch -LLL -h 192.168.0.4 -b dc=batlab,dc=corp -D us...@batlab.corp -W '((objectClass=user)(sAMAccountName=user))' freeradius binds as

Re: Problems freeradius and samba4

2013-06-11 Thread ricardobarbosams
Hi Alan, my version freeradius root@maxwell:~# freeradius -v freeradius: FreeRADIUS Version 2.1.10, for host x86_64-pc-linux-gnu, built on Sep 24 2012 at 17:58:57 Copyright (C) 1999-2010 The FreeRADIUS server project and contributors. Regards. Em 06/10/13 15:33, Alan DeKok escreveu:

Re: Problems freeradius and samba4

2013-06-11 Thread ricardobarbosams
freeradius binds as CN=freeradius,OU=noc,OU=batlab,DC=batlab,DC=corp and ldapsearch binds as us...@batlab.corp. Maybe this is the cause of different search operation results. - No my filter is filter = ((objectClass=user)(sAMAccountName=%{User-Name})) Regards. - List

Problems freeradius and samba4

2013-06-10 Thread ricardobarbosams
Hi all. I trying deploy the environment beetween freeradius and samba4 for wireless network. The topology follow bellow. access point freeradius server - server samba4 I setting the access point for authenticate in freeradius server and freeradius using ldap e authenticate in

Re: Problems freeradius and samba4

2013-06-10 Thread Alan DeKok
ricardobarbosams wrote: [ldap] ldap_search() failed: Operations error Read raddb/modules/ldap. Look for operations error. I noticed that the ldap Samba4 does not possess the attribute user-password, is this the cause? No. My settings: Ubuntu Linux 12.04.2 Access Point: Linksys