summaryrefslogtreecommitdiffstats
path: root/src/providers/ldap/sdap_async_groups_ad.c
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2014-01-08 17:12:17 +0100
committerJakub Hrozek <jhrozek@redhat.com>2014-01-09 12:08:57 +0100
commit2a96981a0ac781d01e5bba473409ed2bdf4cd4e0 (patch)
tree47422c8826c617c00b22f76b3347726ae48c031a /src/providers/ldap/sdap_async_groups_ad.c
parent461da2984c747708e8badd27fa55ef879f40e712 (diff)
downloadsssd-2a96981a0ac781d01e5bba473409ed2bdf4cd4e0.tar.gz
sssd-2a96981a0ac781d01e5bba473409ed2bdf4cd4e0.tar.xz
sssd-2a96981a0ac781d01e5bba473409ed2bdf4cd4e0.zip
LDAP: Add a new error code for malformed access control filter
https://fedorahosted.org/sssd/ticket/2164 The patch adds a new error code and special cases the new code so that access is denied and a nicer log message is shown.
Diffstat (limited to 'src/providers/ldap/sdap_async_groups_ad.c')
-rw-r--r--src/providers/ldap/sdap_async_groups_ad.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ldap/sdap_async_groups_ad.c b/src/providers/ldap/sdap_async_groups_ad.c
index 9b61c697d..6a8a4fd13 100644
--- a/src/providers/ldap/sdap_async_groups_ad.c
+++ b/src/providers/ldap/sdap_async_groups_ad.c
@@ -183,7 +183,7 @@ sdap_get_ad_match_rule_members_step(struct tevent_req *subreq)
talloc_zfree(subreq);
if (ret != EOK) {
DEBUG(SSSDBG_MINOR_FAILURE,
- ("LDAP search failed: [%s]\n", strerror(ret)));
+ ("LDAP search failed: [%s]\n", sss_strerror(ret)));
tevent_req_error(req, ret);
return;
}