This sets up a Mattermost server and connects it to Rafael Römhild's great OpenLDAP Docker Image for testing.
- Install license file in this directory, named
e20license.txt
- Run
vagrant up
- Go to
http://127.0.0.1
and log in withadmin/admin
- Configure the Planet Express Team to Open Invite by going to
Main Menu
>Team Settings
>Allow any user with an account on this server to join
. This is required because there is no way to add all Mattermost users to a default team. - In a separate browser window, log in with the following LDAP usernames (passwords are identical):
fry
- on Ship's Crew team and Planet Expresshermes
- on Administrator's team and Planet Expressbender
- Ship's Crew/Planet Expresszoidberg
- Only Planet Express
This is cloned from the Mattermost server scripts and reads your Mattermost config and generates and run an ldapsearch
command to test your settings.
- Install the
ldapsearch
binary on your system sudo mv /vagrant/ldap-check.sh /opt/mattermost/ldap-check.sh
cd /opt/mattermost
sudo chmod +x ldap-check.sh
./ldap-check.sh user@example.com
This uses the ldapmodify
command to make changes to the LDAP server to ensure they're synced to Mattermost. Example LDIF files are available in the ldifs
directory.
- Install the
ldapmodify
on your system /vagrant/update.sh
vagrant ssh
- Configure your local client like this:
- Host:
127.0.0.1
- Username:
mmuser
- Password:
really_secure_password
- Database:
mattermost
- Port:
13306
- Host:
0.1.0 - This release
- Added LDAP Group Sync
- Added Local Database connection
- Improved Now using a much smaller config file and using
jq
to merge it with the version's config file. - Improved To specify the Mattermost version, set it in the Vagrantfile. It will download that version if it doesn't exist.
0.0.1 - Intial release