List Info

Thread: (ITS#4930) slaptest should be quiet on success




(ITS#4930) slaptest should be quiet on success
country flaguser name
United States
2007-04-18 04:42:20
Full_Name: Jan Safranek
Version: 2.3.35
OS: Linux (Fedora 6)
URL: 
Submission from: (NULL) (62.40.79.66)


The 'slaptest' tool is a bit verbose, it sends 'config file
testing succeeded'
to stderr. IMHO it should do not output anything, especially
to stderr, if
everything is all right.

Here is a small patch, causing the slaptest to display the
aforementioned
message  only if -v switch is used:

Index: servers/slapd/slaptest.c
============================================================
=======
RCS file:
/repo/OpenLDAP/pkg/ldap/servers/slapd/slaptest.c,v
retrieving revision 1.9
diff -r1.9 slaptest.c
107c107,108
<       fprintf( stderr, "config file testing
succeededn");
---
>       if (verbose)
>               fprintf( stderr, "config file
testing succeededn");




[1]

about | contact  Other archives ( Real Estate discussion Medical topics )