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