17 lines
533 B
Plaintext
Executable File
17 lines
533 B
Plaintext
Executable File
<?php
|
|
// LDAP server
|
|
$hostname = "<%= @ldap_uri %>";
|
|
$port = <%= @ldap_port %>;
|
|
|
|
// Attribute use to identify user on LDAP (used in connexion.php, replace $rdn_suffix) - ex : uid, mail, sAMAccountName
|
|
$search_attribute = "<%= @ldap_attribute %>";
|
|
|
|
// Base directory name of the LDAP
|
|
$base = "<%= @ldap_base %>";
|
|
|
|
// An optional filter to search in LDAP - ex : objectClass=person
|
|
$filter = "<%= @ldap_filter %>";
|
|
|
|
// ldap service user to allow search in ldap
|
|
$bind_dn = "<%= @ldap_bind_dn %>";
|
|
$bind_pass = "<%= @ldap_bind_pass %>"; |