diff options
Diffstat (limited to 'src/providers/ldap/ldap_id_cleanup.c')
-rw-r--r-- | src/providers/ldap/ldap_id_cleanup.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/providers/ldap/ldap_id_cleanup.c b/src/providers/ldap/ldap_id_cleanup.c index e44e48549..0a2b23297 100644 --- a/src/providers/ldap/ldap_id_cleanup.c +++ b/src/providers/ldap/ldap_id_cleanup.c @@ -436,10 +436,10 @@ static int cleanup_groups(TALLOC_CTX *memctx, ret, strerror(ret)); goto done; } - } - if (ret != EOK) { + } else if (ret != EOK) { DEBUG(SSSDBG_CRIT_FAILURE, - "Failed to search sysdb using %s: %d\n", subfilter, ret); + "Failed to search sysdb using %s: [%d] %s\n", + subfilter, ret, sss_strerror(ret)); goto done; } talloc_zfree(u_msgs); |