working repro, still building

This commit is contained in:
coltoneshaw
2022-10-06 15:35:43 -04:00
parent 5d43dd5c6e
commit 7c51d94cda
22 changed files with 5911 additions and 1 deletions

View File

@@ -1 +1,38 @@
# CS-Deep-Dive-LDAP-SAML
# README
This is a docker compose file that contains a working Mattermost with an LDAP server. The LDAP image comes from [rroemhild/docker-test-openldap](https://github.com/rroemhild/docker-test-openldap).
To start this docker file run the below from the root repo directory
You can access mattermost via `localhost:8065`.
## Getting Started
1. Add an enterprise license to this folder with the name `license.txt`
2. Start the docker containers. This may take a second to download everything.
```
docker-compose up -d
```
3. You can log access Mattermost at `localhost:8065`
## Things to break
- User left an ldap synced team of their own accord
- new email address, can't sign in
- ID attributes don't match.
## Make key
```bash
openssl req -x509 -newkey rsa:4096 -keyout myKey.pem -out cert.pem -days 365 -nodes
openssl pkcs12 -export -out keyStore.p12 -inkey myKey.pem -in cert.pem
```