cancel
Showing results for 
Search instead for 
Did you mean: 

LDAP import users with groups

passg1
Champ in-the-making
Champ in-the-making
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?
2 REPLIES 2

andy
Champ on-the-rise
Champ on-the-rise
Hi

Group membership is only supported based on the DN of the members at the moment.

Andy

little_endian
Champ in-the-making
Champ in-the-making
Hi

Group membership is only supported based on the DN of the members at the moment.

Andy

Hi,

could not derive from the docs if that kind of group membership is supported meanwhile.

I have quite a similar group configuration compared to the opening post.

==== e d i t ======

further digging also leads me to
- https://forums.alfresco.com/en/viewtopic.php?t=3447
which seems to be the, yet unsolved(?) issue