Samba with LDAP server 0 results

Status
Not open for further replies.

jmserrano

Cadet
Joined
Dec 29, 2015
Messages
6
Hi.

Working with FreeNAS-9.10-STABLE-201603252134 (412fb1c)

I want to connect to Zentyal 4.2 LDAP server.

I can see in debug.log the next LDAP query

Apr 7 05:02:49 freenas cachetool.py: [common.freenasldap:374] FreeNAS_LDAP_Directory._search: based
n = 'CN=Users,DC=biodurcal,DC=com', filter = '(&(|(objectclass=person)(objectclass=posixaccount)(obj
ectclass=account))(uid=*))'


This query returns 0 results.

In Zentyal 4.2, user number field (uid) is on attribute sAMAccountname, so this filter

filter = '(&(|(objectclass=person)(objectclass=posixaccount)(objectclass=account))(sAMAccountname=*))'

returns the correct user list.

Is there any way to modify this in Freenas configuration?

Thanks in advance
 
D

dlavigne

Guest
This sounds like a good feature request. Please create one at bugs.freenas.org and post the issue number here.
 

jmserrano

Cadet
Joined
Dec 29, 2015
Messages
6
Thanks, the feature request is #14516

Just for the impatient, is there actually any way to achieve this or must i wait for the feature request resolution?

Again thank you very much

Kind regards
 
D

dlavigne

Guest
I don't know, but the dev should be able to describe a workaround once they have a chance to investigate the ticket.
 

bakcsa

Cadet
Joined
Jun 21, 2016
Messages
1
Hi jmserrano,

Did you find a workaround for this issue? I'm having the same problem.

Regards,
Zoltan
 
Status
Not open for further replies.
Top