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: 616
        
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.
- I installed OpenLdap for windows http://www.userbooster.de/en/download/openldap-for-windows.aspx,
 - Enabled the php5.3.1 extension for ldap (c:\xampp\php\ext\php_ldap.dll) in php.ini
 - Copied the ssleay32.dll and libeay32.dll to Windows\System32 & Windows\System (Windows XP)
 - Set the password generated by c:\Program Files\OpenLDAP\slappasswd.exe in c:\Program Files\OpenLDAP\slapd.conf (rootpw {SSHA}hash)
 - run the c:\Program Files\OpenLDAP\slapd.exe
 - 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