Crivaledaz / Mattermost-LDAP

This module provides an external LDAP authentication in Mattermost for the Team Edition (free).
MIT License
359 stars 71 forks source link

would you please provide a wiki document about these config files? #1

Closed sggggy closed 7 years ago

sggggy commented 7 years ago

ldap_config.php resource.php connexion.php

needs config samples,thank you.

Crivaledaz commented 7 years ago

Hi,

I am implementing a Puppet module for Mattermost-LDAP and I will probably push it next week. This puppet module will come with a more detailed document on configurations files. I am sorry for the delay, if you have specific questions about these files, feel free to ask, I will try to help you.

Below there is a short description of configuration parameters :

In oauth/LDAP/config_ldap.php

In oauth/connexion.php

Refers to ldap_bind() in php documentation.

In oauth/resource.php

Refers to ldap_search() and ldap_get_entries() in php documentation.

To find these information see /etc/openldap/ldap.conf (for openldap) or try to use ldapsearch from openldap package (I never use other ldap :/)

Regards,