Hi Christopher,

Try to use "memberofgroupattr: uniquemember" instead of  the default value "memberofgroupattr: member" in the plugin configuration entry. The detailed documentation can be found here: https://access.redhat.com/documentation/en-US/Red_Hat_Directory_Server/10/html/Configuration_Command_and_File_Reference/memberof-attributes.html

Regards,

2015-07-09 20:22 GMT+02:00 Christopher Westerfield <westerfield.chris@gmail.com>:
Hi,
I hope someone here can help me.
I’m having the same issue on two other managed systems.

So first of all Distribution: Debian
Installed 389 LDAP Server: 1.3.3.5
Installed with Kolab Groupware Server

My Problem is, that I can’t Query against the memberOf Flag

This would be the Query that I need to get Working

(&(uid=cwest)(memberOf=cn=general-users,ou=Groups,ou=Domain.com,dc=ldap,dc=treedomain,dc=tld))

But I dont get any results on the query.


This would be the group data:
 # LDIF Export for cn=General-Users,ou=Groups,ou=Domain.com,dc=ldap,dc=treedomain,dc=tld
 # Server: Saila (ldap://localhost)
 # Search Scope: base
 # Search Filter: (objectClass=*)
 # Total Entries: 1
 #
 # Generated by phpLDAPadmin (http://phpldapadmin.sourceforge.net) on July 9, 2015 6:17 pm
 # Version: 1.2.3

 version: 1

 # Entry 1: cn=General-Users,ou=Groups,ou=Domain.com,dc=ldap,dc=treedomain,dc=tld
 dn: cn=General-Users,ou=Groups,ou=Domain.com,dc=ldap,dc=treedomain,dc=tld
 cn: General-Users
 objectclass: top
 objectclass: groupofuniquenames
 uniquemember: uid=saicher,ou=People,ou=Domain.com,dc=ldap,dc=treedomain,dc=tld
 uniquemember: uid=thoralf,ou=People,ou=Domain.com,dc=ldap,dc=treedomain,dc=tld
 uniquemember: uid=cwesterfield,ou=People,ou=Domain.com,dc=ldap,dc=treedomain,dc=tld
 uniquemember: uid=freygeist,ou=People,ou=Domain.com,dc=ldap,dc=treedomain,dc=tld
 uniquemember: uid=requiem,ou=People,ou=Domain.com,dc=ldap,dc=treedomain,dc=tld

And this is the Plugin Configuration from the cn=config database:

# LDIF Export for cn=MemberOf Plugin,cn=plugins,cn=config
# Server: Saila (ldap://localhost)
# Search Scope: base
# Search Filter: (objectClass=*)
# Total Entries: 1
#
# Generated by phpLDAPadmin (http://phpldapadmin.sourceforge.net) on July 9, 2015 6:20 pm
# Version: 1.2.3

version: 1

# Entry 1: cn=MemberOf Plugin,cn=plugins,cn=config
dn: cn=MemberOf Plugin,cn=plugins,cn=config
cn: MemberOf Plugin
memberofattr: memberOf
memberofgroupattr: member
nsslapd-plugin-depends-on-type: database
nsslapd-plugindescription: memberof plugin
nsslapd-pluginenabled: on
nsslapd-pluginid: memberof
nsslapd-plugininitfunc: memberof_postop_init
nsslapd-pluginpath: libmemberof-plugin
nsslapd-plugintype: betxnpostoperation
nsslapd-pluginvendor: none
nsslapd-pluginversion: none
objectclass: top
objectclass: nsSlapdPlugin
objectclass: extensibleObject

I need this feature really bad as several of the connected Software need the memberOf flag to work properly.
I hope somebody can help me with this.
My openldap Servers don’t have this issue, but they don’t use replication and skaling.

thx


Chris


-- 
Mit freundlichen Grüßen

Christopher Westerfield

Tel:    +49-(0)8161 - 49-24-09-8
Fax:   +49-(0)8161 - 91
-05-07-2
Mobil: +49-(0)176-985-845-77

Internet: http://www.dsws.biz

Anschrift:
Thalhauser Strasse 23a
85354 Freising
Bayern
Deutschland

Büro Zeiten:
Termine nur nach Vereinbarung/Anmeldung


Email:
Buchhaltung: buchhaltung@dsws.biz
Support: support@dsws.biz


--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users