ejabberd - Comments for "little help for ldap method authentication." https://www.ejabberd.im/node/1250 en I think you should upgrade https://www.ejabberd.im/node/1250#comment-2777 <p>I think you should upgrade ejabberd to 1.1.2-4~bpo2, which is in backport database already. It has a LDAP-related bugfix, which is important, when ejabberd is running on erlang 1:11.b.2.</p> Sat, 23 Dec 2006 16:36:17 +0000 teo comment 2777 at https://www.ejabberd.im apt-cache show https://www.ejabberd.im/node/1250#comment-2771 <p>apt-cache show erlang-nox<br /> Package: erlang-nox<br /> Version: 1:11.b.2-4~bpo.1</p> <p>apt-cache show ejabberd<br /> Package: ejabberd<br /> Version: 1.1.1-5~bpo1</p> Thu, 21 Dec 2006 12:06:17 +0000 msan comment 2771 at https://www.ejabberd.im It's incomplete versions. https://www.ejabberd.im/node/1250#comment-2765 <p>It's incomplete versions. Please, specify full erlang and ejabberd versions. What's exactly shown on </p> <pre>apt-cache show erlang-nox</pre><p> and </p> <pre>apt-cache show ejabberd</pre><p>?</p> Wed, 20 Dec 2006 11:22:56 +0000 teo comment 2765 at https://www.ejabberd.im I'm using debian stable with https://www.ejabberd.im/node/1250#comment-2763 <p>I'm using debian stable with ejabberd and erlang backports from <noindex><a href="http://www.backport.org" title="www.backport.org" rel="nofollow" >www.backport.org</a></noindex>.<br /> Erlang version is 1:11 while ejabberd is 1.1.2.</p> Wed, 20 Dec 2006 08:23:07 +0000 msan comment 2763 at https://www.ejabberd.im Re: little help for ldap method authentication. https://www.ejabberd.im/node/1250#comment-2761 <p>Config looks ok. What *exactly* version of ejabberd and Erlang do you use? Debian package had some LDAP problem with Erlang R11B-2. Make sure you have the latest versions.</p> Tue, 19 Dec 2006 12:52:29 +0000 xram@jabber.ru comment 2761 at https://www.ejabberd.im I've try also an external https://www.ejabberd.im/node/1250#comment-2760 <p>I've try also an external script in perl downloaded from <a href="http://www.ejabberd.im/extauth" title="http://www.ejabberd.im/extauth">http://www.ejabberd.im/extauth</a>.<br /> I've set up my parameters and run at command line.<br /> It connect to my ldap server but when I call it from ejabberd it seems that doesn't connect to ldap server as I see no log informations.<br /> This is part of ejabberd.cfg </p> <p>{auth_method, external}.<br /> {extauth_program, "/home/mauro/check_pass_ldap_perl.pl"}.</p> Tue, 19 Dec 2006 12:43:05 +0000 msan comment 2760 at https://www.ejabberd.im That's part of my https://www.ejabberd.im/node/1250#comment-2758 <p>That's part of my ejabberd.log, there is anything else regarding ldap connections.</p> <p>=INFO REPORT==== 2006-12-18 19:01:12 ===<br /> I(&lt;0.206.0&gt;:ejabberd_listener:90): (#Port&lt;0.306&gt;) Accepted connection {{192,168,5,37},59092} -&gt; {{192,168,4,7},5222}</p> <p>=INFO REPORT==== 2006-12-18 19:02:10 ===<br /> I(&lt;0.514.0&gt;:ejabberd_listener:90): (#Port&lt;0.641&gt;) Accepted connection {{192,168,5,37},59117} -&gt; {{192,168,4,7},5222}</p> <p>=INFO REPORT==== 2006-12-18 19:10:50 ===<br /> I(&lt;0.224.0&gt;:ejabberd_listener:90): (#Port&lt;0.340&gt;) Accepted connection {{192,168,5,37},58701} -&gt; {{192,168,4,7},5222}</p> <p>=INFO REPORT==== 2006-12-18 19:11:41 ===<br /> I(&lt;0.224.0&gt;:ejabberd_listener:90): (#Port&lt;0.347&gt;) Accepted connection {{192,168,5,37},36526} -&gt; {{192,168,4,7},5222}</p> Tue, 19 Dec 2006 11:16:46 +0000 msan comment 2758 at https://www.ejabberd.im Maybe in https://www.ejabberd.im/node/1250#comment-2757 <p>post please part of /var/log/jabber/ejabberd.log</p> Tue, 19 Dec 2006 10:55:27 +0000 ZM_Michael comment 2757 at https://www.ejabberd.im here is a part of my config https://www.ejabberd.im/node/1250#comment-2756 <p>here is a part of my config file:</p> <p>{auth_method, ldap}.<br /> {ldap_servers, ["localhost"]}.<br /> {ldap_uidattr, "uid"}.<br /> {ldap_base, "ou=People,dc=xxx,dc=xxx,dc=xx"}.<br /> {ldap_rootdn, "cn=xxx,dc=xxx,dc=xxx,dc=xx"}.<br /> {ldap_password, "xxx"}.</p> <p>Here is a ldif entry of a user:</p> <p>dn: uid=xxx.xxx,ou=People,dc=xxxxx,dc=xxxxx,dc=xx<br /> objectClass: top<br /> objectClass: person<br /> objectClass: organizationalPerson<br /> objectClass: inetOrgPerson<br /> objectClass: posixAccount<br /> mail: <noindex><a href="mailto:xxx.xxx@xxxxx.xxxxx.xx" rel="nofollow" >xxx.xxx@xxxxx.xxxxx.xx</a></noindex><br /> uid: xxx.xxx<br /> cn: xxx xxx<br /> sn: xxx<br /> uidNumber: 1004<br /> gidNumber: 1004<br /> homeDirectory: /var/vmail/xxx.xxx<br /> userPassword:: e2NyeXB0fWpWTkpGbzNvMkk3TXc=</p> Tue, 19 Dec 2006 10:12:05 +0000 msan comment 2756 at https://www.ejabberd.im Re: little help for ldap method authentication. https://www.ejabberd.im/node/1250#comment-2755 <p>Show your config file and an ldif entry of a user.</p> Tue, 19 Dec 2006 10:03:17 +0000 xram@jabber.ru comment 2755 at https://www.ejabberd.im No, there aren't any https://www.ejabberd.im/node/1250#comment-2753 <p>No, there aren't any log.<br /> That's why I think that ejabberd doesn't any queries to slapd.</p> Tue, 19 Dec 2006 08:44:07 +0000 msan comment 2753 at https://www.ejabberd.im Is any logs in https://www.ejabberd.im/node/1250#comment-2752 <p>Is any logs in /var/log/messages or syslog? with loglevel 256 in slapd.conf</p> Tue, 19 Dec 2006 08:20:07 +0000 ZM_Michael comment 2752 at https://www.ejabberd.im any help? :-( https://www.ejabberd.im/node/1250#comment-2751 <p>any help? :-(</p> Tue, 19 Dec 2006 07:55:18 +0000 msan comment 2751 at https://www.ejabberd.im