LDAP authentication connector

From version 5.1.0, rev. (build) 2881 Tigase XMPP Server offers support for authenticating users against LDAP server in Bind Authentication mode.

Configuration for the LDAP support is really simple. You have to add a few lines to your init.properties file.

# LDAP Authentication connector
--auth-db = tigase.db.ldap.LdapAuthProvider
# LDAP connection URI
--auth-db-uri=ldap://ldap.tigase.com:389
# LDAP access parameters
basic-conf/auth-repo-params/user-dn-pattern=cn=USER_ID,ou=people,dc=tigase,dc=org

Please note the USER_ID element, this is a special element of the configuration which is used to authenticate particular user. Tigase LDAP connector replaces it with appropriate data during authentication. You can control what Tigase should put into this part. In your configuration you must replace this string with one of the following:

  1. %1$s - use user name only for authentication (JabberID's localpart)
  2. %2$s - use domain name only for authentication (JabberID's domain part)
  3. %3$s - use the whole Jabber ID (JID) for authentication
Application: 

Comments

init.properties file:
--user-db = mysql
--admins = admin@localhost.localdomain
--user-db-uri = jdbc:mysql://localhost.localdomain/tigasedb?user=tigase&password=tigase12
config-type = --gen-config-def
--virt-hosts = localhost.localdomain
--debug = server

# LDAP Authentication connector
--auth-db = tigase.db.ldap.LdapAuthProvider
# LDAP connection URI
--auth-db-uri=ldap://ldap.localhost.localdomain:389
#LDAP access parameters
basic-conf/auth-repo-params/user-dn-pattern=cn=%1$s,dc=localhost,dc=localdomain
..........................................................

OpenLDAP slapd.conf:
database bdb
suffix "dc=localhost,dc=localdomain"
rootdn "cn=Manager,dc=localhost,dc=localdomain"
..........................................................

I am using Spark-2.6.3 as XMPP client,but I cannot registering a New User.Please reply the soonest possible.
Thanks

New user registration is not yet supported for the LDAP connector.

How shoule I use LDAP authentication connector?Data needs to be stored in LDAP?
Please give me a detailed configuration.
Thank you very much.

my conputer hostname:
127.0.0.1 localhost.localdomain localhost

Do you support multiple ldap authentication sources?

Yes, on per-domain basis, please have a look at guide: Tigase server and multiple databases

Few quick questions:

1. Our ldap server forces bind for each connection. How can I configure ldap bind credentials which can be used by tigase for authenticating users?
2. How can we configure ldap user search filter as our users are spread across various OUs?
3. Does tigase support loading automatic rosters for users based on ldap groups? If so, how can we configure the groups?