I have just installed ejabberd 17.06 and I'm trying to configure it to authetication by ldap
I have an old ejabberd server 2.1.9 working perfectly, but with old syntax in ejabberd.cfg as {auth_method, ldap}. etc...
I'm trying to translate the old configuration (2.1.9) to new version (17.06), and I think that it's OK. The log dowsn't give me errors.
But when I'm trying to configure an admin user for ejabberd, I don't know how to...
In the old configuration I have:
{acl, admin, {user, "example", "jabber.XXXX.XXXX"}}.
But I don't know what to write in the new one. I have this now:
admin: user: - "example"@newjabber.XXXX.XXXX"
And when I try to authenticate into the admin web, ejabberd give me this in the log:
2017-07-31 14:40:41.135 [warning] <0.440.0>@ejabberd_web_admin:process:246 Access of <<"example">> from <<"::FFFF:XXX.XXX.XXX.XXX">> failed with error: <<"inexistent-account">>
You have too much commas,
You have too much commas, see:
Also, make sure the account exists. If it doesn't, register it.
Hello, I've wrote as you
Hello, I've wrote as you said:
acl:
admin:
user:
- "example@localhost"
2017-08-01 12:47:25.500 [warning] <0.441.0>@ejabberd_web_admin:process:246 Access of <<"example">> from <<"::FFFF:XXX.XXX.XXX.XXX">> failed with error: <<"inexistent-account">>
"example" is a valid user from LDAP
I've just try with
I've just try with example@[DNSname_of_the_server] instead example@localhost and it works!!!