Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I am trying to get MYLDAPAdmin working on Scientific Linux.

I downloaded it and installed it but I am getting the following message. It looks like my PHP is not setup for LDAP. Can someone help me?

Missing required extension Your install of PHP appears to be missing LDAP support.

Please install LDAP support before using phpLDAPadmin. (Dont forget to restart your web server afterwards)

After adding php-ldap.. I am now getting this error

Unable to connect to LDAP server dvldap01.uftwf
Error: Can't contact LDAP server (-1) for user
error   Failed to Authenticate to server
Invalid Username or Password.
share|improve this question

closed as too localized by Chris S Dec 18 '12 at 18:46

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

    
I did that but I am getting the following errors.. Unable to connect to LDAP server dvldap01.uftwf Error: Can't contact LDAP server (-1) for user error Failed to Authenticate to server Invalid Username or Password. –  techsjs2012 Dec 18 '12 at 16:38
1  
Invalid Username or Password is blatantly obvious. –  Michael Hampton Dec 18 '12 at 18:31
    
but if I use ldapsearch it works –  techsjs2012 Dec 18 '12 at 19:28

1 Answer 1

up vote 2 down vote accepted

Try this:

yum install php-ldap

This will install the LDAP support module for PHP.

share|improve this answer
    
Restart your Apache service after the install to pick up the new module. –  Tim Dec 18 '12 at 15:37
    
i did that and I double checked my ldap information but I am still getting... Unable to connect to LDAP server dvldap01.uftwf Error: Can't contact LDAP server (-1) for user error Failed to Authenticate to server Invalid Username or Password. –  techsjs2012 Dec 18 '12 at 16:37
    
@techsjs2012: Then you will need to configure phpLDAPadmin with the proper credentials for your LDAP server. Lookup the docs to see how this is done. –  Sven Dec 18 '12 at 17:24

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