From 0af3ec742fd3d160d8b6ccc81a368e851456d61c Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Tue, 6 Jan 2015 16:54:44 +0100 Subject: [PATCH 153/160] GPO: Set libsmb debugging to stderr libsmb logs to stdout by default. It's much more reasonable to log to stderr by default. Please also note: https://bugzilla.samba.org/show_bug.cgi?id=11036 and: https://fedorahosted.org/sssd/ticket/2544 Reviewed-by: Sumit Bose (cherry picked from commit bb7ddd2be9847bfb07395341c7623da1b104b8a6) --- src/providers/ad/ad_gpo_child.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/providers/ad/ad_gpo_child.c b/src/providers/ad/ad_gpo_child.c index 4bb48c0479400ebeeca287acfcb1573c69a76b90..c6eb52f06b1daadb083bd4c9efb299a12031d4d5 100644 --- a/src/providers/ad/ad_gpo_child.c +++ b/src/providers/ad/ad_gpo_child.c @@ -601,6 +601,7 @@ perform_smb_operations(int cached_gpt_version, goto done; } + smbc_setOptionDebugToStderr(smbc_ctx, 1); smbc_setFunctionAuthData(smbc_ctx, sssd_krb_get_auth_data_fn); smbc_setOptionUseKerberos(smbc_ctx, 1); -- 2.1.0