]> git.ipfire.org Git - ipfire-3.x.git/blame - sssd/patches/0019-ad_access_filter-search-for-nested-groups.patch
git: Update to 2.23.0
[ipfire-3.x.git] / sssd / patches / 0019-ad_access_filter-search-for-nested-groups.patch
CommitLineData
92ae11e3
SS
1From 7186923d877605f632fa17053a674f8266fd08bb Mon Sep 17 00:00:00 2001
2From: Mike Ely <github@taupehat.com>
3Date: Wed, 2 Nov 2016 11:26:21 -0700
4Subject: [PATCH 19/39] ad_access_filter search for nested groups
5
6Includes instructions and example for AD nested group access
7
8Related to https://fedorahosted.org/sssd/ticket/3218
9
10Signed-off-by: Mike Ely <github@taupehat.com>
11
12Reviewed-by: Sumit Bose <sbose@redhat.com>
13(cherry picked from commit cf5357ae83cc9fe2240038b8bdccec2cb98991fc)
14(cherry picked from commit e1c2aead482cd4bf83a7fe5e68630a981389e82b)
15---
16 src/man/sssd-ad.5.xml | 16 ++++++++++++++++
17 1 file changed, 16 insertions(+)
18
19diff --git a/src/man/sssd-ad.5.xml b/src/man/sssd-ad.5.xml
20index 8a2f4ade9..2618f8324 100644
21--- a/src/man/sssd-ad.5.xml
22+++ b/src/man/sssd-ad.5.xml
23@@ -236,6 +236,19 @@ ad_enabled_domains = sales.example.com, eng.example.com
24 search bases work.
25 </para>
26 <para>
27+ Nested group membership must be searched for using
28+ a special OID <quote>:1.2.840.113556.1.4.1941:</quote>
29+ in addition to the full DOM:domain.example.org: syntax
30+ to ensure the parser does not attempt to interpret the
31+ colon characters associated with the OID. If you do not
32+ use this OID then nested group membership will not be
33+ resolved. See usage example below and refer here
34+ for further information about the OID:
35+ <ulink
36+ url="https://msdn.microsoft.com/en-us/library/cc223367.aspx">
37+ [MS-ADTS] section LDAP extensions</ulink>
38+ </para>
39+ <para>
40 The most specific match is always used. For
41 example, if the option specified filter
42 for a domain the user is a member of and a
43@@ -255,6 +268,9 @@ DOM:dom2:(memberOf=cn=admins,ou=groups,dc=dom2,dc=com)
44
45 # apply filter on forest called EXAMPLE.COM only:
46 FOREST:EXAMPLE.COM:(memberOf=cn=admins,ou=groups,dc=example,dc=com)
47+
48+# apply filter for a member of a nested group in dom1:
49+DOM:dom1:(memberOf:1.2.840.113556.1.4.1941:=cn=nestedgroup,ou=groups,dc=example,dc=com)
50 </programlisting>
51 <para>
52 Default: Not set
53--
542.11.0
55