Enable LDAP after upgrade to 2.0.0.1

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
telenut
Posts: 68
Joined: Thu Sep 09, 2004 10:13 am

Enable LDAP after upgrade to 2.0.0.1

Post by telenut » Tue Jul 03, 2007 2:21 pm

Hi,

I just did a test upgrade to 2.0.0.1 and everything looks good.
But now I would like to use the LDAP support. In the configuration I enabled the LDAP support. But since a did an upgrade and not a complete install, nothing seems te happen.
I guess I have to enter the LDAP settings somewhere.
Someone can help me?

matteo
Posts: 572
Joined: Sun Nov 20, 2005 6:53 pm
Location: Italy

Post by matteo » Thu Jul 05, 2007 10:16 am

Hi,
you need to create a new file, [PATH_TO_PMF_INSTALL]/inc/dataldap.php:

Code: Select all

<?php
    $PMF_LDAP["ldap_server"] = "<LDAP_SERVER_HOSTNAME>";
    $PMF_LDAP["ldap_port"] = "<LDAP_SERVER_PORT>";
    $PMF_LDAP["ldap_user"] = "<LDAP_USERNAME>";
    $PMF_LDAP["ldap_password"] = "<LDAP_PASSWORD>"; 
    $PMF_LDAP["ldap_base"] = "<LDAP_DISTINGUISHED_NAME";
?>
Ciao,
Matteo
phpMyFAQ QA / Developer
Amazon.co.uk Wishlist

Post Reply