From: Kurt Zeilenga Date: Sun, 25 May 2003 01:19:14 +0000 (+0000) Subject: #if 0 debug statements in signal handler X-Git-Tag: OPENLDAP_REL_ENG_2_1_21~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae30d3e6568f99f29cec441747604bdcfb9f2bc7;p=thirdparty%2Fopenldap.git #if 0 debug statements in signal handler remove cruft from slapd.conf --- diff --git a/servers/slapd/daemon.c b/servers/slapd/daemon.c index 71e7c07191..b2b5092dde 100644 --- a/servers/slapd/daemon.c +++ b/servers/slapd/daemon.c @@ -2010,11 +2010,13 @@ int sockdestroy(void) RETSIGTYPE slap_sig_shutdown( int sig ) { +#if 0 #ifdef NEW_LOGGING LDAP_LOG( CONNECTION, CRIT, "slap_sig_shutdown: signal %d\n", sig, 0, 0 ); #else Debug(LDAP_DEBUG_TRACE, "slap_sig_shutdown: signal %d\n", sig, 0, 0); +#endif #endif /* @@ -2025,12 +2027,14 @@ slap_sig_shutdown( int sig ) #if HAVE_NT_SERVICE_MANAGER && SIGBREAK if (is_NT_Service && sig == SIGBREAK) +#if 0 #ifdef NEW_LOGGING LDAP_LOG( CONNECTION, CRIT, "slap_sig_shutdown: SIGBREAK ignored.\n", 0, 0, 0 ); #else Debug(LDAP_DEBUG_TRACE, "slap_sig_shutdown: SIGBREAK ignored.\n", 0, 0, 0); +#endif #endif else #endif diff --git a/servers/slapd/slapd.conf b/servers/slapd/slapd.conf index 5fcca2c1db..bf6f611aa5 100644 --- a/servers/slapd/slapd.conf +++ b/servers/slapd/slapd.conf @@ -23,10 +23,6 @@ argsfile %LOCALSTATEDIR%/slapd.args # moduleload back_shell.la # Sample security restrictions -# -# Disallow clear text exchange of passwords -# disallow bind_simple_unprotected -# # Require integrity protection (prevent hijacking) # Require 112-bit (3DES or better) encryption for updates # Require 63-bit encryption for simple bind