Hi everyone.
I'm try to install ejabberd 16.01-2 on Ubuntu 16.04 with LDAP authorization.
And ejabberd-gssapi erlang-esasl from ppa:metlov/ejabberd-gssapi
All installed OK, but i cant login to jabber server from user computers.
What i do wrong?
LDAP section in ejabberd.yml
auth_method: ldap
ldap_servers:
- "rubel-s-000001.makcbelmed.local"
ldap_encrypt: none
ldap_port: 389
ldap_rootdn: "CN=jabra,CN=Users,DC=med,DC=local"
ldap_password: "123456"
ldap_base: "dc=med,dc=local"
ldap_uids:
- "sAMAccountName": "%u"
ldap_filter: "(memberOf=CN=jabra-group,CN=Users,DC=med,DC=local)"
sasl_realm: "MED.LOCAL"
sasl_fqdn: "jabra.med.local"
Error in /var/log/ejabberd/ejabberd.log
2016-10-24 10:26:00.088 [info] <0.554.0>@ejabberd_listener:accept:333 (#Port<0.8548>) Accepted connection ::FFFF:192.168.51.141:41519 -> ::FFFF:192.168.51.203:5222
2016-10-24 10:26:02.595 [info] <0.560.0>@ejabberd_net:gethostname:26 gethostname {socket_state,gen_tcp,#Port<0.8548>,<0.559.0>}
2016-10-24 10:26:03.138 [info] <0.560.0>@ejabberd_c2s:wait_for_feature_request:772 ({socket_state,ezlib,{zlibsock,gen_tcp,#Port<0.8548>,#Port<0.8565>},<0.559.0>}) Failed authentication for semen@jabra.med.local from ::FFFF:192.168.51.141
2016-10-24 10:26:03.166 [info] <0.560.0>@ejabberd_c2s:wait_for_feature_request:772 ({socket_state,ezlib,{zlibsock,gen_tcp,#Port<0.8548>,#Port<0.8565>},<0.559.0>}) Failed authentication for semen@jabra.med.local from ::FFFF:192.168.51.141
Test of keytab file
ubuntu@jabra:~$ sudo kinit -V -k -t /etc/ejabberd/xmpp.keytab xmpp/jabra.med.local@MED.LOCAL
Using default cache: /tmp/krb5cc_0
Using principal: xmpp/jabra.med.local@MED.LOCAL
Using keytab: /etc/ejabberd/xmpp.keytab
Authenticated to Kerberos v5