Paul Dwerryhouse writes:
According to OpenLDAP's documentation, "host:port" in LDAP server should direct the connection to the specified port for a given server, instead of LDAP_PORT.On Sat, Nov 02, 2002 at 08:19:32PM -0500, Sam Varshavchik wrote:In authldaprc, specify a comma-separated list of LDAP servers for LDAP_SERVER.
Thanks. I assume this means that they all have to be using the same LDAP port, or does LDAP_PORT also take a comma separated list (where each entry represents the correspondingly positioned entry in LDAP_SERVER)?
Courier's not going to notice if the server went down until it actually tries to authenticate something. If nothing came through the system for hours after the LDAP server crash, Courier will only notice the outage when the first authentication attempt comes in.If you're running OpenLDAP 2.0.19 or earlier there's an artificial 60 second delay before authdaemon restarts. 2.0.19 and earlier leak memory if the server connect fails, so it's necessary to restart authdaemon processes after a server failure. To prevent the server from forkbombing itself after an LDAP failure, a 60 second timer is started after a server connection failure, during which all authentication requests are turned away. After 60 seconds the process is killed, and is restarted by the parent authdaemon process.Hmmm. I'm not sure that explains what I'm seeing, though. For a start,
my installation of courier is linked against openldap 2.0.23. Secondly,
it's generally hours after the fact that I discover that the server has crashed and has been restarted, yet I still have to stop and restart
authdaemond and the imap & pop services manually, before I can make it
successfully authenticate again.
-------------------------------------------------------
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
