summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2015-01-06 16:54:44 +0100
committerJakub Hrozek <jhrozek@redhat.com>2015-01-13 17:50:05 +0100
commit9740d8a555dee2e41294f6e4acf558e4998656d9 (patch)
tree5af79e66f0c15f52caa88511225d33f80dd3b4dd /src
parent1d39190e64b84e12c41706d450fc9531888707c0 (diff)
downloadsssd-9740d8a555dee2e41294f6e4acf558e4998656d9.tar.gz
sssd-9740d8a555dee2e41294f6e4acf558e4998656d9.tar.xz
sssd-9740d8a555dee2e41294f6e4acf558e4998656d9.zip
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 <sbose@redhat.com> (cherry picked from commit bb7ddd2be9847bfb07395341c7623da1b104b8a6)
Diffstat (limited to 'src')
-rw-r--r--src/providers/ad/ad_gpo_child.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/providers/ad/ad_gpo_child.c b/src/providers/ad/ad_gpo_child.c
index ceb2faeb6..aa0ab0dc3 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);