There's a closed pull request on the Samba Samba Github repository Added libsmbclient APIs for setting configuration file https://github.com/samba-team/samba/pull/99 Description: and Set callback function which is called to log Samba logs Signed-off-by: Puran Chand <pchand at vmware.com>