| Current Path : /var/www/html/kpwkmintranet/common/config/ |
| Current File : /var/www/html/kpwkmintranet/common/config/ldap.php |
<?php
return [
// Mandatory Configuration Options
'hosts' => ['190.92.203.108'],
'base_dn' => 'DC=dynaweb4,DC=work',
'username' => 'DYNAWEB4\allif',
'password' => 'Secure92@0258',
// Optional Configuration Options
'port' => 389,
'protocol' => 'ldap://',
'use_ssl' => false,
'use_tls' => false,
'use_sasl' => false,
'version' => 3,
'timeout' => 5,
'follow_referrals' => false,
// Custom LDAP Options
/*'options' => [
// See: http://php.net/ldap_set_option
LDAP_OPT_X_TLS_REQUIRE_CERT => LDAP_OPT_X_TLS_HARD
],
// See: https://www.php.net/manual/en/function.ldap-sasl-bind.php
'sasl_options' => [
'mech' => null,
'realm' => null,
'authc_id' => null,
'authz_id' => null,
'props' => null,
],
*/
];