I have a client running CentOS directory 8.2.8, CentOS 5. We have a two multi-masters with two read-only replicas.We enabled the memberof plugin and it shows group memberships unreliably at best. Is this a known issue or I am perhaps missing something? For example:ldapsearch -x -w pass -H ldaps://devldapm01.domain.net -D cn=directory\ manager -LLLb ou=groups,dc=domain,dc=org cn=orgfulladminaccessdn: cn=orgfulladminaccess,ou=groups,dc=domain,dc=orguniqueMember: uid=rfw,ou=employees,dc=domain,dc=orguniqueMember: uid=admin,ou=Administrators,ou=TopologyManagement,o=NetscapeRootuniqueMember: uid=sathomas,ou=employees,dc=domain,dc=orguniqueMember: uid=rbateman,ou=employees,dc=domain,dc=orguniqueMember: uid=kacless,ou=employees,dc=domain,dc=orguniqueMember: uid=selectivesync,ou=employees,dc=domain,dc=orguniqueMember: uid=cverrill,ou=employees,dc=domain,dc=orguniqueMember: uid=morgan,ou=employees,dc=domain,dc=orguniqueMember: uid=fullAdminAccessUser,ou=people,dc=domain,dc=orgobjectClass: topobjectClass: groupofuniquenamesdescription: Group with full administrator access.cn: orgFullAdminAccessanderson:~ morgan$Notice that just two users are returned when I search for memberof=cn=orgfulladminaccess...anderson:~ morgan$ ldapsearch -x -w pass -H ldaps://devldap01.domain.net -D cn=directory\ manager -LLLb dc=domain,dc=org memberof=cn=orgfulladminaccess,ou=groups,dc=domain,dc=org dndn: uid=kacless,ou=employees,dc=domain,dc=orgdn: uid=morgan,ou=employees,dc=domain,dc=organderson:~ morgan$ ldapsearch -x -w pass -H ldaps://devldapm01.domain.net -D cn=directory\ manager -LLLb dc=domain,dc=org memberof=cn=orgfulladminaccess,ou=groups,dc=domain,dc=org dndn: uid=kacless,ou=employees,dc=domain,dc=orgdn: uid=morgan,ou=employees,dc=domain,dc=orgI did consider this possibility but I struggle to believe that I have to set up partial replication throughout just to get memberof working:http://www.redhat.com/archives/fedora-directory-users/2009-November/msg00058.htmlHere's the config on all four hosts;Masters:anderson:~ morgan$ ldapsearch -x -w pass -H ldaps://devldapm01.domain.net -D cn=directory\ manager -LLLb cn=config cn=memberof\ plugindn: cn=MemberOf Plugin,cn=plugins,cn=configobjectClass: topobjectClass: nsSlapdPluginobjectClass: extensibleObjectcn: MemberOf Pluginnsslapd-pluginPath: libmemberof-pluginnsslapd-pluginInitfunc: memberof_postop_initnsslapd-pluginType: postoperationnsslapd-pluginEnabled: onnsslapd-plugin-depends-on-type: databasememberofgroupattr: uniqueMembermemberofattr: memberOfnsslapd-pluginId: memberofnsslapd-pluginVersion: 8.2.8nsslapd-pluginVendor: CentOSnsslapd-pluginDescription: memberof pluginanderson:~ morgan$ ldapsearch -x -w pass -H ldaps://devldapm02.domain.net -D cn=directory\ manager -LLLb cn=config cn=memberof\ plugindn: cn=MemberOf Plugin,cn=plugins,cn=configobjectClass: topobjectClass: nsSlapdPluginobjectClass: extensibleObjectcn: MemberOf Pluginnsslapd-pluginPath: libmemberof-pluginnsslapd-pluginInitfunc: memberof_postop_initnsslapd-pluginType: postoperationnsslapd-pluginEnabled: onnsslapd-plugin-depends-on-type: databasememberofgroupattr: uniqueMembermemberofattr: memberOfnsslapd-pluginId: memberofnsslapd-pluginVersion: 8.2.8nsslapd-pluginVendor: CentOSnsslapd-pluginDescription: memberof pluginanderson:~ morgan$ read-only consumers:anderson:~ morgan$ ldapsearch -x -w pass -H ldaps://devldap01.domain.net -D cn=directory\ manager -LLLb cn=config cn=memberof\ plugindn: cn=MemberOf Plugin,cn=plugins,cn=configobjectClass: topobjectClass: nsSlapdPluginobjectClass: extensibleObjectcn: MemberOf Pluginnsslapd-pluginPath: libmemberof-pluginnsslapd-pluginInitfunc: memberof_postop_initnsslapd-pluginType: postoperationnsslapd-pluginEnabled: onnsslapd-plugin-depends-on-type: databasememberofgroupattr: uniquemembermemberofattr: memberOfnsslapd-pluginId: memberofnsslapd-pluginVersion: 8.2.8nsslapd-pluginVendor: CentOSnsslapd-pluginDescription: memberof pluginanderson:~ morgan$ ldapsearch -x -w pass -H ldaps://devldap02.domain.net -D cn=directory\ manager -LLLb cn=config cn=memberof\ plugindn: cn=MemberOf Plugin,cn=plugins,cn=configobjectClass: topobjectClass: nsSlapdPluginobjectClass: extensibleObjectcn: MemberOf Pluginnsslapd-pluginPath: libmemberof-pluginnsslapd-pluginInitfunc: memberof_postop_initnsslapd-pluginType: postoperationnsslapd-pluginEnabled: onnsslapd-plugin-depends-on-type: databasememberofgroupattr: uniquemembermemberofattr: memberOfnsslapd-pluginId: memberofnsslapd-pluginVersion: 8.2.8nsslapd-pluginVendor: CentOSnsslapd-pluginDescription: memberof pluginanderson:~ morgan$ thanks,-morgan--389 users mailing list389-users@xxxxxxxxxxxxxxxxxxxxxxxhttps://admin.fedoraproject.org/mailman/listinfo/389-users
I am almost positive that fractional replication is required for that plugin.
Anything in logs about unwilling to perform?
The whole "unreliable at best" comment makes me think the new entries will work but not existing. Is this true?
For existing entries, did you run the fix-up task mentioned in the link below?
|