ldap-matter/oauth/LDAP/config_ldap.php

15 lines
328 B
PHP
Executable File

<?php
$hostname = "ldap://company.com/";
$port = 389;
// 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 = "";