Thanks for your reply, I try to explain.
Populating memberOf attribiute to users entry working well using this:
olcDynListAttrSet: {1}inetOrgPerson labeledURI memberOf
User entry look as follow:
dn: uid=test1,ou=people,dc=test,dc=com
sambaAcctFlags: [U ]
sambaPwdLastSet: 9999999999
sambaNTPassword: pass
o: test
sambaSID: S-1-5-21-3945181060-1826002392-430723570
pwdPolicySubentry: cn=noexpire,ou=ppolicy,dc=test,dc=com
createTimestamp: 20220529070624.324Z
description: User account
userPassword:: pass
sambaPwdCanChange: 1528009736
sambaPwdMustChange: 0
mail: test1@test.com
loginShell: /bin/bash
givenName: Test1
sambaLogonTime: 0
sn: Test
cn: Test1 Test
objectClass: posixAccount
objectClass: top
objectClass: inetOrgPerson
objectClass: person
objectClass: organizationalPerson
objectClass: sambaSamAccount
objectClass: shadowAccount
homeDirectory: /home/test1
pwdChangedTime: 20220529070856.504Z
gidNumber: 1002
uidNumber: 1002
uid: test1
structuralObjectClass: inetOrgPerson
entryUUID: 348cd83e-7c6a-103c-8612-1918ce7a0bc4
creatorsName: cn=admin,dc=test,dc=com
labeledURI: ldap:///ou=groups,dc=test,dc=com??sub?(|(&(objectclass=groupOfUniqueNames)(uniqueMember=uid=test1,ou=people,dc=test,dc=com))(&(objectClass=posixGroup)(memberUid=test1)))
entryCSN: 20220609180738.487916Z#000000#001#000000
modifiersName: cn=admin,dc=test,dc=com
modifyTimestamp: 20220609180738Z
memberOf: cn=devops,ou=groups,dc=test,dc=com
entryDN: uid=test1,ou=people,dc=test,dc=com
subschemaSubentry: cn=Subschema
hasSubordinates: FALSEStatic group entry:
cn=devops,ou=groups,dc=test,dc=com
cn: devops
objectClass: groupOfUniqueNames
objectClass: top
description: devops group
uniqueMember: uid=test1,ou=people,dc=test,dc=com
uniqueMember: uid=test2,ou=people,dc=test,dc=com
Next what I want to do is agregate multiple groups to one virtual using this:
olcDynListAttrSet: {0}groupOfURLs memberURL member
Then I create appropiate group:
cn=testluri,ou=groups,dc=test,dc=com
cn: testluri
objectClass: top
objectClass: groupOfURLs
description: test group
memberURL: ldap:///ou=people,dc=test,dc=com??sub?(memberOf=cn=devops,ou=groups,dc=test,dc=com)
but this don't add memeber entry to this group. When I changing memberURL as follow:
memberURL: ldap:///ou=people,dc=test,dc=com??sub?(|(uid=test1)(uid=test2))
member attribute was added to testluri group:
cn=testluri,ou=groups,dc=test,dc=com
cn: testluri
objectClass: top
objectClass: groupOfURLs
description: test group
memberURL: ldap:///ou=people,dc=test,dc=com??sub?(memberOf=cn=devops,ou=groups,dc=test,dc=com)
member: uid=test1,ou=people,dc=test,dc=com
member: uid=test2,ou=people,dc=test,dc=com
but this is not the goal. As I mentioned I want to agregate multiple group to one using memberOf attribute in memberURL:
memberURL: ldap:///ou=people,dc=test,dc=com??sub?(memberOf=cn=devops,ou=groups,dc=test,dc=com)
but this not working. What I'm doing wrong?
Reagrds
BS