https://redmine.lighttpd.net/https://redmine.lighttpd.net/favicon.ico?13667327412007-08-13T16:55:55Zlighty labsLighttpd - Bug #1090: mod_auth ldap fails after LDAP restarthttps://redmine.lighttpd.net/issues/1090?journal_id=25922007-08-13T16:55:55ZAnonymous
<ul></ul><p>The LDAP backend is already trying to re-setup the connection. Are you using SSL for the connection? Otherwise try to find out why the auth_ldap_init fails.</p>
<p>-- joerg</p> Lighttpd - Bug #1090: mod_auth ldap fails after LDAP restarthttps://redmine.lighttpd.net/issues/1090?journal_id=25932007-08-16T14:13:49Zjoerg
<ul></ul><p>OK, I can get this without restart of the server. I'll try to find out where it comes from.</p> Lighttpd - Bug #1090: mod_auth ldap fails after LDAP restarthttps://redmine.lighttpd.net/issues/1090?journal_id=25942007-08-21T10:29:27Zjoerg
<ul></ul><p>Todd, are you using conditional evaluation in the lighttd.conf?</p> Lighttpd - Bug #1090: mod_auth ldap fails after LDAP restarthttps://redmine.lighttpd.net/issues/1090?journal_id=25952007-11-23T15:19:03ZAnonymous
<ul></ul><p>The cause for this is probably the same as for bugs <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: LDAP filtering broken (Fixed)" href="https://redmine.lighttpd.net/issues/529">#529</a> and <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: first HTTP authentication against LDAP fails: Bad search filter (Fixed)" href="https://redmine.lighttpd.net/issues/1096">#1096</a>.</p> Lighttpd - Bug #1090: mod_auth ldap fails after LDAP restarthttps://redmine.lighttpd.net/issues/1090?journal_id=25962008-08-27T21:14:40Zstbuehler
<ul></ul><p>The filter is now build correctly; as long as you have all your ldap options (except filter) only in blocks where you set the hostname, reconnect should work without problems too.</p>
<p>And there should have been a error message after "ldap ..."; the source shows:</p>
<pre>
log_error_write(srv, __FILE__, __LINE__, "ss", "ldap ...", strerror(errno));
</pre>
<p>Perhaps you could do a strace and see why the ldap connection fails.</p> Lighttpd - Bug #1090: mod_auth ldap fails after LDAP restarthttps://redmine.lighttpd.net/issues/1090?journal_id=25972008-08-28T15:22:49Zstbuehler
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Fixed</i></li><li><strong>Resolution</strong> set to <i>duplicate</i></li></ul><p>Remaining problems should be fixed with <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: mod_auth leaks ldap connections (Fixed)" href="https://redmine.lighttpd.net/issues/1066">#1066</a>.</p>