Web Admin Login does not work after ldap authentication configured

Hello all,

New to ejabberd and need some help please. I have ejabberd up and have it set up to integrate with ldap(ldap in other system,).I can't able to loging into the Web Admin of the jabber server with the old Admin credential and ldap user name (eg username: test,password: test)

2017-12-12 17:08:27.299 [warning] <0.475.0>@ejabberd_web_admin:process:246 Access of <<"admin@MJDEV-023">> from <<"::FFFF:127.0.0.1">> failed with error: <<"inexistent-account">>

ldap configuration
ldap_servers:
- "[IP]"
ldap_port: 389
ldap_rootdn: "cn=admin,dc=mjdomain,dc=com"
ldap_password: "*******"
ldap_base: "dc=mjdomain,dc=com"
ldap_uids:
- "1006"

if possible to configure auth_method: internal and ldap for same host

mariyana wrote: Hello

mariyana wrote:

Hello all,

New to ejabberd and need some help please. I have ejabberd up and have it set up to integrate with ldap(ldap in other system,).I can't able to loging into the Web Admin of the jabber server with the old Admin credential and ldap user name (eg username: test,password: test)

2017-12-12 17:08:27.299 [warning] <0.475.0>@ejabberd_web_admin:process:246 Access of <<"admin@MJDEV-023">> from <<"::FFFF:127.0.0.1">> failed with error: <<"inexistent-account">>

You can create that account in the LDAP server, and then it would work, right?

mariyana wrote:

if possible to configure auth_method: internal and ldap for same host

Yes, like this:
auth_method: [internal, ldap]

Syndicate content