Author Topic: Zentyal 6.2 Ejaberd module - close this ticket  (Read 542 times)

lionheart1986

  • Zen Apprentice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Zentyal 6.2 Ejaberd module - close this ticket
« on: November 23, 2021, 12:50:32 pm »
Hi,

I try to force ejaber module to display full name on xmpp client roster insted of username but i faill. On old zentyal 3.3 it works without problem. I already creted stub for custom config:

sudo cp /usr/share/zentyal/stubs/jabber/ejabberd.yml.mas /etc/zentyal/stubs/jabber/ejabberd.yml.mas

I think the answer is here:

  mod_shared_roster_ldap:
    ldap_rfilter: "(&(objectClass=user)(!(isCriticalSystemObject=*)))"
    ldap_ufilter: "(&(objectClass=userJabberAccount)(distinguishedName=%u))"
    ldap_groupattr: "cn"
    ldap_groupdesc: "cn"
    ldap_memberattr: "sAMAccountName"
    ldap_useruid: "jabberUid"
    ldap_userdesc: "sAMAccountName"

I probably need change something here.

At the moment its display group witch name and surname and inside this group is username :P

Screen:
https://ibb.co/kc95NHX

SOLUTION:

  mod_shared_roster_ldap:
    ldap_rfilter: "(objectClass=user)"
    ldap_ufilter: "(&(objectClass=userJabberAccount)(sAMAccountName=%u))"
    ldap_groupattr: "cn"
    ldap_groupdesc: "description"
    ldap_memberattr: "sAMAccountName"
    ldap_useruid: "jabberUid"
    ldap_userdesc: "displayName"



 
« Last Edit: November 23, 2021, 12:59:16 pm by lionheart1986 »