Import password security fix from -devel (ITS#232)
Provided slapd workaround for "*" attribute type specifier (ITS#236)
Fixed slapd attribute type list/only specifier on cn=monitor/config
+ Enable slapd keep alives.
Build environment
Updated to latest Autoconf (AnonCVS)
Updated to latest aclocal from Automake (AnonCVS)
i = 1;
if ( setsockopt( tcps, SOL_SOCKET, SO_REUSEADDR, (char *) &i,
sizeof(i) ) == -1 ) {
- Debug( LDAP_DEBUG_ANY, "setsockopt() failed errno %d (%s)",
+ Debug( LDAP_DEBUG_ANY, "setsockopt(reuse) failed errno %d (%s)",
errno, errno > -1 && errno < sys_nerr ? sys_errlist[errno] :
"unknown", 0 );
}
+#ifdef SO_KEEPALIVE
+ i = 1;
+ if ( setsockopt( tcps, SOL_SOCKET, SO_KEEPALIVE, (char *) &i,
+ sizeof(i) ) == -1 ) {
+ Debug( LDAP_DEBUG_ANY, "setsockopt(keepalive) failed errno %d (%s)",
+ errno, errno > -1 && errno < sys_nerr ? sys_errlist[errno] :
+ "unknown", 0 );
+ }
+#endif
+
(void) memset( (void *) &addr, '\0', sizeof(addr) );
addr.sin_family = AF_INET;
addr.sin_addr.s_addr = INADDR_ANY;