Page 1 of 1

LDAP with Mac Os Server Open Directory

Posted: Tue Oct 25, 2016 10:38 pm
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 :

Thank for your help

Re: LDAP with Mac Os Server Open Directory

Posted: Thu Oct 27, 2016 7:04 pm
by Thorsten

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