sssd/0601-FEDORA-LDAP-handle-SID-requests-if-noexist_delete-is-set.patch
Sumit Bose df4dbc81ab Add plugin for cifs-utils
- Resolves: rhbz#998544
2013-10-15 12:35:12 +02:00

42 lines
1.2 KiB
Diff

From f244195582ec804f1022341e2e3394754e31b36a Mon Sep 17 00:00:00 2001
From: Sumit Bose <sbose@redhat.com>
Date: Wed, 9 Oct 2013 18:19:08 +0200
Subject: [PATCH] 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(+)
diff --git a/src/providers/ldap/ldap_id.c b/src/providers/ldap/ldap_id.c
index 162d987..59dfd0a 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;
--
1.8.3.1