[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
(ITS#8723) slaptest reports success status in stderr
- To: openldap-its@OpenLDAP.org
- Subject: (ITS#8723) slaptest reports success status in stderr
- From: arun@gluu.org
- Date: Tue, 05 Sep 2017 11:15:33 +0000
- Auto-submitted: auto-generated (OpenLDAP-ITS)
Full_Name: Arunmozhi
Version: 2.4
OS: Ubuntu 14.04.5 x64
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (103.52.54.225)
slaptest when run with -f and -F arguments for slapd.conf to slapd.d conversion
returns all the messages only in stderr instead of returning success messages in
stdout.
I am developing a tool which sends commands over SSH and catches the replies
using the Python Library Paramiko. It clearly captures stdin, stdout and stderr
when a command is run and returns to the user
(http://docs.paramiko.org/en/2.2/api/client.html#paramiko.client.SSHClient.exec_command)
I noticed that the message "config file testing succeeded" is returned back in
the channel stderr and not stdout.
Kindly take a look. It might be a one line fix. :)
Thanks and Regards,
Arunmozhi