Replies: 3 comments 2 replies
-
|
maintainPosixGroupMembership |
Beta Was this translation helpful? Give feedback.
-
|
please check
|
Beta Was this translation helpful? Give feedback.
-
How to Use posixGroups with OpenIDM and OpenDJThe ProblemBy default, OpenIDM's LDAP connector is configured to manage group membership using the The
Because of this fundamental schema difference, simply changing the objectClass in OpenDJ Required Changes1. OpenDJ — Group Entry SchemaYour group entries in OpenDJ must use A valid posixGroup LDIF entry looks like this:
2.
|
| Location | Property | Old Value | New Value |
|---|---|---|---|
configurationProperties |
groupMemberAttribute |
"uniqueMember" |
"memberUid" |
configurationProperties |
maintainPosixGroupMembership |
false |
true |
configurationProperties |
uidAttribute |
"dn" |
"uid" |
objectTypes.group.properties |
group member field | uniqueMember block |
memberUid block |
Role Assignment — No Changes Needed
The role → assignment → ldapGroups mechanism works the same way.
In your assignment, you still reference the group by its DN:
{
"name": "ldapGroups",
"value": [
"cn=mygroup,ou=Groups,dc=example,dc=com"
],
"assignmentOperation": "mergeWithTarget",
"unassignmentOperation": "removeFromTarget"
}OpenIDM resolves the group entry by DN and then writes the user's uid value
into that group's memberUid attribute — provided all three connector properties
above are correctly set.
Verification
After applying the changes, trigger a sync and verify in OpenDJ:
ldapsearch \
--port 1389 \
--hostname localhost \
--baseDN "dc=example,dc=com" \
--bindDN "cn=Directory Manager" \
--bindPassword password \
--searchScope sub \
"(cn=mygroup)" dn cn memberUidExpected output:
dn: cn=mygroup,ou=Groups,dc=example,dc=com
cn: mygroup
memberUid: jdoe
memberUid: bjensen
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
Context :
When a group is assigned to a user via a role, the uniqueMember attribute is added.
Goal :
I would like to use posixGroups and therefore have the memberUid attribute updated instead of uniqueMember.
I am using OpenDJ.
(I changed posixGroup to structural on OpenDJ (in 04-rfc2307bis.ldif) ).
I have tried several ways but it's not successful.
Can you help me ?
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions