ldap-matter/Puppet/mattermostldap/templates/config_ldap.php.erb

17 lines
567 B
Plaintext
Raw Permalink Normal View History

2017-08-17 06:34:12 +08:00
<?php
// LDAP server
$ldap_host = "<%= @ldap_uri %>";
$ldap_port = <%= @ldap_port %>;
2017-08-17 06:34:12 +08:00
// Attribute use to identify user on LDAP (used in connexion.php, replace $rdn_suffix) - ex : uid, mail, sAMAccountName
$ldap_search_attribute = "<%= @ldap_attribute %>";
2017-08-17 06:34:12 +08:00
// Base directory name of the LDAP
$ldap_base_dn = "<%= @ldap_base %>";
// An optional filter to search in LDAP - ex : objectClass=person
$ldap_filter = "<%= @ldap_filter %>";
2017-08-17 06:34:12 +08:00
// ldap service user to allow search in ldap
$ldap_bind_dn = "<%= @ldap_bind_dn %>";
$ldap_bind_pass = "<%= @ldap_bind_pass %>";