Question
FAC as LDAP-Server - memberOf filter not working
We want to use the FAC as LDAP-Server with the built-in LDAP-Service feature. So we use only local users and groups.
But we can't filter, when we are using memberOf in the filter criteria
OK
ldapsearch -W -x -b "dc=auth,dc=example,dc=net" -H "ldap://192.168.11.6" -D "UID=ldapbind,DC=auth,DC=example,DC=net" "(objectClass=facPerson)"
Enter LDAP Password:
# extended LDIF
#
# LDAPv3
# base <dc=auth,dc=example,dc=net> with scope subtree
# filter: (objectClass=facPerson)
# requesting: ALL
#
# sascha, users, auth.example.net
dn: uid=sascha,ou=users,dc=auth,dc=example,dc=net
objectClass: facPerson
objectClass: inetLocalMailRecipient
objectClass: inetOrgPerson
objectClass: nisMailAlias
objectClass: organizationalPerson
objectClass: person
cn:: IA==
uid: sascha
memberOf: cn=officevpn,ou=groups,dc=auth,dc=example,dc=net
not working
ldapsearch -W -x -b "dc=auth,dc=example,dc=net" -H "ldap://192.168.11.6" -D "UID=ldapbind,DC=auth,DC=example,DC=net" "(&(objectClass=facPerson)(memberOf=cn=officevpn,ou=groups,dc=auth,dc=example,dc=net))"
Enter LDAP Password:
# extended LDIF
#
# LDAPv3
# base <dc=auth,dc=example,dc=net> with scope subtree
# filter: (&(objectClass=facPerson)(memberOf=cn=officevpn,ou=groups,dc=auth,dc=example,dc=net))
# requesting: ALL
#
# search result
search: 2
result: 0 Success
# numResponses: 1
In openldap server scanerios, we know that memberOf must be enabled. Is there any special with FAC also?
