This project includes pre-configured services (currently just LDAP) that are used within, and tested against a Rocket.Chat system.
-
Make sure you've installed all requirements
-
Clone this repository:
git clone https://github.com/frdmn/rocketchat-test-landscape
-
Install the project using
make
:docker-compose up -d
- Domain:
rocket.chat
- Admin LDAP Bind:
cn=admin,dc=rocket,dc=chat
- Admin LDAP Password:
RocketChatLDAPadmin
- Employee users password:
Password1
Make sure to adjust the following settings in the LDAP section of Rocket.Chat:
- Enable:
true
- Host: Your LAN IP, e.g.
192.168.1.48
(Do not uselocalhost
if RC is dockerized!) - Port:
389
for regular LDAP636
for encrypted LDAPS
- Encryption:
No encrpytion
for regular LDAPSSL/LDAPS
for encrypted LDAPS
- Reject Unauthorized:
false
(in case of encrypted LDAPS) - Base DN:
dc=rocket,dc=chat
- Internes Log-Level:
Info
- Auth -> User DN:
cn=admin,dc=rocket,dc=chat
- Auth -> Password:
RocketChatLDAPadmin
- Sync -> Username Field:
uid
- Sync -> Default Domain:
rocket.chat
- Sync -> Merge Existing Users:
true
- User Search -> Search Field:
uid,mail
Note: Since the LDAP tree contains 1000 users, it takes about 3 minutes until the synchronization is finished!
-
Fork it
-
Create your feature branch:
git checkout -b feature/my-new-feature
-
Commit your changes:
git commit -am 'Add some feature'
-
Push to the branch:
git push origin feature/my-new-feature
-
Submit a pull request
- Docker
docker-compose
- running Rocket.Chat test system
1.0.0