LDAP with Mac Os Server Open Directory

All about webserver configurations, PHP and databases.

Moderator: Thorsten

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

LDAP with Mac Os Server Open Directory

Post by Labure »

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
Thorsten
Posts: 15559
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: LDAP with Mac Os Server Open Directory

Post by Thorsten »

Hi,

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

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