Hi,

I have just installed phpldapadmin version: 1.2.2-5 on my Debian
GNU/Linux 7.0 (wheezy) operating system.

I'm following the http://wiki.debian.org/PhpLdapAdmin steps to setup my
phpldapadmin. 

I did everithing as is described there:

I added ldap account:
 Generated a password for mine new user "cn=admin,cn=config":

with the command:
$ sudo slappasswd -h {MD5}

Created a temporary ldif file with the content that is on the abowe
mentioned webpage out there.

Added this temporary ldif to the slapd config:
$ sudo ldapadd -Y EXTERNAL -H ldapi:/// -f add_adminconfig.ldif

I can find the hashvalue for mine password in the output of:
$ sudo ldapsearch -Y EXTERNAL -H ldapi:/// -b "cn=config"

I configured phpldapadmin:
I edited the file /etc/phpldapadmin/config.php

I find the line:
$servers->setValue('server','base',array('dc=example,dc=org'));

and added into it the 'cn=config', as you can see bellow:

$servers->setValue('server','base',array('cn=config','dc=example,dc=org'));

Now I want to login to phpldapadmin with my password added previously,
but get error messages on the web page:

Unable to connect to LDAP server My LDAP Server
Hiba: Invalid credentials (49) for user
error   Failed to Authenticate to server
Invalid Username or Password.

My login DN is:
cn=config,dc=example,dc=com

In the Address field stand:
http://localhost/phpldapadmin/cmd.php?cmd=login_form&server_id=1&redirect=true

How can I solve this problem?

-- 
Regards from Pal


------------------------------------------------------------------------------
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
_______________________________________________
phpldapadmin-users mailing list
phpldapadmin-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/phpldapadmin-users

Reply via email to