summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2013-10-09 18:19:08 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-10-10 19:59:11 +0200
commit9f1883ace8e467c543b322dd93dbab14eabdb35c (patch)
treef3a7552cabc6c3ec0dab5bc8c2f2d7c3b21d2928 /src
parent968928fc0098af1193dd25bef5650bd45102ce6c (diff)
downloadsssd-9f1883ace8e467c543b322dd93dbab14eabdb35c.tar.gz
sssd-9f1883ace8e467c543b322dd93dbab14eabdb35c.tar.xz
sssd-9f1883ace8e467c543b322dd93dbab14eabdb35c.zip
LDAP: handle SID requests if noexist_delete is set
Fixes https://fedorahosted.org/sssd/ticket/2116
Diffstat (limited to 'src')
-rw-r--r--src/providers/ldap/ldap_id.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/providers/ldap/ldap_id.c b/src/providers/ldap/ldap_id.c
index 162d987b6..59dfd0a5d 100644
--- a/src/providers/ldap/ldap_id.c
+++ b/src/providers/ldap/ldap_id.c
@@ -365,6 +365,11 @@ static void users_get_done(struct tevent_req *subreq)
}
break;
+ case BE_FILTER_SECID:
+ /* Since it is not clear if the SID belongs to a user or a group
+ * we have nothing to do here. */
+ break;
+
default:
tevent_req_error(req, EINVAL);
return;
@@ -694,6 +699,11 @@ static void groups_get_done(struct tevent_req *subreq)
}
break;
+ case BE_FILTER_SECID:
+ /* Since it is not clear if the SID belongs to a user or a group
+ * we have nothing to do here. */
+ break;
+
default:
tevent_req_error(req, EINVAL);
return;