diff options
author | Sumit Bose <sbose@redhat.com> | 2013-10-09 18:19:08 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-10-10 19:58:37 +0200 |
commit | f244195582ec804f1022341e2e3394754e31b36a (patch) | |
tree | 0650484bc70f85aa22ac5af6eebe65b6e28ab329 /src | |
parent | 46967fe03a7472537baea13d01882e0ebe83d57a (diff) | |
download | sssd-f244195582ec804f1022341e2e3394754e31b36a.tar.gz sssd-f244195582ec804f1022341e2e3394754e31b36a.tar.bz2 sssd-f244195582ec804f1022341e2e3394754e31b36a.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.c | 10 |
1 files changed, 10 insertions, 0 deletions
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; |