alabrazerzkidai.blogg.se

Ejabberd ldap
Ejabberd ldap














Anyone have ever had this problem? We thought about having one Ejabberd instance having its own db for each domain but this is kinda stupid, so we don't know what to do.

Ejabberd ldap how to#

When we tried to login in our frontend client, we realized that vcards stopped working for everyone and our suspects rely on the fact that without the domain, ejabberd doesn't know how to handle these conflicts.

ejabberd ldap

| john.doe | (.) | (.) | (this John is from domain 2) I'm hosting an Ejabberd v17.11 instance in my datacenter that serve about 20 domains at once and we use a MySQL v5.6 with Ejabberd MySQL default schema as our database because we want to use our previous clients database (yeah, LDAP should be a better solution, I tried to suggest it before). Configure the following in /opt/ejabberd/conf.

ejabberd ldap

The following post will describe what is needed to setup LDAP authentication and configure modvcardldap. When we try to create vcards of users from domain 2 and we have an example conflict of two users (one at each domain) named John Doe, we faced our first problem. However, if you integrate ejabberd with an LDAP server and modsharedroster, the user’s proper name will not be displayed unless modvcardldap is also setup. This part works - I can logon to the server using my AD user, I can add other users if I know their AD name. | john.doe | (.) | (.) | (this John is from domain 1) Ive set up an ejabberd installation and configured the LDAP authentication and vcard data extraction against an ActiveDirectory global catalog server as described in the documentation. In there, we don't have two users with the same username so we don't have conflicts and the users can login normally and have their vcards displayed. To clarify, take this example of the vcard table that contains only users from domain 1. Since we're serving about 20 domains, our mysql ejabberd.vcard table has a big chance to carry duplicate usernames because this specific field references the username and ignore its domain. Nothing to remove No hostdn for ejabberd-ecs found. I'm using the testing package from debian (ejabberd 0.9.8-1) and a replica of my directory server on the jabber host (slapd 2.2.23-8).

ejabberd ldap

A few days ago me and my coworkers tried to figure out a way to display the user first and last names in our frontend client (JSXC) so users can identify each other in their contacts list (or roster group) in a more friendly way.Īfter a few research we found the mod_vcard from Ejabberd that we've already put to work. Setting ldap/server/name Setting ldap/server/ip Not updating ldap/server/port Create ldap/master Not. Hello, I've just managed to authenticate my jabber users using an ldap directory server. I'm hosting an Ejabberd v17.11 instance in my datacenter that serve about 20 domains at once and we use a MySQL v5.6 with Ejabberd MySQL default schema as our database because we want to use our previous clients database (yeah, LDAP should be a better solution, I tried to suggest it before).














Ejabberd ldap