[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: i just couldn't ldapadd!!!!!?????



you can put a {crypt} passowrd, generate it with the following:

$perl -e 'print crypt("plaintext", "somerandomsalt"), qq(\n)'

Example
$perl -e 'print crypt("password", "gd"), qq(\n)'
gd6TEO7jj3geU


Lim Pey Foong wrote:
the cn= and o= is correct in sldap.conf,
but only the password, i'm having plain txt password, the password is
password, but i've tried many times, still the same. i've try put the
password a 123
anyway to prove that my rootpw is been saved successfully?

thanks
----- Original Message -----
From: "Jehan PROCACCIA" <Jehan.Procaccia@int-evry.fr>
To: "Lim Pey Foong" <lim@tssb.com.my>; <OpenLDAP-software@OpenLDAP.org>
Sent: Thursday, February 06, 2003 5:03 PM
Subject: Re: i just couldn't ldapadd!!!!!?????



Lim Pey Foong wrote:

dear sir,

i've gone thru all the articles, none of them mention details about
following command, i assumed this is just a simple command, but i just
couldn't get it thru, any one has some idea???
thanks~

[root@raq openldap]# ldapadd -f sample.ldif -xv -D "cn=root,o=TSSB" -w
password
ldap_initialize( <DEFAULT> )
ldap_bind: Invalid credentials




****************************************************************************
*********************

The views and concerns expressed in this e-mail message are the

sender's

own and do not necessarily represent the views and opinions of TSSB SDN

BHD.

This e-mail message is intended for the named recipient only. It may be
privileged and/or confidential. If you are not the intended named
recipient of this e-mail then you should not copy it or use it for any
purpose, nor disclose its contents to any other person.
You should contact TSSB SDN BHD as shown above.



****************************************************************************
*********************

you don't indentifie correctly
is cn=root,o=TSSB define as is in slapd.conf, with a correct password,
maybe try first a ldapsearch -x -D "cn=root,o=TSSB" -W objectclass=*


*************************************************************************************************
The views and concerns  expressed in this e-mail message are  the sender's
own and do not necessarily represent the views and opinions of TSSB SDN BHD.
This e-mail message is intended for the named recipient only. It may be
privileged and/or confidential. If you are not the intended named
recipient of this e-mail then you should not copy it or use it for any
purpose, nor disclose its contents to any other person.
You should contact TSSB SDN BHD as shown above.

*************************************************************************************************