Re: Problem with first login

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]




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@xxxxxxxxx> 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@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux