ejabberd - Comments for "ldap over ssl" https://www.ejabberd.im/node/613 en The status of your LDAPS https://www.ejabberd.im/node/613#comment-1909 <p>The status of your LDAPS patch can be tracked on its <noindex><a href="http://www.jabber.ru/bugzilla/show_bug.cgi?id=255" rel="nofollow" >bugzilla entry</a></noindex> and on its <noindex><a href="/ldaps" rel="nofollow" >contribution page</a></noindex>.</p> Fri, 23 Jun 2006 22:10:13 +0000 mfoss comment 1909 at https://www.ejabberd.im ldap over ssl https://www.ejabberd.im/node/613#comment-1908 <p>I recently finished adding LDAPS to my ejabberd. I have attached the modified eldap.erl to bugzilla id #255. To make use of it, you will need to specify port 636 instead of 389 in ejabberd_auth_ldap.erl and mod_vcard_ldap.erl.</p> Fri, 23 Jun 2006 20:54:18 +0000 roo comment 1908 at https://www.ejabberd.im Please! https://www.ejabberd.im/node/613#comment-1563 <p>Please post the tutorial when you have finished it, many thanks!<br /> --<br /> <noindex><a href="http://www.suchspion.de/" rel="nofollow" >suchspion</a></noindex></p> Thu, 13 Apr 2006 07:36:20 +0000 netuno comment 1563 at https://www.ejabberd.im Re: I've got a perl script https://www.ejabberd.im/node/613#comment-1329 <div class="quote-msg"> <div class="quote-author"><em>jperegrino</em> wrote:</div> <p>I've got a perl script working for external auth to our LDAP server over SSL. I'll post it once it is cleaned up.</p></div> <p>OK, once you post it, I'll add it to the Contributions page.</p> Wed, 01 Feb 2006 22:10:00 +0000 mfoss comment 1329 at https://www.ejabberd.im I've got a perl script https://www.ejabberd.im/node/613#comment-1326 <p>I've got a perl script working for external auth to our LDAP server over SSL. I'll post it once it is cleaned up. If anyone wants a copy they can email me at <noindex><a href="mailto:james_peregrino@harvard.edu" rel="nofollow" >james_peregrino@harvard.edu</a></noindex></p> Wed, 01 Feb 2006 16:15:55 +0000 jperegrino comment 1326 at https://www.ejabberd.im Re: Also interested in LDAPS support https://www.ejabberd.im/node/613#comment-1324 <div class="quote-msg"> <div class="quote-author"><em>fseesink</em> wrote:</div> <p>I plan to write up what all I've done in a tutorial when I get a chance, mostly for myself and those I work with (in case they need to do the same in the future). If anyone is interested, let me know and when I've done so, I'll post it. </p></div> <p>It maybe can be listed on the <noindex><a href="/tutorials" rel="nofollow" >tutorials page</a></noindex>.</p> Tue, 31 Jan 2006 21:33:54 +0000 sander comment 1324 at https://www.ejabberd.im Re: ldap over ssl https://www.ejabberd.im/node/613#comment-1314 <div class="quote-msg"> <div class="quote-author"><em>jperegrino</em> wrote:</div> <p>We connect to our ldap server *only* over ssl, on port 636. Does ejabberd support that? I see no place to specify a port number. </p></div> <p>ejabberd uses a library to get LDAP support: ELDAP. The port is hard coded on the file ejabberd_auth_ldap.erl, line 39:</p> <pre> eldap:start_link(get_eldap_id(Host, ejabberd), LDAPServers, 389, RootDN, Password), eldap:start_link(get_eldap_id(Host, ejabberd_bind), LDAPServers, 389, RootDN, Password),</pre><p>You can try to modify that file, recompile and restart. However, the fact that nowehere on the ejabberd guide or the example ejabberd.cfg is a place to change the port or enable LDAPS indicates that it's not mean to be possible right now.</p> <div class="quote-msg"> <div class="quote-author"><em>jperegrino</em> wrote:</div> <p>Secondly, does the ssl sections in the ejabberd config file have anything to do with ldap or does that just govern the communication between a jabber client and the jabber server? </p></div> <p>The second option: they are for client and server connections, and also for the web interface.</p> <div class="quote-msg"> <div class="quote-author"><em>jperegrino</em> wrote:</div> <p>If I can't specify the port, I guess that means I have to use an external script. Is the script interface documented somewhere? </p></div> <p>Unfortunately, it isn't at all. However, there are several extauth scripts on the <noindex><a href="/contributions" rel="nofollow" >Contributions</a></noindex> page that you can use as example code. As soon as you or anybody else writes such a script and sends the code to the mailing list, or here, we will publish it on that page.</p> Sun, 29 Jan 2006 18:07:11 +0000 mfoss comment 1314 at https://www.ejabberd.im Also interested in LDAPS support https://www.ejabberd.im/node/613#comment-1308 <p>____________________________________________________________<br /> SETUP</p> <p>* Windows XP SP2<br /> * OpenSSL for Win32 0.9.8a<br /> * Erlang R10B-9<br /> * ejabberd 1.0.0<br /> * OpenLDAP for Win32 2.2.29 (Matthias Mohr's build)</p> <p>____________________________________________________________<br /> BACKGROUND</p> <p>Thus far, I have been able to get the following to work:</p> <p>* ejabberd with basic config (e.g., using Mnesia db)<br /> * Various Jabber/XMPP clients work<br /> (Exodus, GAIM, JAJC, Miranda, Pandion, Psi)<br /> * ejabberd working with STARTTLS on port 5222 and SSL on 5223;<br /> all clients work using their respective secured capabilities<br /> * ejabberd federating with Google Talk and communicating fine<br /> between ejabberd users and Google Talk users, configured both with<br /> standard s2s and even when set to force STARTTLS on s2s sessions<br /> * ejabberd authenticating against OpenLDAP using basic port 389 config<br /> (need to test more, as I don't have OpenLDAP ACLs tightened down,<br /> but thus far works as I would like)</p> <p>The final piece in the puzzle is the ability to connect from ejabberd to LDAP using LDAP over SSL (LDAPS) on port 636. As mentioned by jperegrino, there is no information in the documentation nor the config comments to indicate how one might do this.</p> <p>So the first question is, does ejabberd 1.0.0 support connecting to an LDAP server via LDAPS/port 636? If so, what must one do to make this work?</p> <p>I plan to write up what all I've done in a tutorial when I get a chance, mostly for myself and those I work with (in case they need to do the same in the future). If anyone is interested, let me know and when I've done so, I'll post it.</p> Sun, 29 Jan 2006 03:44:14 +0000 fseesink comment 1308 at https://www.ejabberd.im