Enable LDAP after upgrade to

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

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

Enable LDAP after upgrade to

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


I just did a test upgrade to 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?

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

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

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

Code: Select all

    $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";
phpMyFAQ QA / Developer
Amazon.co.uk Wishlist

Post Reply