tigase / tigase-server

(M) Highly optimized, extremely modular and very flexible XMPP/Jabber server
https://tigase.net
GNU Affero General Public License v3.0
322 stars 107 forks source link

Tigase authentication and Derby db #58

Open dmattiuzzo opened 3 years ago

dmattiuzzo commented 3 years ago

Hi guys, i have deployed tigase by docker and i can't login by ldap. I also cannot see any error on log. Any idea?

authRepository {
    default () {
        cls = 'tigase.db.ldap.LdapAuthProvider'
        uri = 'ldap://xxx.xx.xx:389'
        'user-dn-pattern' = 'CN=%1$s,OU=xx,OU=xx,OU=xx,OU=xx,DC=xx,DC=xx,DC=xxx'
    }
}

dataSource () {
    default () {
        uri = 'jdbc:derby:xxxxx_tigasedb;create=true;autoCreateUser=true'
    }
}
woj-tek commented 3 years ago

Which authentication method do you use? Could you enable more verbose debugging (see https://docs.tigase.net/tigase-server/master-snapshot/Administration_Guide/html/#debuggingTigase), especially for package db and check the logs? Were Tiagse able to connect to your LDAP server?