<br><br><div class="gmail_quote">2009/5/21 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;">

Thank you, Andrey.  I did do an updatedb and then locate - no<br>
fixup-member0f.pl - just <a href="http://template.fixup-memberOf.pl" target="_blank">template.fixup-memberOf.pl</a> :-(</blockquote><div>It is very strange. Normally during the server installation the template should be converted to the &quot;normal&quot; perl script.<br>

 <br>Have you verified the configuration of the memberOf plugin, especially the arguments/attributes &quot;memberofgroupattr&quot; and &quot;memberofattr&quot; ?<br><br><br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<br>
<br>
Unless I&#39;m missing something, you&#39;re ldapmodify looks just like mine<br>
except for the cn (I believe the documentation says it can be called<br>
anything) and I did not use a filter (again, I believe the documentation<br>
says it is optional and our dit is still rather small).</blockquote><div>If you do not put the filter into the ldif then the default filter is used : &quot;(objectClass=inetuser)&quot;. Do all your user entries include this objectClass (inetuser)? If not, you should add this objectClass to all the entries where you want the memberOf attribute to appear.<br>

<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<br>
I did create a new group and add myself to it as you suggested (thank<br>
you).  Surprisingly, it did not appear to work.  I did not see a<br>
memberOf attribute populated for me.  I then thought I would see if I<br>
need to manually add that attribute to each user (I hope not!) and I did<br>
not see memberOf as an attribute I could add to my user object.</blockquote><div> </div><div>No. You should not add it manually, the memberOf attribute is maintained automatically based on the group membership.<br><br>Do you see any message in error log? There should be something about the impossibility to write the memberof attribute i think.<br>

If you cannot add this attribute manually to your entry it means that your entry does not containe &quot;objectClass: inetuser&quot;. Add this objectClass to all the entries that should be &quot;managed&quot; by the plug-in to allow the attribute memberOf to be written to that entries.<br>

 <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<br>
I have verified that the plugin is defined in dse.ldif and it is<br>
enabled.  I also see memberOf defined in 20subscriber.ldif and did not<br>
see anything in the documentation about needing to extend the schema.</blockquote><div>No, you don&#39;t need to extend the schema but you need to make sure that your entries include the objectClass &quot;inetuser&quot;: <br>

<br>objectClasses: ( 2.16.840.1.113730.3.2.130 NAME &#39;inetUser&#39; DESC &#39;Auxiliary class which must be present in an entry for delivery of subscriber services&#39; SUP top AUXILIARY MAY ( uid $ inetUserStatus $ inetUserHTTPURL $ userPassword $ memberOf ) X-ORIGIN &#39;Netscape subscriber interoperability&#39; )<br>

<br> <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<br>
So, at this point, I am still at a loss for what I did wrong.  What do I<br>
check next? Thanks - John</blockquote><div>Try to add the &quot;objectClass: inetuser&quot; to the entries concerned and take a closer look to the &quot;errors&quot; log file.<br><br>@+<br><br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<br>
<div><div></div><div class="h5"><br>
On Thu, 2009-05-21 at 12:59 +0200, Andrey Ivanov wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; there are two things to be verified and/or taken into account:<br>
&gt; * the pair of the attributes that is maintained (the arguments<br>
&gt; &quot;memberofgroupattr&quot; and &quot;memberofattr&quot; of the plug-in)<br>
&gt; * presence of these two attributes in the classes of your users and<br>
&gt; groups<br>
&gt;<br>
&gt; To find fixup-memberof.pl try &quot;locate fixup-memberof.pl&quot;.<br>
&gt;<br>
&gt; To launch it manually  you need to add something like that to the<br>
&gt; server (with ldapmodify) :<br>
&gt; dn: cn=memberOf_fixup_2009_5_21_12_39_21, cn=memberOf task, cn=tasks,<br>
&gt; cn=config<br>
&gt; changetype: add<br>
&gt; objectclass: top<br>
&gt; objectclass: extensibleObject<br>
&gt; cn: memberOf_fixup_2009_5_21_12_39_21<br>
&gt; basedn: dc=example,dc=com<br>
&gt; filter: (objectClass=inetOrgPerson)<br>
&gt;<br>
&gt;<br>
&gt; As for your account, you may remove/add yourself from a group to see<br>
&gt; if it changes the memberof attribute. Verify the objectClass of your<br>
&gt; entry and make sure the attribute memberOf is an optional attribute of<br>
&gt; at least one of these objectClasses...<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; 2009/5/21 John A. Sullivan III &lt;<a href="mailto:jsullivan@opensourcedevel.com">jsullivan@opensourcedevel.com</a>&gt;<br>
&gt;         Hello, all.  We are in the process of upgrading from 8.0 to<br>
&gt;         8.1.  We&#39;ve<br>
&gt;         hit a few glitches along the way but most has gone well.<br>
&gt;          However, we<br>
&gt;         wanted to implement the new memberOf functionality.  We<br>
&gt;         successfully<br>
&gt;         added the plugin by editing dse.ldif and enabled it from the<br>
&gt;         console.<br>
&gt;         However, we&#39;ve been unsuccessful in having existing group<br>
&gt;         membership<br>
&gt;         assigned to the memberOf attribute.<br>
&gt;<br>
&gt;         We first tried to run fixup-memberOf.pl but the script does<br>
&gt;         not exist.<br>
&gt;         There is a <a href="http://template.fixup-memberOf.pl" target="_blank">template.fixup-memberOf.pl</a> but this does not seem<br>
&gt;         to have<br>
&gt;         been built into a final script.<br>
&gt;<br>
&gt;         We then thought we would use the new task feature of the<br>
&gt;         console.  We<br>
&gt;         went to cn=memberof task,cn=tasks,cn=config and tried to<br>
&gt;         create the task<br>
&gt;         object.  There was no nsDirectoryServerTask objectclass.  We<br>
&gt;         added an<br>
&gt;         nstask but then found there was no basedn attribute we could<br>
&gt;         add.  We<br>
&gt;         then created an extensibleobject instead but still not basedn<br>
&gt;         attribute.<br>
&gt;<br>
&gt;         Finally, we resorted to ldapmodify (we hesitated just because<br>
&gt;         we are not<br>
&gt;         very familiar with the command line tools).  First, we did:<br>
&gt;<br>
&gt;         dn: cn=fixMemberOf,cn=memberof task,cn=tasks,cn=config<br>
&gt;         changetype: add<br>
&gt;         objectclass: top<br>
&gt;         objectclass: extensibleObject<br>
&gt;         cn: fixMemberOf<br>
&gt;         basedn: o=Internal,dc=ssiservices,dc=biz<br>
&gt;<br>
&gt;         The Internal Organization has several organizations under it<br>
&gt;         (for<br>
&gt;         various clients) and then user organizational units under<br>
&gt;         those<br>
&gt;         organizations.  Although it generated no errors, it did not<br>
&gt;         seem to<br>
&gt;         work.  Perhaps I just don&#39;t know how to test it.  However, the<br>
&gt;         following<br>
&gt;         did not return an memberOf data:<br>
&gt;<br>
&gt;         /usr/lib64/mozldap/ldapsearch -b<br>
&gt;         &quot;ou=Users,o=client1,o=Internal,dc=ssiservices,dc=biz&quot; -D<br>
&gt;         &quot;cn=Directory<br>
&gt;         Manager&quot; -w - -h ldap uid=myid memberOf<br>
&gt;<br>
&gt;         Doing /usr/lib64/mozldap/ldapsearch -b<br>
&gt;         &quot;ou=Users,o=client1,o=Internal,dc=ssiservices,dc=biz&quot; -D<br>
&gt;         &quot;cn=Directory<br>
&gt;         Manager&quot; -w - -h ldap uid=myid<br>
&gt;         showed me plenty of attributes but nothing for memberOf<br>
&gt;<br>
&gt;         I also tried creating the task with a basedn of<br>
&gt;         ou=Users,o=client1,o=Internal,dc=ssiservices,dc=biz in case it<br>
&gt;         did not<br>
&gt;         change objects lower in the tree.  Still no success.<br>
&gt;<br>
&gt;         Finally I tried:<br>
&gt;<br>
&gt;         dn: cn=fixMemberOf,cn=memberof task,cn=tasks,cn=config<br>
&gt;         changetype: add<br>
&gt;         objectclass: top<br>
&gt;         objectclass: nsDirectoryServerTask<br>
&gt;         cn: fixMemberOf<br>
&gt;         basedn: o=Internal,dc=ssiservices,dc=biz<br>
&gt;<br>
&gt;         adding new entry cn=fixMemberOf,cn=memberof<br>
&gt;         task,cn=tasks,cn=config<br>
&gt;         ldap_add: Object class violation<br>
&gt;         ldap_add: additional info: unknown object class<br>
&gt;         &quot;nsDirectoryServerTask&quot;<br>
&gt;<br>
&gt;         And received the expected unknown object class error.<br>
&gt;<br>
&gt;         What are we doing wrong? Are these documentation bugs? Are<br>
&gt;         there<br>
&gt;         application bugs or do we simply not know what we are doing<br>
&gt;         with tasks<br>
&gt;         and memberOf? How do we get the memberOf information into our<br>
&gt;         existing<br>
&gt;         user objects? Thanks - John<br>
&gt;<br>
&gt;<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; 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>
</div></div>--<br>
<div><div></div><div class="h5">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>