Add a STARTTLS example to the configuration file
This commit is contained in:
parent
176be19043
commit
03c2eba9e3
@ -48,10 +48,22 @@ return [
|
|||||||
'base_dn' => env('LDAP_BASE_DN', 'dc=local,dc=com'),
|
'base_dn' => env('LDAP_BASE_DN', 'dc=local,dc=com'),
|
||||||
'timeout' => env('LDAP_TIMEOUT', 5),
|
'timeout' => env('LDAP_TIMEOUT', 5),
|
||||||
'use_ssl' => env('LDAP_SSL', true),
|
'use_ssl' => env('LDAP_SSL', true),
|
||||||
'use_tls' => env('LDAP_TLS', true),
|
'use_tls' => env('LDAP_TLS', false),
|
||||||
'name' => env('LDAP_NAME','LDAPS Server'),
|
'name' => env('LDAP_NAME','LDAPS Server'),
|
||||||
],
|
],
|
||||||
|
|
||||||
|
'openldaptls' => [
|
||||||
|
'hosts' => [env('LDAP_HOST', '127.0.0.1')],
|
||||||
|
'username' => env('LDAP_USERNAME', 'cn=user,dc=local,dc=com'),
|
||||||
|
'password' => env('LDAP_PASSWORD', 'secret'),
|
||||||
|
'port' => env('LDAP_PORT', 389),
|
||||||
|
'base_dn' => env('LDAP_BASE_DN', 'dc=local,dc=com'),
|
||||||
|
'timeout' => env('LDAP_TIMEOUT', 5),
|
||||||
|
'use_ssl' => env('LDAP_SSL', false),
|
||||||
|
'use_tls' => env('LDAP_TLS', true),
|
||||||
|
'name' => env('LDAP_NAME','LDAP-TLS Server'),
|
||||||
|
],
|
||||||
|
|
||||||
'opendj' => [
|
'opendj' => [
|
||||||
'hosts' => ['opendj'],
|
'hosts' => ['opendj'],
|
||||||
'username' => 'cn=Directory Manager',
|
'username' => 'cn=Directory Manager',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user