ejabberd - Comments for "[SOLVED !!] mod_shared_roster_ldap" https://www.ejabberd.im/node/1317 en mod_shared_roster x mod_shared_roster_ldap https://www.ejabberd.im/node/1317#comment-3346 <p>primski,</p> <p>You have to configure mod_shared_roster_ldap and comment the lines referring to mod_shared_roster. So, replace your code with the lines below in ejabberd.cfg and it must work.</p> <div class="quote-msg"> <div class="quote-author">Quote:</div> <p>" {mod_shared_roster, []},<br /> {mod_shared_roster_ldap, [<br /> {ldap_base,"dc=example,dc=com"},<br /> {ldap_groupattr,"ou"},<br /> {ldap_groupdesc,"employees"},<br /> {ldap_memberattr,"uid"},<br /> {ldap_filter,"(uid=*)"}<br /> ] </p></div> <p>Best regards,<br /> Robson</p> Tue, 13 Mar 2007 19:05:30 +0000 robsontex comment 3346 at https://www.ejabberd.im still not working https://www.ejabberd.im/node/1317#comment-3280 <p>Hi,</p> <p>you seem to be a professional, maybe you can help me out a bit.</p> <p>I followed your instructions yet i cannot get it to work by all means.</p> <p>here's an extract of my ldif file:</p> <div class="quote-msg"> <div class="quote-author">Quote:</div> <p># entry-id: 43<br /> dn: uid=jdoe,ou=IT,ou=employees,dc=example,dc=com<br /> uid: jdoe<br /> givenName: john<br /> objectClass: top<br /> objectClass: person<br /> objectClass: organizationalPerson<br /> objectClass: inetorgperson<br /> sn: doe<br /> cn: john doe<br /> userPassword: [somepassword]<br /> creatorsName: uid=admin,ou=administrators,ou=topologymanagement,o=netscaperoot<br /> modifiersName: uid=admin,ou=administrators,ou=topologymanagement,o=netscaperoo<br /> t<br /> createTimestamp: 20070303140238Z<br /> modifyTimestamp: 20070303140238Z<br /> nsUniqueId: c0388f01-c98f11db-807482aa-0bf53725 </p></div> <p>here's what i did to my ejabberd.cfg</p> <div class="quote-msg"> <div class="quote-author">Quote:</div> <p>...<br /> {mod_roster, []},<br /> {mod_shared_roster, [<br /> {ldap_base,"dc=example,dc=com"},<br /> {ldap_groupattr,"ou"},<br /> {ldap_groupdesc,"employees"},<br /> {ldap_memberattr,"uid"},<br /> {ldap_filter,"(uid=*)"}<br /> ]<br /> ... </p></div> <p>Im not really sure about ldap_groupattr what's supposed to be there, but since my groups are ou=IT and ou=employees i figured it should be setup to "ou", was i right?</p> <p>Also, is the adding "new shared roster group" in the "shared roster" menu on the web admin page necessary when authenticating against LDAP?</p> <p>Any help would be greatly appreciated.</p> <p>Greetz,<br /> primski</p> Thu, 08 Mar 2007 09:42:41 +0000 primski comment 3280 at https://www.ejabberd.im Hi bodomizer.Normally, https://www.ejabberd.im/node/1317#comment-3013 <p>Hi bodomizer.<br /> Thanks for purposing Russian to me. I learned it some years ago but can't remember anything :)<br /> Let's continue to english.</p> <p>Normally, nothing else needs to be done than configuring those 5 parameters, and of course, checking that the ldap server can be reached by the ejabberd one. If you can, run your ldap server in debug mode, and check the output when you login a user.)<br /> I could help you much better if you could post an ldif of your ldap db.<br /> For instance :</p> <div class="quote-msg"> <div class="quote-author">Quote:</div> <p>ldapsearch -b ou=Groups,dc=my_company,dc=com -v -u -h ldap.server.com -D cn=xxx,dc=my_company,dc=com </p></div> <p>and remove or change the personnal informations. Would be great.</p> Mon, 05 Feb 2007 17:16:21 +0000 elshaa comment 3013 at https://www.ejabberd.im Hello, Thanks for detailed https://www.ejabberd.im/node/1317#comment-2979 <p>Hello,</p> <p>Thanks for detailed explanation (btw I do not insist to continue this thread in English, you can switch to Russian if it is more comfortable for you :)).<br /> I've configured mod_shared_roster_ldap per your example and wondering if there is something else needed to be done? I do not see any changes to roster or ejabberd web-admin interface of shared roster...<br /> How can I put my group neighbours to my roster now?</p> <p>Likewise, I did not get any results with "you can create groups with everything" method.<br /> Thanks in advance</p> Wed, 31 Jan 2007 12:54:27 +0000 bodomizer comment 2979 at https://www.ejabberd.im