openLdap for windows and phpldapadmin

Posted by Dr Casper Black on Server Fault See other posts from Server Fault or by Dr Casper Black
Published on 2010-12-23T11:17:51Z Indexed on 2010/12/23 11:55 UTC
Read the original article Hit count: 512

Filed under:
|
|

Hi,

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

  1. I installed OpenLdap for windows http://www.userbooster.de/en/download/openldap-for-windows.aspx,
  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:// 127.0.0.1 / 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)

Can someone help.

© Server Fault or respective owner

Related posts about windows-xp

Related posts about openldap