[Date Prev][Date Next] [Chronological] [Thread] [Top]

memberof attribute not displaying for a user



Hi,
i did following steps for displaying memberof attribute for a user in red hat linux 6
1) first i added memberof module by memberofModule.ldif

dn: cn=module,cn=config
objectClass: olcModuleList
cn: module
olcModuleLoad: ppolicy
olcModulePath: /usr/lib64/openldap

2)then i loaded refint module by refintModule.ldif
dn: cn=module,cn=config
objectClass: olcModuleList
cn: module
olcModuleLoad: refint
olcModulePath: /usr/lib64/openldap

3)then i added memberof overlay by memberofoverlay.ldif

dn: olcOverlay={6}memberof,olcdatabase={2}bdb,cn=config
objectClass: olcConfig
objectClass: olcMemberOf
objectClass: olcOverlayConfig
objectClass: top
olcOverlay: memberof
olcMemberOfdefault: cn=Default,ou=policies,dc=transfer,dc=com
olcMemberOfDangling: ignore
olcMemberOfRefInt: TRUE
olcMemberOfGroupOC: groupOfNames
olcMemberOfMemberAD: member
olcMemberOfMemberOfAD: memberof

4)then i added refint overlay by refintoverlay.ldif

dn: olcOverlay={7}refint,olcdatabase={2}bdb,cn=config
objectClass: olcConfig
objectClass: olcRefintConfig
objectClass: olcOverlayConfig
objectClass: top
olcOverlay: {7}refint
olcRefintAttribute: memberof member manager owner seeAlso roleOccupant

5)then created one ou 
dn: ou=Cion,dc=transfer,dc=com
ou: policies
objectClass: top
objectClass: organizationalUnit

and then added one group and added CUser77 to this group
dn: cn=CGroup1,ou=Cion,dc=transfer,dc=com
cn: CGroup1
objectClass: top
objectClass: groupOfNames
member: uid=CUser77,ou=Cion,dc=transfer,dc=com

But when i serached this user i am unable to retrieve user memberof attribute
So how we can filter that user is added in that group?

 
Thanks & Regards
Zeya Alam Badar