summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Židek <mzidek@redhat.com>2017-05-04 15:10:55 +0200
committerLukas Slebodnik <lslebodn@redhat.com>2017-05-19 16:43:41 +0200
commitb4ca0da4d8d70bcfbd4f809f3b3b094d43d64cfc (patch)
tree481ccd90b2be5a5f2a77970fca119867c52421bc
parent1a89fc33d1b9b1070c7ab83fb0314e538ac46736 (diff)
downloadsssd-b4ca0da4d8d70bcfbd4f809f3b3b094d43d64cfc.tar.gz
sssd-b4ca0da4d8d70bcfbd4f809f3b3b094d43d64cfc.tar.xz
sssd-b4ca0da4d8d70bcfbd4f809f3b3b094d43d64cfc.zip
AD: Add debug messages
Add debug messages when 1way or 2way trusts are created. Reviewed-by: Sumit Bose <sbose@redhat.com>
-rw-r--r--src/providers/ad/ad_common.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/providers/ad/ad_common.c b/src/providers/ad/ad_common.c
index 1a9d8dc0b..84845e285 100644
--- a/src/providers/ad/ad_common.c
+++ b/src/providers/ad/ad_common.c
@@ -312,6 +312,9 @@ ad_create_2way_trust_options(TALLOC_CTX *mem_ctx,
struct ad_options *ad_options;
errno_t ret;
+ DEBUG(SSSDBG_TRACE_FUNC, "2way trust is defined to domain '%s'\n",
+ subdom->name);
+
ad_options = ad_create_options(mem_ctx, cdb, conf_path, subdom);
if (ad_options == NULL) {
DEBUG(SSSDBG_CRIT_FAILURE, "ad_create_options failed\n");
@@ -349,6 +352,9 @@ ad_create_1way_trust_options(TALLOC_CTX *mem_ctx,
const char *realm;
errno_t ret;
+ DEBUG(SSSDBG_TRACE_FUNC, "1way trust is defined to domain '%s'\n",
+ subdom->name);
+
ad_options = ad_create_options(mem_ctx, cdb, subdom_conf_path, subdom);
if (ad_options == NULL) {
DEBUG(SSSDBG_CRIT_FAILURE, "ad_create_options failed\n");