LDAP with Mac Os Server Open Directory

All about webserver configurations, PHP and databases.

Moderator: Thorsten

Post Reply
Posts: 1
Joined: Tue Oct 25, 2016 10:20 pm

LDAP with Mac Os Server Open Directory

Post by Labure » Tue Oct 25, 2016 10:38 pm

Hi all

i try to connect pmf to a mac os x server open directory ldap, but all exemple in this forum is for open ldap or AD.

anyone have alredy do this ?

i supose i need to change in constants_ldap.php because is not correct for an open directory ldap structure.

Code: Select all

$PMF_LDAP['ldap_mapping'] = [
    'name' => 'cn',
    'username' => 'samAccountName',
    'mail' => 'mail',
Actualy i can't connect, the ldap feature is enabled on admin panel and with debug mode i have this error below
phpMyFAQ warning [2]: ldap_bind(): Unable to bind to server: Invalid credentials in /home/kbase/www/inc/PMF/Ldap.php on line 179
some info about mac os x ldap server here : http://www.peachpit.com/articles/article.aspx?p=441613

Thank for your help

Posts: 15137
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq

Re: LDAP with Mac Os Server Open Directory

Post by Thorsten » Thu Oct 27, 2016 7:04 pm


"Invalid credentials" means, your username and password in the ldap.php is wrong.

phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

Post Reply