ldap-matter/oauth/LDAP/config_ldap.php.example

17 lines
400 B
Plaintext
Executable File

<?php
// LDAP parameters
$ldap_host = "ldap://company.com/";
$ldap_port = 389;
$ldap_version = 3;
// Attribute use to identify user on LDAP - ex : uid, mail, sAMAccountName
$ldap_search_attribute = "uid";
// variable use in resource.php
$ldap_base_dn = "ou=People,o=Company";
$ldap_filter = "objectClass=*";
// ldap service user to allow search in ldap
$ldap_bind_dn = "";
$ldap_bind_pass = "";