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

Re: Can't add Organizational Unit

2007/8/28, Pierangelo Masarati <ando@sys-net.it>:

>> Daniel Guerrero wrote:
>> > Hi all,
>> >
>> > I'm trying to add an ldif with the definition of a organizational
>> unit,
>> > and an error message appears:
>> >
>> > bdb_db_open: database already in use
>> > backend_startup_one: bi_db_open failed! (-1)
>> > slap_startup failed
>> You probably ran slapadd whle slapd was running.  You're supposed to use
>> slapadd only if you know what you're doing, ldapadd is the right client
>> for day to day activity.
> now i'm using ldapadd, and it wants me to enter a password... i tryed my
> RootDN password but it don't works... any idea of what kind of password it
> demands?

Try your birth date.  Or the password associated to the identity you're
using.  Unfortunately I don't know what identity you're using.

I mean "what kind of password", not "what password". I'm using my RootDN user.
I'm using
password -> secret
(i think that when you talk about an "identity" you mean a DN, and this is the account i use to login to the OpenLDAP server from the servers i'm working with, and it works)
the command i used is:
ldapadd -f oufile.ldif -D "cn=Manager,dc=intranet,dc=techno,dc=com" -w secret
(all the dn, cn, dc, password and filenames are ficticious, of course)

Ing. Pierangelo Masarati
OpenLDAP Core Team

SysNet s.r.l.
via Dossi, 8 - 27100 Pavia - ITALIA
Office:  +39 02 23998309
Mobile:  +39 333 4963172
Email:   pierangelo.masarati@sys-net.it