ldap to ldaps

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
jesuita
Posts: 5
Joined: Tue Oct 24, 2017 12:40 pm

ldap to ldaps

Post by jesuita » Fri Jan 29, 2021 6:48 pm

Hello.

We are being asked to change the connection to our ldap server from ldap to ldaps.

I tried to change ldap.php located on D:\xampp\htdocs\beta\config\ to the new parameters:

old config:
// Main LDAP server
$PMF_LDAP['ldap_server'] = 'ldapserver.com';
$PMF_LDAP['ldap_port'] = 389;

new config
// Main LDAP server
$PMF_LDAP['ldap_server'] = 'ldaps://ldapserver.com';
$PMF_LDAP['ldap_port'] = 636;

However anytime we try to login with this configuration we get the error ERR_CONNECTION_RESET

Also used an utility to test connection to the server and it works correctly, so I'm wondering if there is any other change I need to do in order to get this working.

Could you please give me a help?

Thorsten
Posts: 15150
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: ldap to ldaps

Post by Thorsten » Sat Jan 30, 2021 9:53 am

Hi,

do you have OpenSSL support in PHP?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

DHulk
Posts: 4
Joined: Fri Oct 20, 2017 11:26 pm

Re: ldap to ldaps

Post by DHulk » Sun Jan 31, 2021 1:16 am

Hi Thorsten,

Got it to work. Thanks

Thorsten
Posts: 15150
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: ldap to ldaps

Post by Thorsten » Sun Jan 31, 2021 12:29 pm

Hi,

awesome! :-)

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

Post Reply