Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - jmserrano

Pages: [1]
1
Directory and Authentication / Zentyal 4.2 LDAP and Freenas 9.10
« on: April 12, 2016, 09:50:01 am »
Hi.

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

I want to connect to Zentyal 4.2 LDAP server.

In freenas, 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 Zentyal configuration?

Thanks in advance

Pages: [1]