sinnykumari / rpms / sssd

Forked from rpms/sssd 5 years ago
Clone

Blame 0011-Re-add-a-useful-DEBUG-message.patch

8445320
From 5aad10b49e193ee14a86e1277146a223005a2d6b Mon Sep 17 00:00:00 2001
8445320
From: Jakub Hrozek <jhrozek@redhat.com>
8445320
Date: Mon, 13 May 2013 10:23:56 +0200
8445320
Subject: [PATCH] Re-add a useful DEBUG message
8445320
8445320
In commit 46222e5191473f9a46aec581273eb2eef22e23be we removed a very
8445320
similar DEBUG message while moving the whole piece of code to the idmap
8445320
library. But it turned out that the DEBUG message was useful while
8445320
testing the functionality, so this patch adds it back.
8445320
---
8445320
 src/providers/ldap/sdap_idmap.c | 2 ++
8445320
 1 file changed, 2 insertions(+)
8445320
8445320
diff --git a/src/providers/ldap/sdap_idmap.c b/src/providers/ldap/sdap_idmap.c
8445320
index 050b2c5a768f58acd376e68a15a579e1e56894ac..43db0c83354ed2f8f112a8853ab66ab51e1d9fd2 100644
8445320
--- a/src/providers/ldap/sdap_idmap.c
8445320
+++ b/src/providers/ldap/sdap_idmap.c
8445320
@@ -242,6 +242,8 @@ sdap_idmap_add_domain(struct sdap_idmap_ctx *idmap_ctx,
8445320
         ret = EIO;
8445320
         goto done;
8445320
     }
8445320
+    DEBUG(SSSDBG_TRACE_LIBS,
8445320
+          ("Adding domain [%s] as slice [%llu]\n", dom_sid, slice));
8445320
 
8445320
     if (range.max > idmap_upper) {
8445320
         /* This should never happen */
8445320
-- 
8445320
1.8.2.1
8445320