[CentOS] Problem with first login

Mon Apr 19 09:35:36 UTC 2010
sync <jiannma at gmail.com>

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 at uni-x.org<ad%2Blists at uni-x.org>
> wrote:

> > 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 at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20100419/163b70c9/attachment-0003.html>