Hi , guys:<br><br><span> </span>I have a problem on the openldap Manager account login : <br><br><span> The server is running CentOS 5.3 i386 and I have<span class="highlight"> phpldapadmin</span>-1.0.1-1.el5.noarch.rpm
installed .<br> It's running apache 2.2.3 with php 5.1.6 and openldap 2.3.34.</span><br><br><span> I
believe I have slapd setup correctly but I'm not completely sure.</span><br><br><span> My
/etc/openldap/slapd.conf file has...</span><br><br><span> access to *</span><br><span>
by self write</span><br><span>
by * read</span><br><span> by anonymous auth</span><br><br><span> database
bdb</span><br><span> suffix "dc=my-domain,dc=com"</span><br><span> rootdn
"cn=<span class="highlight">Manager</span>,dc=my-domain,dc=com"</span><br><span> rootpw
{SSHA}xxxxx</span><br><br><span> My /etc/ldap.conf has the following lines (among
others)...</span><br><span> host </span><a href="http://127.0.0.1/" target="_top" rel="nofollow"><span>127.0.0.1</span></a><br><span> base
dc=my-domain,dc=com</span><br><br><span> If I do the following command...</span><br><br><span> ldapsearch
-x -D "cn=<span class="highlight">Manager</span>,dc=my-domain,dc=com" -W
</span><br><br><span> from the command line it asks for a password. <br> <br> If I type the password I created
with slapppassd and have as rootpw in slapd.conf it carries on and
returns the following (with comments removed)...</span><br><br><span> search:
2</span><br><span> result: 32 No such object</span><br><br><span> So it
appears that from the command line authentication with ldap is working.
</span><br><br><span> In my<span class="highlight"> phpldapadmin</span>
config.php file i've modified the following lines...</span><br><span> $ldapservers->SetValue($i,'server','host','</span><a href="http://127.0.0.1/" target="_top" rel="nofollow"><span>127.0.0.1</span></a><span>');</span><br>
<span> $ldapservers->SetValue($i,'server','port','389');
</span><br><span> $ldapservers->SetValue($i,'server','auth_type','session');</span><br><br><span> When
I go to <span class="highlight">phpldapadmin</span> and do "Anonymous Bind"
it connects and allows me to view the ldap tree.</span><br><br><span> If I
try and <span class="highlight">login</span> with user "<span class="highlight">Manager</span>"
and the password I use on the command line, it doesn't work giving
me... "Bad username or password. Please try again."
</span><br><br><span> I've also tried putting the following line to my
config.php file but to no avail...</span><br><span> $ldapservers->SetValue($i,'server','base',array('my-domain',
'com'));</span><br><br><span> Am I using the correct username?
</span><br><span> Are there any commands I can do to further check my
ldap server is setup correctly?</span><br><span> Are there any log files I
can look at?</span><br><br><span> Thanks for all your help. </span><br>