|  | 
| 7 | 7 | == LDAP nested membership sync example | 
| 8 | 8 | 
 | 
| 9 | 9 | Groups in {product-title} do not nest. The LDAP server must flatten group | 
| 10 |  | -membership before the data can be consumed. Microsoft's Active Directory Server | 
| 11 |  | -supports this feature via the | 
| 12 |  | -link:https://msdn.microsoft.com/en-us/library/aa746475(v=vs.85).aspx[`LDAP_MATCHING_RULE_IN_CHAIN`] | 
| 13 |  | -rule, which has the OID `1.2.840.113556.1.4.1941`. Furthermore, only explicitly | 
|  | 10 | +membership before the data can be consumed. Microsoft's Active Directory Server supports this feature via the `LDAP_MATCHING_RULE_IN_CHAIN` rule, which has the OID `1.2.840.113556.1.4.1941`. Furthermore, only explicitly | 
| 14 | 11 | whitelisted groups can be synced when using this matching rule. | 
| 15 | 12 | 
 | 
| 16 | 13 | This section has an example for the augmented Active Directory schema, which | 
| @@ -86,10 +83,7 @@ with which to represent them in the internal {product-title} group records. | 
| 86 | 83 | Furthermore, certain changes are required in this configuration: | 
| 87 | 84 | 
 | 
| 88 | 85 | - The `oc adm groups sync` command must explicitly whitelist groups. | 
| 89 |  | -- The user's `groupMembershipAttributes` must include | 
| 90 |  | -`"memberOf:1.2.840.113556.1.4.1941:"` to comply with the | 
| 91 |  | -https://msdn.microsoft.com/en-us/library/aa746475(v=vs.85).aspx[`LDAP_MATCHING_RULE_IN_CHAIN`] | 
| 92 |  | -rule. | 
|  | 86 | +- The user's `groupMembershipAttributes` must include `"memberOf:1.2.840.113556.1.4.1941:"` to comply with the `LDAP_MATCHING_RULE_IN_CHAIN` rule. | 
| 93 | 87 | - The `groupUIDAttribute` must be set to `dn`. | 
| 94 | 88 | - The `groupsQuery`: | 
| 95 | 89 |   * Must not set `filter`. | 
| @@ -130,8 +124,7 @@ values are ignored. `groupsQuery` must set a valid `derefAliases`. | 
| 130 | 124 | <3> The attribute to use as the name of the group. | 
| 131 | 125 | <4> The attribute to use as the name of the user in the {product-title} group | 
| 132 | 126 | record. `mail` or `sAMAccountName` are preferred choices in most installations. | 
| 133 |  | -<5> The attribute on the user that stores the membership information. Note the use | 
| 134 |  | -of https://msdn.microsoft.com/en-us/library/aa746475(v=vs.85).aspx[`LDAP_MATCHING_RULE_IN_CHAIN`]. | 
|  | 127 | +<5> The attribute on the user that stores the membership information. Note the use of `LDAP_MATCHING_RULE_IN_CHAIN`. | 
| 135 | 128 | 
 | 
| 136 | 129 | .Prerequisites | 
| 137 | 130 | 
 | 
|  | 
0 commit comments