Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 172671 - net-im/ejabberd-1.1.3 fails to connect to openldap
Summary: net-im/ejabberd-1.1.3 fails to connect to openldap
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Tony Vroon (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-29 13:41 UTC by Alexey Romanov
Modified: 2007-04-05 13:05 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Romanov 2007-03-29 13:41:19 UTC
With the latest avaliable erlang (erlang-11.2.3-r1) package installed, ejabberd fails to connect to openldap server. Here is openldap's log:

Mar 30 01:37:09 services slapd[20354]: conn=3844 fd=13 ACCEPT from IP=192.168.nn.nnn:55700 (IP=0.0.0.0:389)
Mar 30 01:37:09 services slapd[20354]: conn=3845 fd=14 ACCEPT from IP=192.168.nn.nnn:59408 (IP=0.0.0.0:389)
Mar 30 01:37:09 services slapd[20354]: conn=3844 op=0 BIND dn="cn=Manager,dc=xxx,dc=com" method=128
Mar 30 01:37:09 services slapd[20354]: conn=3844 op=0 BIND dn="cn=Manager,dc=xxx,dc=com" mech=SIMPLE ssf=0
Mar 30 01:37:09 services slapd[20354]: conn=3844 op=0 RESULT tag=97 err=0 text=
Mar 30 01:37:09 services slapd[20354]: conn=3845 op=0 BIND dn="cn=Manager,dc=xxx,dc=com" method=128
Mar 30 01:37:09 services slapd[20354]: conn=3845 op=0 BIND dn="cn=Manager,dc=xxx,dc=com" mech=SIMPLE ssf=0
Mar 30 01:37:09 services slapd[20354]: conn=3845 op=0 RESULT tag=97 err=0 text=
Mar 30 01:37:09 services slapd[20354]: conn=3844 fd=13 closed (connection lost)
Mar 30 01:37:09 services slapd[20354]: conn=3845 fd=14 closed (connection lost)


Reproducible: Always

Steps to Reproduce:
1. Install ejabberd-1.1.3 with ldap support compiled, configure and specify your ldap server parameters. During installation it will pull the most recent erlang, currently it is erlang-11.2.3-r1.

2. Start the server as usual and look at openldap's log.

Actual Results:  
It fails to connect to LDAP server, disconnecting after successful authentification -> it fails to authentificate any clients.

Expected Results:  
It should connect to LDAP server and authentificate its clients using remote LDAP base.

I've used Xen VM with just installed Gentoo 2006.1 to reproduce the bug. The architecture is Amd64, so I had to unmask erlang and ejabberd.
Comment 1 Tony Vroon (RETIRED) gentoo-dev 2007-04-05 13:05:55 UTC
(In reply to comment #0)
> I've used Xen VM with just installed Gentoo 2006.1 to reproduce the bug. The
> architecture is Amd64, so I had to unmask erlang and ejabberd.

You had to unmask the software because it is not keyworded, and thus not supported on your architecture. I'm sorry, this bug is invalid.