forked from mrckndt/CS-Repro-Mattermost
fixes to ldap
This commit is contained in:
22
README.md
22
README.md
@@ -3,6 +3,7 @@
|
||||
This is a basic reproduction that includes various components preconfigured like SAML, LDAP, advanced logging, prometheus, grafana, and elasticsearch.
|
||||
|
||||
- [LDAP](#ldap)
|
||||
- [MMCTL](#mmctl)
|
||||
|
||||
## Making Changes
|
||||
|
||||
@@ -195,4 +196,23 @@ docker exec -it cs-repro-openldap ldapmodify \
|
||||
-f /ldap/addUniqueID.ldif
|
||||
```
|
||||
|
||||
A few notes, when adding this attribute you must add the `customPerson` objectclass to the person before you can assign the attribute. See the `ldapadd.ldif` file for help.
|
||||
A few notes, when adding this attribute you must add the `customPerson` objectclass to the person before you can assign the attribute. See the `ldapadd.ldif` file for help.
|
||||
|
||||
Now that you've added the Id to the environment, you have to add it to the users.
|
||||
|
||||
```bash
|
||||
docker exec -it cs-repro-openldap ldapmodify \
|
||||
-x \
|
||||
-H ldap://openldap:10389 \
|
||||
-D "cn=admin,dc=planetexpress,dc=com" \
|
||||
-w GoodNewsEveryone \
|
||||
-f /ldap/addUniqueIdToUsers.ldif
|
||||
```
|
||||
|
||||
## MMCTL
|
||||
|
||||
To use `mmctl` it's already setup for local, just run the below docker command.
|
||||
|
||||
```bash
|
||||
docker exec -it cs-repro-mattermost mmctl config get SqlSettings.DataSource
|
||||
```
|
||||
Reference in New Issue
Block a user