If it still doesn&#39;t work, it&#39;s a matter of the plug-in configuration and presence. Verify your dse.ldif. You shoud have something like<br><br>dn: cn=MemberOf Plugin,cn=plugins,cn=config<br>objectClass: top<br>objectClass: nsSlapdPlugin<br>

objectClass: extensibleObject<br>cn: MemberOf Plugin<br>nsslapd-pluginPath: libmemberof-plugin<br>nsslapd-pluginInitfunc: memberof_postop_init<br>nsslapd-pluginType: postoperation<br>nsslapd-pluginEnabled: on<br>nsslapd-plugin-depends-on-type: database<br>

memberofgroupattr: uniqueMember<br>memberofattr: memberOf<br>nsslapd-pluginId: memberof<br>nsslapd-pluginVersion: 1.2.0<br>nsslapd-pluginVendor: Fedora Project<br>nsslapd-pluginDescription: memberof plugin<br><br><br>The importnant parameters are :<br>

nsslapd-pluginEnabled: on<br>memberofgroupattr: uniqueMember<br>
memberofattr: memberOf<br><br>Other than that you may have the plug-in binaries missing...<br><br><div class="gmail_quote">2009/5/25 John A. Sullivan III <span dir="ltr">&lt;<a href="mailto:jsullivan@opensourcedevel.com">jsullivan@opensourcedevel.com</a>&gt;</span><br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hmm . . . this made perfect sense and I thought it would be the end of<br>
my problems for sure.  However, I added inetUser, ran fixup_memberof.pl<br>
and still see no memberOf populated attribute even if I ask for it<br>
explicitly:<br>
<br>
[root@ldap01 ~]# /usr/lib64/mozldap/ldapsearch -b &quot;ou=Desks,o=a100,o=Internal,dc=ssiservices,dc=biz&quot; -D &quot;cn=Directory Manager&quot; -w - -h ldap01 uid=jasiii<br>
Enter bind password:<br>
version: 1<br>
<div class="im">dn: uid=jasiii,ou=Desks,o=a100,o=Internal,dc=ssiservices,dc=biz<br>
</div><div class="im">objectClass: top<br>
objectClass: person<br>
objectClass: organizationalPerson<br>
objectClass: inetOrgPerson<br>
objectClass: posixAccount<br>
objectClass: account<br>
objectClass: posixgroup<br>
objectClass: shadowaccount<br>
</div>objectClass: inetuser<br>
physicalDeliveryOfficeName: Kennebunk<br>
telephoneNumber: +1 (207) xxx-xxxx<br>
mail: <a href="mailto:jsullivan@example.com">jsullivan@example.com</a><br>
sn: Sullivan III<br>
givenName: John A.<br>
loginShell: /bin/bash<br>
homeDirectory: /home/jasiii<br>
gidNumber: 100001<br>
uidNumber: 100001<br>
cn: jasiii<br>
uid: jasiii<br>
userPassword: {SSHA}p5K8zhxQYqkjCXmu617H2DtnDKDgnom3qTgQAg==<br>
shadowLastChange: 14366<br>
l: Kennebunk<br>
postalCode: 04043-XXXX<br>
postOfficeBox: PO Box XXX<br>
st: ME<br>
[root@ldap01 ~]# /usr/lib64/mozldap/ldapsearch -b &quot;ou=Desks,o=a100,o=Internal,dc=ssiservices,dc=biz&quot; -D &quot;cn=Directory Manager&quot; -w - -h ldap01 uid=jasiii memberOf<br>
Enter bind password:<br>
version: 1<br>
<div class="im">dn: uid=jasiii,ou=Desks,o=a100,o=Internal,dc=ssiservices,dc=biz<br>
<br>
</div>I then explicitly added the memberOf attribute to a user, created a<br>
bogus group and added the user to the group.  Still no memberOf.  What<br>
am I doing wrong? Thanks - John<br>
<div><div></div><div class="h5"><br>
<br>
On Fri, 2009-05-22 at 22:59 +0200, Andrey Ivanov wrote:<br>
&gt;<br>
&gt;<br>
&gt; 2009/5/22 John A. Sullivan III &lt;<a href="mailto:jsullivan@opensourcedevel.com">jsullivan@opensourcedevel.com</a>&gt;<br>
&gt;         Ah, I did not do that as I thought the filter would make the<br>
&gt;         change to<br>
&gt;         users with objectClass inetOrgPerson.<br>
&gt; No. The filter just searches what you have in your directory<br>
&gt;<br>
&gt;<br>
&gt;          I am virtually certain the users<br>
&gt;         do not explicitly have inetUser as an object class.  Are they<br>
&gt;         supposed<br>
&gt;         to?<br>
&gt; Yes. The set of the attributes that your entry can hold is defined by<br>
&gt; the classes listed in &quot;objectClass&quot;. And the attribute memberOf is<br>
&gt; part of the &quot;inetUser&quot; objectClass.<br>
&gt;<br>
&gt;         Is this done by default or is the need to add this object<br>
&gt;         class to<br>
&gt;         all users in order to use memberOf missing from the<br>
&gt;         documentation (or<br>
&gt;         overlooked by me!).<br>
&gt; No. It is not done by default, you need to add the &quot;objectClass:<br>
&gt; inetUser&quot; (or any other objectClass containing the memberOf attribute)<br>
&gt; to each user entry. You can make a small perl script that does for all<br>
&gt; your users something like<br>
&gt;<br>
&gt; -------------<br>
&gt; dn: uid=jasiii,ou=Desks,o=a100,o=Internal,dc=ssiservices,dc=biz<br>
&gt; changetype: add<br>
&gt; objectclass: inetUser<br>
&gt; -------------<br>
&gt;<br>
&gt;<br>
&gt; You can test it with the GUI of the console for one or two user<br>
&gt; entries just to be sure the attribute memberOf works as you wish...<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;         objectClass: top<br>
&gt;         objectClass: person<br>
&gt;         objectClass: organizationalPerson<br>
&gt;         objectClass: inetOrgPerson<br>
&gt;         objectClass: posixAccount<br>
&gt;         objectClass: account<br>
&gt;         objectClass: posixgroup<br>
&gt;         objectClass: shadowaccount<br>
&gt; The origin of your problem is the absence of &quot;objectClass: inetUser&quot;<br>
&gt; necessary to add memberOf attribute to the entry...<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;         Thanks - John<br>
&gt;<br>
&gt;<br>
&gt;         On Fri, 2009-05-22 at 08:31 +0200, Andrey Ivanov wrote:<br>
&gt;         &gt; Can you show me the result of<br>
&gt;         &gt; /usr/lib64/mozldap/ldapsearch -b<br>
&gt;         &gt; &quot;ou=Desks,o=a100,o=Internal,dc=ssiservices,dc=biz&quot; -D<br>
&gt;         &quot;cn=Directory<br>
&gt;         &gt; Manager&quot; -w - -h ldap uid=jasiii objectClass<br>
&gt;         &gt;<br>
&gt;         &gt; It will list all the objectClasses of your entry. If<br>
&gt;         &quot;objectClass:<br>
&gt;         &gt; inetUser&quot; is not present in the result of this search you<br>
&gt;         should, as i<br>
&gt;         &gt; said in the previous message, add this objectClass to all<br>
&gt;         the entries<br>
&gt;         &gt; you&#39;re going to manage with memberOf plug-in, smth like:<br>
&gt;         &gt;<br>
&gt;         &gt; dn:<br>
&gt;         uid=jasiii,ou=Desks,o=a100,o=Internal,dc=ssiservices,dc=biz<br>
&gt;         &gt; changetype: add<br>
&gt;         &gt; objectclass: inetUser<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt; Hope it helps .<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt; 2009/5/22 John A. Sullivan III<br>
&gt;         &lt;<a href="mailto:jsullivan@opensourcedevel.com">jsullivan@opensourcedevel.com</a>&gt;<br>
&gt;         &gt;         I&#39;m starting to feel really stupid here - still not<br>
&gt;         working.<br>
&gt;         &gt;<br>
&gt;         &gt;         I thought the filter must be the problem for sure.<br>
&gt;          I assumed<br>
&gt;         &gt;         from the<br>
&gt;         &gt;         documentation that no filter meant the task would<br>
&gt;         add the<br>
&gt;         &gt;         attribute for<br>
&gt;         &gt;         everything that could take a memberOf attribute.  I<br>
&gt;         did not<br>
&gt;         &gt;         realize it<br>
&gt;         &gt;         defaulted to inetuser.  So I recreated the task with<br>
&gt;         a filter<br>
&gt;         &gt;         of<br>
&gt;         &gt;         (objectClass=inetOrgPerson) but it still did not<br>
&gt;         seem to work.<br>
&gt;         &gt;<br>
&gt;         &gt;         I thought perhaps I was doing ldapmodify wrong<br>
&gt;         (enter the<br>
&gt;         &gt;         parameters,<br>
&gt;         &gt;         double enter, then CTL D) so I edited the<br>
&gt;         fixup-memberof.pl<br>
&gt;         &gt;         script<br>
&gt;         &gt;         according to Rich&#39;s instructions.  It ran without<br>
&gt;         error (by<br>
&gt;         &gt;         the way, it<br>
&gt;         &gt;         reflects the admin password when using -w - !!!).<br>
&gt;          But still<br>
&gt;         &gt;         no success.<br>
&gt;         &gt;<br>
&gt;         &gt;         Perhaps I am checking incorrectly.  I did not expect<br>
&gt;         to see<br>
&gt;         &gt;         memberOf<br>
&gt;         &gt;         listed as an attribute in the advanced console<br>
&gt;         screen for the<br>
&gt;         &gt;         user since<br>
&gt;         &gt;         it is a managed attribute.  But I did try to view it<br>
&gt;         with an<br>
&gt;         &gt;         ldapsearch:<br>
&gt;         &gt; It should be visible as an attribute you can add (provided<br>
&gt;         your entry<br>
&gt;         &gt; has &quot;objectClass: inetUser&quot;)<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt;         /usr/lib64/mozldap/ldapsearch -b<br>
&gt;         &gt;<br>
&gt;         &gt;         &quot;ou=Desks,o=a100,o=Internal,dc=ssiservices,dc=biz&quot;<br>
&gt;         -D<br>
&gt;         &gt;         &quot;cn=Directory<br>
&gt;         &gt;         Manager&quot; -w - -h ldap uid=jasiii memberOf<br>
&gt;         &gt;<br>
&gt;         &gt;         Is this how I would check for success?<br>
&gt;         &gt;<br>
&gt;         &gt;         There is nothing suspicious in the error log.  I do<br>
&gt;         have the<br>
&gt;         &gt;         audit log<br>
&gt;         &gt;         enabled.  I see the creation and automatic deletion<br>
&gt;         of the<br>
&gt;         &gt;         task but I do<br>
&gt;         &gt;         not see any changes to objects to add and populate<br>
&gt;         the<br>
&gt;         &gt;         memberOf<br>
&gt;         &gt;         attribute.  I&#39;ll paste in some excerpts below.<br>
&gt;         &gt;<br>
&gt;         &gt;         What next? Thanks - John<br>
&gt;         &gt;<br>
&gt;         &gt;         time: 20090520221132<br>
&gt;         &gt;         dn: cn=fixMemberOf,cn=memberof<br>
&gt;         task,cn=tasks,cn=config<br>
&gt;         &gt;         changetype: add<br>
&gt;         &gt;<br>
&gt;         &gt;         objectClass: top<br>
&gt;         &gt;         objectClass: extensibleObject<br>
&gt;         &gt;         cn: fixMemberOf<br>
&gt;         &gt;         basedn: o=Internal,dc=ssiservices,dc=biz<br>
&gt;         &gt;<br>
&gt;         &gt;         creatorsName: cn=xxxx<br>
&gt;         &gt;         modifiersName: cn=xxx<br>
&gt;         &gt;         createTimestamp: 20090521021132Z<br>
&gt;         &gt;         modifyTimestamp: 20090521021132Z<br>
&gt;         &gt;<br>
&gt;         &gt;         time: 20090520221333<br>
&gt;         &gt;         dn: cn=fixmemberof,cn=memberof<br>
&gt;         task,cn=tasks,cn=config<br>
&gt;         &gt;         changetype: delete<br>
&gt;         &gt;         modifiersname: cn=server,cn=plugins,cn=config<br>
&gt;         &gt;<br>
&gt;         &gt;         time: 20090520222242<br>
&gt;         &gt;         dn: cn=fixMemberOf,cn=memberof<br>
&gt;         task,cn=tasks,cn=config<br>
&gt;         &gt;         changetype: add<br>
&gt;         &gt;<br>
&gt;         &gt;         objectClass: top<br>
&gt;         &gt;         objectClass: extensibleObject<br>
&gt;         &gt;         cn: fixMemberOf<br>
&gt;         &gt;         basedn:<br>
&gt;         ou=Desks,o=a100,o=Internal,dc=ssiservices,dc=biz<br>
&gt;         &gt;         creatorsName: cn=xxxx<br>
&gt;         &gt;         modifiersName: cn=xxxx<br>
&gt;         &gt;         createTimestamp: 20090521022242Z<br>
&gt;         &gt;         modifyTimestamp: 20090521022242Z<br>
&gt;         &gt;<br>
&gt;         &gt;         time: 20090520222442<br>
&gt;         &gt;         dn: cn=fixmemberof,cn=memberof<br>
&gt;         task,cn=tasks,cn=config<br>
&gt;         &gt;         changetype: delete<br>
&gt;         &gt;         modifiersname: cn=server,cn=plugins,cn=config<br>
&gt;         &gt;<br>
&gt;         &gt;         .<br>
&gt;         &gt;         .<br>
&gt;         &gt;         .<br>
&gt;         &gt;         time: 20090521183523<br>
&gt;         &gt;         dn: cn=memberOf_fixup_2009_5_21_18_35_23,<br>
&gt;         cn=memberOf task,<br>
&gt;         &gt;         cn=tasks,<br>
&gt;         &gt;         cn=config<br>
&gt;         &gt;         changetype: add<br>
&gt;         &gt;         objectClass: top<br>
&gt;         &gt;         objectClass: extensibleObject<br>
&gt;         &gt;         cn: memberOf_fixup_2009_5_21_18_35_23<br>
&gt;         &gt;         basedn: o=Internal,dc=ssiservices,dc=biz<br>
&gt;         &gt;<br>
&gt;         &gt;         filter: (objectClass=inetOrgPerson)<br>
&gt;         &gt;         creatorsName: cn=xxxx<br>
&gt;         &gt;         modifiersName: cn=xxxx<br>
&gt;         &gt;         createTimestamp: 20090521223523Z<br>
&gt;         &gt;         modifyTimestamp: 20090521223523Z<br>
&gt;         &gt;<br>
&gt;         &gt;         time: 20090521183724<br>
&gt;         &gt;         dn: cn=memberof_fixup_2009_5_21_18_35_23,cn=memberof<br>
&gt;         &gt;         task,cn=tasks,cn=config<br>
&gt;         &gt;<br>
&gt;         &gt;         changetype: delete<br>
&gt;         &gt;         modifiersname: cn=server,cn=plugins,cn=config<br>
&gt;         &gt;<br>
&gt;         &gt;         time: 20090521185804<br>
&gt;         &gt;         dn:<br>
&gt;         &gt;<br>
&gt;         cn=general,ou=1.1,ou=console,ou=cn=xxxxx,ou=userpreferences,ou=<a href="http://ssiservices.biz" target="_blank">ssiservices.biz</a>,o=netscaperoot<br>
&gt;         &gt;         changetype: modify<br>
&gt;         &gt;         replace: nsPreference<br>
&gt;         &gt;         nsPreference::<br>
&gt;         &gt;<br>
&gt;         IwojVGh1IE1heSAyMSAxODo1ODowNSBFRFQgMjAwOQpXaWR0aD0xMjgwClNob3<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         dTdGF0dXNCYXI9dHJ1ZQpTaG93QmFubmVyQmFyPXRydWUKWT0wCkhlaWdodD03NjkKWD0wCg==<br>
&gt;         &gt;         -<br>
&gt;         &gt;         replace: modifiersname<br>
&gt;         &gt;         modifiersname: cn=xxxxx<br>
&gt;         &gt;         -<br>
&gt;         &gt;         replace: modifytimestamp<br>
&gt;         &gt;         modifytimestamp: 20090521225804Z<br>
&gt;         &gt;         -<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt;         On Thu, 2009-05-21 at 15:59 +0200, Andrey Ivanov<br>
&gt;         wrote:<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt; 2009/5/21 John A. Sullivan III<br>
&gt;         &gt;         &lt;<a href="mailto:jsullivan@opensourcedevel.com">jsullivan@opensourcedevel.com</a>&gt;<br>
&gt;         &gt;         &gt;         Thank you, Andrey.  I did do an updatedb<br>
&gt;         and then<br>
&gt;         &gt;         locate - no<br>
&gt;         &gt;         &gt;         fixup-member0f.pl - just<br>
&gt;         &gt;         <a href="http://template.fixup-memberOf.pl" target="_blank">template.fixup-memberOf.pl</a> :-(<br>
&gt;         &gt;         &gt; It is very strange. Normally during the server<br>
&gt;         installation<br>
&gt;         &gt;         the<br>
&gt;         &gt;         &gt; template should be converted to the &quot;normal&quot; perl<br>
&gt;         script.<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt; Have you verified the configuration of the<br>
&gt;         memberOf plugin,<br>
&gt;         &gt;         especially<br>
&gt;         &gt;         &gt; the arguments/attributes &quot;memberofgroupattr&quot; and<br>
&gt;         &gt;         &quot;memberofattr&quot; ?<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;         Unless I&#39;m missing something, you&#39;re<br>
&gt;         ldapmodify<br>
&gt;         &gt;         looks just<br>
&gt;         &gt;         &gt;         like mine<br>
&gt;         &gt;         &gt;         except for the cn (I believe the<br>
&gt;         documentation says<br>
&gt;         &gt;         it can be<br>
&gt;         &gt;         &gt;         called<br>
&gt;         &gt;         &gt;         anything) and I did not use a filter<br>
&gt;         (again, I<br>
&gt;         &gt;         believe the<br>
&gt;         &gt;         &gt;         documentation<br>
&gt;         &gt;         &gt;         says it is optional and our dit is still<br>
&gt;         rather<br>
&gt;         &gt;         small).<br>
&gt;         &gt;         &gt; If you do not put the filter into the ldif then<br>
&gt;         the default<br>
&gt;         &gt;         filter is<br>
&gt;         &gt;         &gt; used : &quot;(objectClass=inetuser)&quot;. Do all your user<br>
&gt;         entries<br>
&gt;         &gt;         include this<br>
&gt;         &gt;         &gt; objectClass (inetuser)? If not, you should add<br>
&gt;         this<br>
&gt;         &gt;         objectClass to all<br>
&gt;         &gt;         &gt; the entries where you want the memberOf attribute<br>
&gt;         to appear.<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;         I did create a new group and add myself to<br>
&gt;         it as you<br>
&gt;         &gt;         suggested<br>
&gt;         &gt;         &gt;         (thank<br>
&gt;         &gt;         &gt;         you).  Surprisingly, it did not appear to<br>
&gt;         work.  I<br>
&gt;         &gt;         did not see<br>
&gt;         &gt;         &gt;         a<br>
&gt;         &gt;         &gt;         memberOf attribute populated for me.  I<br>
&gt;         then thought<br>
&gt;         &gt;         I would<br>
&gt;         &gt;         &gt;         see if I<br>
&gt;         &gt;         &gt;         need to manually add that attribute to<br>
&gt;         each user (I<br>
&gt;         &gt;         hope not!)<br>
&gt;         &gt;         &gt;         and I did<br>
&gt;         &gt;         &gt;         not see memberOf as an attribute I could<br>
&gt;         add to my<br>
&gt;         &gt;         user<br>
&gt;         &gt;         &gt;         object.<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt; No. You should not add it manually, the memberOf<br>
&gt;         attribute<br>
&gt;         &gt;         is<br>
&gt;         &gt;         &gt; maintained automatically based on the group<br>
&gt;         membership.<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt; Do you see any message in error log? There should<br>
&gt;         be<br>
&gt;         &gt;         something about<br>
&gt;         &gt;         &gt; the impossibility to write the memberof attribute<br>
&gt;         i think.<br>
&gt;         &gt;         &gt; If you cannot add this attribute manually to your<br>
&gt;         entry it<br>
&gt;         &gt;         means that<br>
&gt;         &gt;         &gt; your entry does not containe &quot;objectClass:<br>
&gt;         inetuser&quot;. Add<br>
&gt;         &gt;         this<br>
&gt;         &gt;         &gt; objectClass to all the entries that should be<br>
&gt;         &quot;managed&quot; by<br>
&gt;         &gt;         the plug-in<br>
&gt;         &gt;         &gt; to allow the attribute memberOf to be written to<br>
&gt;         that<br>
&gt;         &gt;         entries.<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;         I have verified that the plugin is defined<br>
&gt;         in<br>
&gt;         &gt;         dse.ldif and it<br>
&gt;         &gt;         &gt;         is<br>
&gt;         &gt;         &gt;         enabled.  I also see memberOf defined in<br>
&gt;         &gt;         20subscriber.ldif and<br>
&gt;         &gt;         &gt;         did not<br>
&gt;         &gt;         &gt;         see anything in the documentation about<br>
&gt;         needing to<br>
&gt;         &gt;         extend the<br>
&gt;         &gt;         &gt;         schema.<br>
&gt;         &gt;         &gt; No, you don&#39;t need to extend the schema but you<br>
&gt;         need to make<br>
&gt;         &gt;         sure that<br>
&gt;         &gt;         &gt; your entries include the objectClass &quot;inetuser&quot;:<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt; objectClasses: ( 2.16.840.1.113730.3.2.130 NAME<br>
&gt;         &#39;inetUser&#39;<br>
&gt;         &gt;         DESC<br>
&gt;         &gt;         &gt; &#39;Auxiliary class which must be present in an entry<br>
&gt;         for<br>
&gt;         &gt;         delivery of<br>
&gt;         &gt;         &gt; subscriber services&#39; SUP top AUXILIARY MAY ( uid $<br>
&gt;         &gt;         inetUserStatus $<br>
&gt;         &gt;         &gt; inetUserHTTPURL $ userPassword $ memberOf )<br>
&gt;         X-ORIGIN<br>
&gt;         &gt;         &#39;Netscape<br>
&gt;         &gt;         &gt; subscriber interoperability&#39; )<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;         So, at this point, I am still at a loss<br>
&gt;         for what I<br>
&gt;         &gt;         did wrong.<br>
&gt;         &gt;         &gt;          What do I<br>
&gt;         &gt;         &gt;         check next? Thanks - John<br>
&gt;         &gt;         &gt; Try to add the &quot;objectClass: inetuser&quot; to the<br>
&gt;         entries<br>
&gt;         &gt;         concerned and<br>
&gt;         &gt;         &gt; take a closer look to the &quot;errors&quot; log file.<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt; @+<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;         On Thu, 2009-05-21 at 12:59 +0200, Andrey<br>
&gt;         Ivanov<br>
&gt;         &gt;         wrote:<br>
&gt;         &gt;         &gt;         &gt; Hi,<br>
&gt;         &gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;         &gt; there are two things to be verified<br>
&gt;         and/or taken<br>
&gt;         &gt;         into<br>
&gt;         &gt;         &gt;         account:<br>
&gt;         &gt;         &gt;         &gt; * the pair of the attributes that is<br>
&gt;         maintained<br>
&gt;         &gt;         (the<br>
&gt;         &gt;         &gt;         arguments<br>
&gt;         &gt;         &gt;         &gt; &quot;memberofgroupattr&quot; and &quot;memberofattr&quot;<br>
&gt;         of the<br>
&gt;         &gt;         plug-in)<br>
&gt;         &gt;         &gt;         &gt; * presence of these two attributes in<br>
&gt;         the classes<br>
&gt;         &gt;         of your<br>
&gt;         &gt;         &gt;         users and<br>
&gt;         &gt;         &gt;         &gt; groups<br>
&gt;         &gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;         &gt; To find fixup-memberof.pl try &quot;locate<br>
&gt;         &gt;         fixup-memberof.pl&quot;.<br>
&gt;         &gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;         &gt; To launch it manually  you need to add<br>
&gt;         something<br>
&gt;         &gt;         like that<br>
&gt;         &gt;         &gt;         to the<br>
&gt;         &gt;         &gt;         &gt; server (with ldapmodify) :<br>
&gt;         &gt;         &gt;         &gt; dn:<br>
&gt;         cn=memberOf_fixup_2009_5_21_12_39_21,<br>
&gt;         &gt;         cn=memberOf task,<br>
&gt;         &gt;         &gt;         cn=tasks,<br>
&gt;         &gt;         &gt;         &gt; cn=config<br>
&gt;         &gt;         &gt;         &gt; changetype: add<br>
&gt;         &gt;         &gt;         &gt; objectclass: top<br>
&gt;         &gt;         &gt;         &gt; objectclass: extensibleObject<br>
&gt;         &gt;         &gt;         &gt; cn: memberOf_fixup_2009_5_21_12_39_21<br>
&gt;         &gt;         &gt;         &gt; basedn: dc=example,dc=com<br>
&gt;         &gt;         &gt;         &gt; filter: (objectClass=inetOrgPerson)<br>
&gt;         &gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;         &gt; As for your account, you may remove/add<br>
&gt;         yourself<br>
&gt;         &gt;         from a<br>
&gt;         &gt;         &gt;         group to see<br>
&gt;         &gt;         &gt;         &gt; if it changes the memberof attribute.<br>
&gt;         Verify the<br>
&gt;         &gt;         objectClass<br>
&gt;         &gt;         &gt;         of your<br>
&gt;         &gt;         &gt;         &gt; entry and make sure the attribute<br>
&gt;         memberOf is an<br>
&gt;         &gt;         optional<br>
&gt;         &gt;         &gt;         attribute of<br>
&gt;         &gt;         &gt;         &gt; at least one of these objectClasses...<br>
&gt;         &gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;         &gt; 2009/5/21 John A. Sullivan III<br>
&gt;         &gt;         &gt;         &lt;<a href="mailto:jsullivan@opensourcedevel.com">jsullivan@opensourcedevel.com</a>&gt;<br>
&gt;         &gt;         &gt;         &gt;         Hello, all.  We are in the<br>
&gt;         process of<br>
&gt;         &gt;         upgrading from<br>
&gt;         &gt;         &gt;         8.0 to<br>
&gt;         &gt;         &gt;         &gt;         8.1.  We&#39;ve<br>
&gt;         &gt;         &gt;         &gt;         hit a few glitches along the way<br>
&gt;         but most<br>
&gt;         &gt;         has gone<br>
&gt;         &gt;         &gt;         well.<br>
&gt;         &gt;         &gt;         &gt;          However, we<br>
&gt;         &gt;         &gt;         &gt;         wanted to implement the new<br>
&gt;         memberOf<br>
&gt;         &gt;         functionality.<br>
&gt;         &gt;         &gt;          We<br>
&gt;         &gt;         &gt;         &gt;         successfully<br>
&gt;         &gt;         &gt;         &gt;         added the plugin by editing<br>
&gt;         dse.ldif and<br>
&gt;         &gt;         enabled it<br>
&gt;         &gt;         &gt;         from the<br>
&gt;         &gt;         &gt;         &gt;         console.<br>
&gt;         &gt;         &gt;         &gt;         However, we&#39;ve been unsuccessful<br>
&gt;         in having<br>
&gt;         &gt;         existing<br>
&gt;         &gt;         &gt;         group<br>
&gt;         &gt;         &gt;         &gt;         membership<br>
&gt;         &gt;         &gt;         &gt;         assigned to the memberOf<br>
&gt;         attribute.<br>
&gt;         &gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;         &gt;         We first tried to run<br>
&gt;         fixup-memberOf.pl<br>
&gt;         &gt;         but the<br>
&gt;         &gt;         &gt;         script does<br>
&gt;         &gt;         &gt;         &gt;         not exist.<br>
&gt;         &gt;         &gt;         &gt;         There is a<br>
&gt;         <a href="http://template.fixup-memberOf.pl" target="_blank">template.fixup-memberOf.pl</a> but<br>
&gt;         &gt;         this does<br>
&gt;         &gt;         &gt;         not seem<br>
&gt;         &gt;         &gt;         &gt;         to have<br>
&gt;         &gt;         &gt;         &gt;         been built into a final script.<br>
&gt;         &gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;         &gt;         We then thought we would use the<br>
&gt;         new task<br>
&gt;         &gt;         feature of<br>
&gt;         &gt;         &gt;         the<br>
&gt;         &gt;         &gt;         &gt;         console.  We<br>
&gt;         &gt;         &gt;         &gt;         went to cn=memberof<br>
&gt;         &gt;         task,cn=tasks,cn=config and<br>
&gt;         &gt;         &gt;         tried to<br>
&gt;         &gt;         &gt;         &gt;         create the task<br>
&gt;         &gt;         &gt;         &gt;         object.  There was no<br>
&gt;         &gt;         nsDirectoryServerTask<br>
&gt;         &gt;         &gt;         objectclass.  We<br>
&gt;         &gt;         &gt;         &gt;         added an<br>
&gt;         &gt;         &gt;         &gt;         nstask but then found there was<br>
&gt;         no basedn<br>
&gt;         &gt;         attribute<br>
&gt;         &gt;         &gt;         we could<br>
&gt;         &gt;         &gt;         &gt;         add.  We<br>
&gt;         &gt;         &gt;         &gt;         then created an extensibleobject<br>
&gt;         instead<br>
&gt;         &gt;         but still<br>
&gt;         &gt;         &gt;         not basedn<br>
&gt;         &gt;         &gt;         &gt;         attribute.<br>
&gt;         &gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;         &gt;         Finally, we resorted to<br>
&gt;         ldapmodify (we<br>
&gt;         &gt;         hesitated<br>
&gt;         &gt;         &gt;         just because<br>
&gt;         &gt;         &gt;         &gt;         we are not<br>
&gt;         &gt;         &gt;         &gt;         very familiar with the command<br>
&gt;         line<br>
&gt;         &gt;         tools).  First,<br>
&gt;         &gt;         &gt;         we did:<br>
&gt;         &gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;         &gt;         dn: cn=fixMemberOf,cn=memberof<br>
&gt;         &gt;         &gt;         task,cn=tasks,cn=config<br>
&gt;         &gt;         &gt;         &gt;         changetype: add<br>
&gt;         &gt;         &gt;         &gt;         objectclass: top<br>
&gt;         &gt;         &gt;         &gt;         objectclass: extensibleObject<br>
&gt;         &gt;         &gt;         &gt;         cn: fixMemberOf<br>
&gt;         &gt;         &gt;         &gt;         basedn:<br>
&gt;         o=Internal,dc=ssiservices,dc=biz<br>
&gt;         &gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;         &gt;         The Internal Organization has<br>
&gt;         several<br>
&gt;         &gt;         organizations<br>
&gt;         &gt;         &gt;         under it<br>
&gt;         &gt;         &gt;         &gt;         (for<br>
&gt;         &gt;         &gt;         &gt;         various clients) and then user<br>
&gt;         &gt;         organizational units<br>
&gt;         &gt;         &gt;         under<br>
&gt;         &gt;         &gt;         &gt;         those<br>
&gt;         &gt;         &gt;         &gt;         organizations.  Although it<br>
&gt;         generated no<br>
&gt;         &gt;         errors, it<br>
&gt;         &gt;         &gt;         did not<br>
&gt;         &gt;         &gt;         &gt;         seem to<br>
&gt;         &gt;         &gt;         &gt;         work.  Perhaps I just don&#39;t know<br>
&gt;         how to<br>
&gt;         &gt;         test it.<br>
&gt;         &gt;         &gt;          However, the<br>
&gt;         &gt;         &gt;         &gt;         following<br>
&gt;         &gt;         &gt;         &gt;         did not return an memberOf data:<br>
&gt;         &gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;         &gt;         /usr/lib64/mozldap/ldapsearch -b<br>
&gt;         &gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &quot;ou=Users,o=client1,o=Internal,dc=ssiservices,dc=biz&quot; -D<br>
&gt;         &gt;         &gt;         &gt;         &quot;cn=Directory<br>
&gt;         &gt;         &gt;         &gt;         Manager&quot; -w - -h ldap uid=myid<br>
&gt;         memberOf<br>
&gt;         &gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;         &gt;<br>
&gt;         Doing /usr/lib64/mozldap/ldapsearch -b<br>
&gt;         &gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &quot;ou=Users,o=client1,o=Internal,dc=ssiservices,dc=biz&quot; -D<br>
&gt;         &gt;         &gt;         &gt;         &quot;cn=Directory<br>
&gt;         &gt;         &gt;         &gt;         Manager&quot; -w - -h ldap uid=myid<br>
&gt;         &gt;         &gt;         &gt;         showed me plenty of attributes<br>
&gt;         but nothing<br>
&gt;         &gt;         for<br>
&gt;         &gt;         &gt;         memberOf<br>
&gt;         &gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;         &gt;         I also tried creating the task<br>
&gt;         with a<br>
&gt;         &gt;         basedn of<br>
&gt;         &gt;         &gt;         &gt;<br>
&gt;         &gt;         ou=Users,o=client1,o=Internal,dc=ssiservices,dc=biz<br>
&gt;         &gt;         &gt;         in case it<br>
&gt;         &gt;         &gt;         &gt;         did not<br>
&gt;         &gt;         &gt;         &gt;         change objects lower in the<br>
&gt;         tree.  Still<br>
&gt;         &gt;         no success.<br>
&gt;         &gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;         &gt;         Finally I tried:<br>
&gt;         &gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;         &gt;         dn: cn=fixMemberOf,cn=memberof<br>
&gt;         &gt;         &gt;         task,cn=tasks,cn=config<br>
&gt;         &gt;         &gt;         &gt;         changetype: add<br>
&gt;         &gt;         &gt;         &gt;         objectclass: top<br>
&gt;         &gt;         &gt;         &gt;         objectclass:<br>
&gt;         nsDirectoryServerTask<br>
&gt;         &gt;         &gt;         &gt;         cn: fixMemberOf<br>
&gt;         &gt;         &gt;         &gt;         basedn:<br>
&gt;         o=Internal,dc=ssiservices,dc=biz<br>
&gt;         &gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;         &gt;         adding new entry<br>
&gt;         &gt;         cn=fixMemberOf,cn=memberof<br>
&gt;         &gt;         &gt;         &gt;         task,cn=tasks,cn=config<br>
&gt;         &gt;         &gt;         &gt;         ldap_add: Object class violation<br>
&gt;         &gt;         &gt;         &gt;         ldap_add: additional info:<br>
&gt;         unknown object<br>
&gt;         &gt;         class<br>
&gt;         &gt;         &gt;         &gt;         &quot;nsDirectoryServerTask&quot;<br>
&gt;         &gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;         &gt;         And received the expected<br>
&gt;         unknown object<br>
&gt;         &gt;         class<br>
&gt;         &gt;         &gt;         error.<br>
&gt;         &gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;         &gt;         What are we doing wrong? Are<br>
&gt;         these<br>
&gt;         &gt;         documentation<br>
&gt;         &gt;         &gt;         bugs? Are<br>
&gt;         &gt;         &gt;         &gt;         there<br>
&gt;         &gt;         &gt;         &gt;         application bugs or do we simply<br>
&gt;         not know<br>
&gt;         &gt;         what we<br>
&gt;         &gt;         &gt;         are doing<br>
&gt;         &gt;         &gt;         &gt;         with tasks<br>
&gt;         &gt;         &gt;         &gt;         and memberOf? How do we get the<br>
&gt;         memberOf<br>
&gt;         &gt;         information<br>
&gt;         &gt;         &gt;         into our<br>
&gt;         &gt;         &gt;         &gt;         existing<br>
&gt;         &gt;         &gt;         &gt;         user objects? Thanks - John<br>
&gt;         &gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;         &gt;         --<br>
&gt;         &gt;         &gt;         &gt;         John A. Sullivan III<br>
&gt;         &gt;         &gt;         &gt;         Open Source Development<br>
&gt;         Corporation<br>
&gt;         &gt;         &gt;         &gt;         +1 207-985-7880<br>
&gt;         &gt;         &gt;         &gt;         <a href="mailto:jsullivan@opensourcedevel.com">jsullivan@opensourcedevel.com</a><br>
&gt;         &gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;         &gt;         <a href="http://www.spiritualoutreach.com" target="_blank">http://www.spiritualoutreach.com</a><br>
&gt;         &gt;         &gt;         &gt;         Making Christianity intelligible<br>
&gt;         to<br>
&gt;         &gt;         secular society<br>
&gt;         &gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;         &gt;         --<br>
&gt;         &gt;         &gt;         &gt;         Fedora-directory-users mailing<br>
&gt;         list<br>
&gt;         &gt;         &gt;         &gt;<br>
&gt;         <a href="mailto:Fedora-directory-users@redhat.com">Fedora-directory-users@redhat.com</a><br>
&gt;         &gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         <a href="https://www.redhat.com/mailman/listinfo/fedora-directory-users" target="_blank">https://www.redhat.com/mailman/listinfo/fedora-directory-users</a><br>
&gt;         &gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;         &gt; --<br>
&gt;         &gt;         &gt;         &gt; Fedora-directory-users mailing list<br>
&gt;         &gt;         &gt;         &gt; <a href="mailto:Fedora-directory-users@redhat.com">Fedora-directory-users@redhat.com</a><br>
&gt;         &gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         <a href="https://www.redhat.com/mailman/listinfo/fedora-directory-users" target="_blank">https://www.redhat.com/mailman/listinfo/fedora-directory-users</a><br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;         --<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;         John A. Sullivan III<br>
&gt;         &gt;         &gt;         Open Source Development Corporation<br>
&gt;         &gt;         &gt;         +1 207-985-7880<br>
&gt;         &gt;         &gt;         <a href="mailto:jsullivan@opensourcedevel.com">jsullivan@opensourcedevel.com</a><br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;         <a href="http://www.spiritualoutreach.com" target="_blank">http://www.spiritualoutreach.com</a><br>
&gt;         &gt;         &gt;         Making Christianity intelligible to<br>
&gt;         secular society<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;         --<br>
&gt;         &gt;         &gt;         Fedora-directory-users mailing list<br>
&gt;         &gt;         &gt;         <a href="mailto:Fedora-directory-users@redhat.com">Fedora-directory-users@redhat.com</a><br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         <a href="https://www.redhat.com/mailman/listinfo/fedora-directory-users" target="_blank">https://www.redhat.com/mailman/listinfo/fedora-directory-users</a><br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt; --<br>
&gt;         &gt;         &gt; Fedora-directory-users mailing list<br>
&gt;         &gt;         &gt; <a href="mailto:Fedora-directory-users@redhat.com">Fedora-directory-users@redhat.com</a><br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         <a href="https://www.redhat.com/mailman/listinfo/fedora-directory-users" target="_blank">https://www.redhat.com/mailman/listinfo/fedora-directory-users</a><br>
&gt;         &gt;         --<br>
&gt;         &gt;         John A. Sullivan III<br>
&gt;         &gt;         Open Source Development Corporation<br>
&gt;         &gt;         +1 207-985-7880<br>
&gt;         &gt;         <a href="mailto:jsullivan@opensourcedevel.com">jsullivan@opensourcedevel.com</a><br>
&gt;         &gt;<br>
&gt;         &gt;         <a href="http://www.spiritualoutreach.com" target="_blank">http://www.spiritualoutreach.com</a><br>
&gt;         &gt;         Making Christianity intelligible to secular society<br>
&gt;         &gt;<br>
&gt;         &gt;         --<br>
&gt;         &gt;         Fedora-directory-users mailing list<br>
&gt;         &gt;         <a href="mailto:Fedora-directory-users@redhat.com">Fedora-directory-users@redhat.com</a><br>
&gt;         &gt;<br>
&gt;         <a href="https://www.redhat.com/mailman/listinfo/fedora-directory-users" target="_blank">https://www.redhat.com/mailman/listinfo/fedora-directory-users</a><br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt; --<br>
&gt;         &gt; Fedora-directory-users mailing list<br>
&gt;         &gt; <a href="mailto:Fedora-directory-users@redhat.com">Fedora-directory-users@redhat.com</a><br>
&gt;         &gt;<br>
&gt;         <a href="https://www.redhat.com/mailman/listinfo/fedora-directory-users" target="_blank">https://www.redhat.com/mailman/listinfo/fedora-directory-users</a><br>
&gt;         --<br>
&gt;         John A. Sullivan III<br>
&gt;         Open Source Development Corporation<br>
&gt;         +1 207-985-7880<br>
&gt;         <a href="mailto:jsullivan@opensourcedevel.com">jsullivan@opensourcedevel.com</a><br>
&gt;<br>
&gt;         <a href="http://www.spiritualoutreach.com" target="_blank">http://www.spiritualoutreach.com</a><br>
&gt;         Making Christianity intelligible to secular society<br>
&gt;<br>
&gt;         --<br>
&gt;         Fedora-directory-users mailing list<br>
&gt;         <a href="mailto:Fedora-directory-users@redhat.com">Fedora-directory-users@redhat.com</a><br>
&gt;         <a href="https://www.redhat.com/mailman/listinfo/fedora-directory-users" target="_blank">https://www.redhat.com/mailman/listinfo/fedora-directory-users</a><br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Fedora-directory-users mailing list<br>
&gt; <a href="mailto:Fedora-directory-users@redhat.com">Fedora-directory-users@redhat.com</a><br>
&gt; <a href="https://www.redhat.com/mailman/listinfo/fedora-directory-users" target="_blank">https://www.redhat.com/mailman/listinfo/fedora-directory-users</a><br>
--<br>
John A. Sullivan III<br>
Open Source Development Corporation<br>
+1 207-985-7880<br>
<a href="mailto:jsullivan@opensourcedevel.com">jsullivan@opensourcedevel.com</a><br>
<br>
<a href="http://www.spiritualoutreach.com" target="_blank">http://www.spiritualoutreach.com</a><br>
Making Christianity intelligible to secular society<br>
<br>
--<br>
Fedora-directory-users mailing list<br>
<a href="mailto:Fedora-directory-users@redhat.com">Fedora-directory-users@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/fedora-directory-users" target="_blank">https://www.redhat.com/mailman/listinfo/fedora-directory-users</a><br>
</div></div></blockquote></div><br>