ejabberd - Comments for "mod_shared_roster_ldap - not buddy list not populating." https://www.ejabberd.im/node/8885 en Thanks for letting me know https://www.ejabberd.im/node/8885#comment-59293 <p>Thanks for letting me know about the limitation.</p> <p>Can you point me in the direction of how to install that patched version? It is just a matter of getting the latest erl from that site, compiling and replacing the old beam file?</p> <p>I just tried doing that and restarting, but it's still not populating the roster.</p> <p>update: I copied settings from the EJAB-1480 page, and it seems to work. There aren't groups though. It's all in one group. I'll keep at it.</p> Wed, 05 Dec 2012 22:37:32 +0000 jimh comment 59293 at https://www.ejabberd.im Unfortunately, you cannot use https://www.ejabberd.im/node/8885#comment-59291 <p>Unfortunately, you cannot use OUs as groups in vanilla msrl. This is its genuine limitation. This had been addressed in <noindex><a href="https://support.process-one.net/browse/EJAB-1480" rel="nofollow" >the patched version</a></noindex> (which documentation you used initially).</p> Wed, 05 Dec 2012 21:25:37 +0000 mikekaganski comment 59291 at https://www.ejabberd.im Each of the 3 groups https://www.ejabberd.im/node/8885#comment-59290 <p>Each of the 3 groups (JPUsers, PSUsers, SBSUsers) under OU=Users has the follow attributes: objectClass, instanceType, objectCategory, ou, distinquishedName, dsCorePropagationData, name, objectGUID.</p> <p>The users in each group have the follow attributes: objectClass, cn, instanceType, objectCategory, displayName, distinquishedName, giveName, objectGUID, primaryGroupID, sAMAccountName, sAMAccountType, userAccountControl. (I left out fields that were for Exchange.)</p> <p>I'm been trying to read: <noindex><a href="https://git.process-one.net/ejabberd/mainline/blobs/raw/v2.1.10/doc/guide.html#htoc62" title="https://git.process-one.net/ejabberd/mainline/blobs/raw/v2.1.10/doc/guide.html#htoc62" rel="nofollow" >https://git.process-one.net/ejabberd/mainline/blobs/raw/v2.1.10/doc/guid...</a></noindex>, however I can't seem to piece it all together successfully so it shows group names or any users.</p> <p>This is what I'm trying to use in my ejabberd.cfg</p> <div class="codeblock"><code>&nbsp; {mod_shared_roster_ldap,[<br />&nbsp;&nbsp;&nbsp; {ldap_base, &quot;OU=Users,OU=MyBusiness,DC=COMPANY,DC=local&quot;},<br />&nbsp;&nbsp;&nbsp; {ldap_rfilter, &quot;(objectClass=organizationalUnit)&quot;},<br />&nbsp;&nbsp;&nbsp; {ldap_groupattr, &quot;ou&quot;},<br />&nbsp;&nbsp;&nbsp; {ldap_groupdesc, &quot;description&quot;},<br />&nbsp;&nbsp;&nbsp; {ldap_filter,&nbsp; &quot;(objectClass=user)&quot;},<br />&nbsp;&nbsp;&nbsp; {ldap_userdesc, &quot;displayName&quot;}<br />&nbsp; ]},</code></div> <p>When I'm looking at ejabberd admin page, it shows all the (171) users. It'd be a big step if that showed up on the roster.</p> Wed, 05 Dec 2012 20:07:05 +0000 jimh comment 59290 at https://www.ejabberd.im mikekaganski wrote: Your https://www.ejabberd.im/node/8885#comment-59288 <div class="quote-msg"> <div class="quote-author"><em>mikekaganski</em> wrote:</div> <p>Your config may only be used with an unofficial patched msrl from EJAB-1480. You should make sure that you use that module, or use official documentation to configure the module.</p> <p>Also, you should post a part of your data (ie hierarchy of objects you try to put to roster), and the desired result, to be able to understand what you want to achieve.</p></div> <p>Thanks. I was not aware that there was 2 version of this module. I unfortunately am not certain which version I have. I believe I'm using ejabberd 2.1.6 that comes default on Ubuntu 12.04, and 2.1.6 is supposed to include mod_shared_roster_ldap(?).</p> <p>Would this be the documentation for it? <noindex><a href="https://git.process-one.net/ejabberd/mainline/blobs/raw/v2.1.6/doc/guide.html" title="https://git.process-one.net/ejabberd/mainline/blobs/raw/v2.1.6/doc/guide.html" rel="nofollow" >https://git.process-one.net/ejabberd/mainline/blobs/raw/v2.1.6/doc/guide...</a></noindex></p> <p>The base location for the groups/users is OU=Users,OU=MyBusiness,DC=Company,DC=local.<br /> Under OU=Users, there's 3 groups. OU=JPUsers, OU=PSUsers, OU=SBSUsers.</p> <p>For now as a start, I'd love to just be able to dump all the users from those groups into a single roster.</p> <p>Ideally, it's be good to figure out how to filter out the users that had been deactivated.</p> <p>I'm usually good at using google to look up information, but this subject has been difficult for me to find information on. Thanks again for your help.</p> <p>update: I'm looked at the logs and realized that I'm using ejabberd 2.1.10.</p> Wed, 05 Dec 2012 16:32:07 +0000 jimh comment 59288 at https://www.ejabberd.im Your config may only be used https://www.ejabberd.im/node/8885#comment-59287 <p>Your config may only be used with an unofficial patched msrl from EJAB-1480. You should make sure that you use that module, or use official documentation to configure the module.</p> <p>Also, you should post a part of your data (ie hierarchy of objects you try to put to roster), and the desired result, to be able to understand what you want to achieve.</p> Tue, 04 Dec 2012 22:25:05 +0000 mikekaganski comment 59287 at https://www.ejabberd.im