From 56e88cd5f3501566778b138e4934ee8e7f3fa674 Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Thu, 4 Jun 2015 15:36:21 +0200 Subject: SDAP: Log failure from sysdb_handle_original_uuid MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Michal Židek --- src/providers/ldap/sdap_async_initgroups.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/providers') diff --git a/src/providers/ldap/sdap_async_initgroups.c b/src/providers/ldap/sdap_async_initgroups.c index 4d9738ee6..ffb8f7e1f 100644 --- a/src/providers/ldap/sdap_async_initgroups.c +++ b/src/providers/ldap/sdap_async_initgroups.c @@ -202,6 +202,12 @@ errno_t sdap_add_incomplete_groups(struct sysdb_ctx *sysdb, ldap_groups[ai], opts->group_map[SDAP_AT_GROUP_UUID].sys_name, ldap_groups[ai], "uniqueIDstr"); + if (ret != EOK) { + DEBUG((ret == ENOENT) ? SSSDBG_TRACE_ALL : SSSDBG_MINOR_FAILURE, + "Failed to retrieve UUID [%d][%s].\n", + ret, sss_strerror(ret)); + } + ret = sysdb_attrs_get_string(ldap_groups[ai], "uniqueIDstr", &uuid); -- cgit