LDAP support auth not working
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ejabberd |
Fix Released
|
Unknown
|
|||
ejabberd (Debian) |
Fix Released
|
Unknown
|
|||
ejabberd (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Trusty |
Fix Released
|
Medium
|
Unassigned |
Bug Description
I updated to ubuntu saucy and after the update, the LDAP auth is not working anymore. I didn't change the configuration and the LDAP itself is running and working for many other services. Only ejabberd is unable to bind.
The following log entries repeat constantly without users trying to access the system.
=INFO REPORT==== 2013-10-18 13:17:31 ===
I(<0.291.
=WARNING REPORT==== 2013-10-18 13:17:31 ===
W(<0.288.
Reason: {undef,
=INFO REPORT==== 2013-10-18 13:17:31 ===
I(<0.38.
==> /var/log/
=PROGRESS REPORT==== 18-Oct-
=PROGRESS REPORT==== 18-Oct-
=PROGRESS REPORT==== 18-Oct-
=PROGRESS REPORT==== 18-Oct-
Changed in ejabberd: | |
status: | Unknown → New |
Changed in ejabberd (Debian): | |
status: | Unknown → New |
Changed in ejabberd (Ubuntu Trusty): | |
status: | New → Confirmed |
Changed in ejabberd: | |
status: | New → Confirmed |
Changed in ejabberd (Debian): | |
status: | New → Confirmed |
Changed in ejabberd: | |
status: | Confirmed → Fix Committed |
Changed in ejabberd (Debian): | |
status: | Confirmed → Fix Committed |
Changed in ejabberd: | |
status: | Fix Committed → Fix Released |
Changed in ejabberd (Debian): | |
status: | Fix Committed → Fix Released |
Sorry, forgot my current LDAP conf from ejabberd.conf
%%% ==============
%%% AUTHENTICATION
%%
%% auth_method: Method used to authenticate the users.
%% The default method is the internal.
%% If you want to use a different method,
%% comment this line and enable the correct ones.
%%
%%{auth_method, internal}.
%% to/authenticati on/script" }.
%% Authentication using external script
%% Make sure the script is executable by ejabberd.
%%
%%{auth_method, external}.
%%{extauth_program, "/path/
%%
%% Authentication using ODBC
%% Remember to setup a database in the next section.
%%
%%{auth_method, odbc}.
%%
%% Authentication using PAM
%%
%%{auth_method, pam}.
%%{pam_service, "pamservicename"}.
%% dc=com" }. dc=teqneers, dc=de"} . shadowAccount) "}. shadowAccount) "}.
%% Authentication using LDAP
%%
{auth_method, ldap}.
%%
%% List of LDAP servers:
{ldap_servers, ["localhost"]}.
%%
%% Encryption of connection to LDAP servers (LDAPS):
{ldap_encrypt, none}.
%%{ldap_encrypt, tls}.
%%
%% Port connect to LDAP server:
{ldap_port, 389}.
%%{ldap_port, 636}.
%%
%% LDAP manager:
%%{ldap_rootdn, "dc=example,
%%
%% Password to LDAP manager:
%%{ldap_password, ""}.
%%
%% Search base of LDAP directory:
{ldap_base, "ou=group,
%%
%% LDAP attribute that holds user ID:
%%{ldap_uids, [{"mail", "%<email address hidden>"}]}.
{ldap_uids, [{"uid","%u"}]}.
%%
%% LDAP filter:
%%{ldap_filter, "(objectClass=
{ldap_filter, "(objectClass=