[ejabberd] mod_shared_roster_ldap

Jiann-Ming Su su_js1 at yahoo.com
Tue Nov 18 09:16:34 MSK 2014

Here's my yaml format of mod_shared_roster_ldap that works:

    ldap_base: "DC=example,DC=com"
    ldap_filter: ""
    ldap_rfilter: "(objectClass=group)"
    ldap_groupattr: "cn"
    ldap_gfilter: "(&(objectClass=group)(cn=%g))"
    ldap_groupdesc: "description"
    ldap_auth_check: "off"
    ldap_memberattr: "member"
    ldap_memberattr_format_re: "CN=(\\w*),(OU=People,DC=example,DC=com)"
    ldap_userdesc: "displayName"
    ldap_useruid: "uid"
    ldap_ufilter: "(&(objectClass=inetOrgPerson)(uid=%u))"
 You'll need to create LDAP/AD groups to put your users into.  I think users will only see contacts from groups that they are members of.  I'm not sure if you can populate MUC member list with an LDAP group.  I've never tried, actually.  I just use password protected MUC.  Good luck.

     On Friday, August 15, 2014 8:31 AM, Mike Wenzel <mwenzel at lfm.fh-swf.de> wrote:

  <!--#yiv4844770940 _filtered #yiv4844770940 {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;} _filtered #yiv4844770940 {font-family:Verdana;panose-1:2 11 6 4 3 5 4 4 2 4;}#yiv4844770940 #yiv4844770940 p.yiv4844770940MsoNormal, #yiv4844770940 li.yiv4844770940MsoNormal, #yiv4844770940 div.yiv4844770940MsoNormal {margin:0cm;margin-bottom:.0001pt;font-size:11.0pt;font-family:"Calibri", "sans-serif";}#yiv4844770940 a:link, #yiv4844770940 span.yiv4844770940MsoHyperlink {color:blue;text-decoration:underline;}#yiv4844770940 a:visited, #yiv4844770940 span.yiv4844770940MsoHyperlinkFollowed {color:purple;text-decoration:underline;}#yiv4844770940 span.yiv4844770940E-MailFormatvorlage17 {font-family:"Calibri", "sans-serif";color:windowtext;}#yiv4844770940 .yiv4844770940MsoChpDefault {font-family:"Calibri", "sans-serif";} _filtered #yiv4844770940 {margin:70.85pt 70.85pt 2.0cm 70.85pt;}#yiv4844770940 div.yiv4844770940WordSection1 {}-->I need to setup an ejabberd server (done) and an web-client (done). Now I need to group my users. I'm using my AD to get my users on ejabberd (ldap connection is working fine now – but not in my mod_shared_roster_ldap module). Now those Users are member of different groups. I need to create chat-rooms where ONLY users OF THE SAME GROUPS are in and only the users of the same group should be visible. They may don't the people of other groups. This is really the MOST IMPORTANT thing right here! Does anyone of you know if this is possible?    Best Regards, Mike.    
ejabberd mailing list
ejabberd at jabber.ru

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.jabber.ru/pipermail/ejabberd/attachments/20141118/85cf7ec4/attachment.html>

More information about the ejabberd mailing list