we are using ejabberd 19.02 with Active Directory Authentication and using mod_shared_roster_ldap for showing Contacts from a AD Group.
Its working fine but there is one problem. In Pidgin the default Group is "Buddies" and we want to show the AD Group Name. I dont get the config done to show the AD Group Name in Pidgin.
The AD Group Name is: XMPP-Messenger
Here is the mod_shared_roster_ldap config. It would be great if someone can help me to get the Group Name or the Group Description displayed:
ldap_base: "DC=our,DC=domain,DC=com" # Search base of LDAP directory
ldap_groupattr: "sAMAccountName"
ldap_groupdesc: ""
ldap_memberattr: "sAMAccountName"
ldap_memberattr_format: "%u"
ldap_useruid: "sAMAccountName"
ldap_userdesc: "displayName"
ldap_rfilter: "(&(objectCategory=group)(cn=XMPP-Messenger))"
ldap_gfilter: "(&(objectCategory=user)(memberOf=CN=XMPP-Messenger,OU=to,OU=Path,DC=our,DC=domain,DC=com))"
ldap_ufilter: "(&(objectClass=user)(sAMAccountName=%u))"
ldap_filter: ""
ldap_group_cache_validity: 60
ldap_user_cache_validity: 60
ldap_auth_check: off
Thanks and best regards.