Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm having a problem connecting all of this. I'm new to Ldap and after failing to install all of this on Ubuntu 10.04. I'm trying to set it up on my local PC.

  1. I installed OpenLdap for windows,
  2. Enabled the php5.3.1 extension for ldap (c:\xampp\php\ext\php_ldap.dll) in php.ini
  3. Copied the ssleay32.dll and libeay32.dll to Windows\System32 & Windows\System (Windows XP)
  4. Set the password generated by c:\Program Files\OpenLDAP\slappasswd.exe in c:\Program Files\OpenLDAP\slapd.conf (rootpw {SSHA}hash)
  5. run the c:\Program Files\OpenLDAP\slapd.exe
  6. Install phpldapadmin and call https:// / phpldapadmin/

when I enter the credentials i get Invalid credentials (49) for user and in openldap.log i get

could not stat config file "%SYSCONFDIR%\slapd.conf": No such file or directory (2)

share|improve this question

I think the solution to the error message you are getting is pretty straight forward.

You need to create the slapd.conf file and put it in the directory corresponding to %SYSCONFDIR%. OpenLDAP for Windows should come shipped with example files. They may even be located in the directory mentionned previously under a slightly different name such as slapd.conf.example

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.