Commit 3c1c61c5 authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

log slapi config read failure (partial fulfilment of ITS#3098)

parent 6366a0ca
......@@ -2496,7 +2496,16 @@ read_config( const char *fname, int depth )
#endif /* notdef */
if ( slapi_int_read_config( be, fname, lineno, cargc, cargv )
!= LDAP_SUCCESS ) {
!= LDAP_SUCCESS )
{
#ifdef NEW_LOGGING
LDAP_LOG( CONFIG, INFO,
"%s: line %d: SLAPI config read failed.\n",
fname, lineno, 0 );
#else
Debug( LDAP_DEBUG_ANY, "%s: line %d: SLAPI "
"config read failed.\n", fname, lineno, 0 );
#endif
return( 1 );
}
slapi_plugins_used++;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment