Skip to content

Commit 006b570

Browse files
committed
Add note about OU != groups.
1 parent 891c58f commit 006b570

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,10 @@ logging = /path/to/st2auth.logging.conf
187187
api_url = http://myhost.example.com:9101/
188188
```
189189

190+
Note: groups, like users, are objects in LDAP. Groups are not the same as the `OU` (Organizational Unit) "folders" that you can see in DNs.
191+
To login, users must be members of all groups--identified by their `DN` or `RDN`--in the `base_dns` option (assuming `group_dns_check` is `and`).
192+
If `group_dns_check` is `or`, then the user only needs to be in one of the required groups, not all of them.
193+
190194
#### Explanation
191195

192196
In this example, the `group_dns` option has the RDNs `CN=st2users` and `CN=st2developers` instead of the fully qualified DNs `CN=st2users,ou=groups,dc=example,dc=com` and `CN=st2developers,ou=groups,dc=example,dc=com`.

0 commit comments

Comments
 (0)