*** I have a problem* on the openldap Manager account login :
** The server is running CentOS 5.3 i386* and I have phpldapadmin-1.0.1-1.el5.noarch.rpm*
installed .
* ** It's running apache 2.2.3* with php 5.1.6 and openldap 2.3.34.
*** I
believe I have slapd setup correctly but I'm not completely sure.
** from the command line it asks for a password.
*
** 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)...
** search:
2
** result: 32 No such object
** So it
appears that from the command line authentication with ldap is working.
** In my phpldapadmin
config.php file i've modified the following lines...
* $ldapservers->SetValue($i,'server','host','127.0.0.1');
** When
I go to phpldapadmin and do "Anonymous Bind"
it connects and allows me to view the ldap tree.
** If I
try and login with user "Manager"
and the password I use on the command line, it doesn't work giving
me... "Bad username or password. Please try again."
* I've also tried putting the following line to my
config.php file but to no avail...
* $ldapservers->SetValue($i,'server','base',array('my-domain',
'com'));
** Am I using the correct username?
* Are there any commands I can do to further check my
ldap server is setup correctly?
* Are there any log files I
can look at?
* Thanks for all your help.
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
04-19-2010, 09:24 AM
"Alexander Dalloz"
Problem with first login
> Hi , guys:
>
> I have a problem on the openldap Manager account login :
> rootdn "cn=Manager,dc=my-domain,dc=com"
> If I do the following command...
>
> ldapsearch -x -D "cn=Manager,dc=my-domain,dc=com" -W
>
> from the command line it asks for a password.
>
> 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)...
>
> search: 2
> result: 32 No such object
>
> So it appears that from the command line authentication with ldap is
> working.
>
> In my phpldapadmin config.php file i've modified the following lines...
> $ldapservers->SetValue($i,'server','host','127.0.0.1');
> $ldapservers->SetValue($i,'server','port','389');
> $ldapservers->SetValue($i,'server','auth_type','session');
> If I try and login with user "Manager" and the password I use on the
> command line, it doesn't work giving me... "Bad username or password.
> Please try again."
Your login user is "cn=Manager,dc=my-domain,dc=com", not just "Manager".
Alexander
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
04-19-2010, 09:35 AM
sync
Problem with first login
Thanks for you reply ~
*But* i* typed* that you said , the result was also this : "Bad username or passwd, Please try again"
I
believe I typed the Manager account passwd* correctly .
What is the wrong with that* ?*
On Mon, Apr 19, 2010 at 5:24 PM, Alexander Dalloz <ad+lists@uni-x.org> wrote:
> Hi , guys:
>
> * * I have a problem *on the openldap Manager account login :