The Samba-Bugzilla – Bug 8611
libsmbclient: No method to do smbc_getOptionDebugToStderr() before loading smb.conf
Last modified: 2012-12-18 05:52:36 UTC
If the smb.conf (or $HOME/.smb/smb.conf) has "log level = X" and
X is higher value, libsmbclient log some messages to standard output
when the first smbc_new_context() is called. I want to change
the all log destination to standard error to avoid corrupting
standard output, but there is no way to do that.