AnsweredAssumed Answered

LDAP import users with groups

Question asked by passg1 on Feb 8, 2008
Latest reply on Sep 6, 2012 by little_endian
Hi,

I've successfully setup Alfresco to import both my LDAP users and groups from OpenLDAP in linux. However, the imported groups remain empty.

Every LDAP user object has the following properties:


dn: uid=username,ou=People,dc=mydomain,dc=com
uid: username
uidNumber: 1032
gidNumber: 1004
homeDirectory: /home/GroupName/username
objectClass: inetOrgPerson
objectClass: posixAccount
objectClass: shadowAccount
objectClass: sambaSamAccount


And every LDAP group object has the following form:


dn: cn=GroupName,ou=Groups,dc=mydomain,dc=com
gidNumber: 1004
objectClass: top
objectClass: posixGroup
objectClass: sambaGroupMapping
sambaSID: S-1-5-21-138224145-2692400084-1320719637-3009
sambaGroupType: 2
cn: Temporales
memberUid: someOtherUid
memberUid: someOtherUid


But I can't find a way to set the group members in the ldapGroupExportSource bean using the user's gidNumber attribute, since I can't use the group's memberUid attribute because those are just secondary members of the group.

Any idea on how import the groups with their respective members?

Outcomes