You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 24, 2023. It is now read-only.
How to connect to LDAP Server with TLS?
What is name contents in custom_options, the path of CA cert?
Can you help me?
Thank you very much!
Steps To Reproduce:
port: 389
When connect to server on port 389, everíthing is all right.
port: 3269 with only SSL
When connect to server with I'm using this configuration at below:
.env
LDAP_USE_SSL=true
LDAP_USE_TLS=false
LDAP_PORT=3269
ldap.php
'port' => env('LDAP_PORT', 389),
'use_ssl' => env('LDAP_USE_SSL', false),
'use_tls' => env('LDAP_USE_TLS', false),
// 'custom_options' => [
// LDAP_OPT_X_TLS_REQUIRE_CERT => LDAP_OPT_X_TLS_NEVER
// ],
OR
'custom_options' => [
LDAP_OPT_X_TLS_REQUIRE_CERT => LDAP_OPT_X_TLS_NEVER
],
log
local.INFO: LDAP (ldaps://server-name:3269)
has been successfully found for authentication.
then everíthing is all right too.
port: 3269 with SSL and TLS
.IF,
.env
LDAP_USE_SSL=true
LDAP_USE_TLS=true
LDAP_PORT=3269
ldap.php
unchanged
log
local.INFO: LDAP (ldaps://server-name:3269)
has been successfully found for authentication.
then everíthing is all right too, but missing cacert path, so this is wrong.
port: 3269 with only TLS
.BUT,
.env
LDAP_USE_SSL=false
LDAP_USE_TLS=true
LDAP_PORT=3269
ldap.php
unchanged
then I got has an error -> Reason: Can't contact LDAP server
It seems to me, is problem here? or has the problem this key:
log
local.WARNING: LDAP (ldap://server-name:3269)
so it wasn't using the ldaps to connect.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description:
Hi,
my name is George.
How to connect to LDAP Server with TLS?
What is name contents in custom_options, the path of CA cert?
Can you help me?
Thank you very much!
Steps To Reproduce:
port: 389
When connect to server on port 389, everíthing is all right.
port: 3269 with only SSL
When connect to server with I'm using this configuration at below:
then everíthing is all right too.
port: 3269 with SSL and TLS
then everíthing is all right too, but missing cacert path, so this is wrong.
port: 3269 with only TLS
so it wasn't using the ldaps to connect.
The text was updated successfully, but these errors were encountered: