how to configure ldap authentication using tls or ldaps

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
bnetech
Posts: 2
Joined: Wed Feb 24, 2016 11:50 pm

how to configure ldap authentication using tls or ldaps

Post by bnetech »

:mrgreen: I have having trouble getting phpmyfaq to authenticate to a AD 2012 r2 domain. The server only accepts tls or ldaps. How can we configure phpmyfaq to use tls with the appropriate certificate or can we change to use ldaps with the certificate. any assistance to configure this would be appreciated!!!! 8)
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: how to configure ldap authentication using tls or ldaps

Post by Thorsten »

Hi,

is this a self signed certificate or a real one?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
bnetech
Posts: 2
Joined: Wed Feb 24, 2016 11:50 pm

Re: how to configure ldap authentication using tls or ldaps

Post by bnetech »

This is real certificate. No worries I have already got it working using

$PMF_LDAP['ldap_server'] = 'ldaps://server.domain.com';
$PMF_LDAP['ldap_port'] = 636;
$PMF_LDAP['ldap_user'] = 'domain\username';
$PMF_LDAP['ldap_password'] = 'password';
$PMF_LDAP['ldap_base'] = 'OU=myou,DC=mydc,DC=domain';

Thank you, :D
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: how to configure ldap authentication using tls or ldaps

Post by Thorsten »

Awesome!

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply