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

17 lines
366 B
Plaintext
Executable File

<?php
// LDAP parameters
$hostname = "ldap://company.com/";
$port = 389;
$ldap_version = 3;
// Attribute use to identify user on LDAP - ex : uid, mail, sAMAccountName
$search_attribute = "uid";
// variable use in resource.php
$base = "ou=People,o=Company";
$filter = "objectClass=*";
// ldap service user to allow search in ldap
$bind_dn = "";
$bind_pass = "";