[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#8723) slaptest reports success status in stderr
- To: openldap-its@OpenLDAP.org
- Subject: Re: (ITS#8723) slaptest reports success status in stderr
- From: hyc@symas.com
- Date: Tue, 05 Sep 2017 11:25:15 +0000
- Auto-submitted: auto-generated (OpenLDAP-ITS)
arun@gluu.org wrote:
> 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. :)
This is not a bug. slaptest doesn't produce any actual output, only diagnostic
messages and an exit code.
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/