From f244195582ec804f1022341e2e3394754e31b36a Mon Sep 17 00:00:00 2001 From: Sumit Bose Date: Wed, 9 Oct 2013 18:19:08 +0200 Subject: LDAP: handle SID requests if noexist_delete is set Fixes https://fedorahosted.org/sssd/ticket/2116 --- src/providers/ldap/ldap_id.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src') diff --git a/src/providers/ldap/ldap_id.c b/src/providers/ldap/ldap_id.c index 162d987b..59dfd0a5 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; -- cgit