[Kolab-devel] Kolab XMPP Roundcube

Chloé Desoutter chloe.desoutter at atasta.net
Thu Apr 10 11:30:08 CEST 2014


Le 10/04/2014 10:21, Henning a écrit :
> Hi!
>
> Okay, I see I forgot to specify my question: authentication against ldap
> is not the problem. But how to get all users in a "shared roster", so
> everyone is able to see everyone else without having to manually add
> users to their contact-list?
>
> That is not that easy with ldap and recent ejabberd versions, as you
> cannot just use the mod_shared_roster module (I think).
>
> In the past it worked with just the
>
> {mod_shared_roster,[]}
>
> module, but it seems not to work anymore...
>
> The config section I use now is
>
>    {mod_shared_roster_ldap,[
>          {ldap_base, "dc=domain,dc=eu"},
>          {ldap_rfilter, "(objectClass=posixGroup)"},
>          {ldap_filter, ""},
>          %{ldap_groupattr, "cn"},
>          {ldap_gfilter, "(&(objectClass=posixGroup)(cn=POSIXGROUPNAME))"},
>          {ldap_groupdesc, "description"},
>          %{ldap_memberattr, "memberUid"},
>          %{ldap_memberattr_format, "cn=%u,ou=People,dc=domain,dc=eu"},
>          {ldap_ufilter,
> "(&(objectClass=inetOrgPerson)(objectClass=authorizedServiceObject)(uid=%u))"},
>          {ldap_useruid, "uid"},
>          {ldap_userdesc, "cn"}
>    ]},
>
>

Hey,

Here's my conf.

   {mod_shared_roster_ldap,[
     {ldap_user_cache_validity, 7200},
     {ldap_group_cache_validity, 7200},
     {ldap_auth_check, off},
     {ldap_memberattr_format, "%u at atasta.net"},
     {ldap_memberattr, "mail"},
     {ldap_useruid, "uid"},
     {ldap_filter, "(objectClass=kolabinetorgperson)"}
     {ldap_rfilter, "(objectClass=kolabinetorgperson)"},
     {ldap_groupattr, "o"},
     {ldap_groupdesc, "o"},
     {ldap_userdesc, "cn"}
    ]},

This way I split users by groups, these groups being the different 
organizations of our company.

HtH.

Yours sincerely,

-- 
Chloé Desoutter
Atasta NET

-------------- section suivante --------------
Une pi?ce jointe autre que texte a ?t? nettoy?e...
Nom: chloe_desoutter.vcf
Type: text/x-vcard
Taille: 199 octets
Desc: non disponible
URL: <http://lists.kolab.org/pipermail/users/attachments/20140410/5c5d2380/attachment.vcf>


More information about the users mailing list