[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Invalid Credentials
Norman Zhang píše v st 09. 03. 2005 v 14:20 -0800:
> Hi,
>
> I cannot seem to be able to add entries to the ldap databse. May I ask
> for a few pointers?
>
> Regards,
> Norman Zhang
>
> database bdb
> suffix "dc=test.arkonnetworks,dc=com"
> rootdn "cn=root,dc=test.arkonnetworks,dc=com"
> rootpw secret
> directory /var/lib/ldap
> checkpoint 256 5
> index objectClass,uid,uidNumber,gidNumber,memberuid eq
> index cn,mail,surname,givenname eq,subinitial
>
> # ldapadd -f entries.ldif -x -D
> "cn=Manager,dc=test.arkonnetworks,dc=com" -w secret
__root__
Don't you mean rootdn above?
> ldap_bind: Invalid credentials (49)
>
> # more entries.ldif
> dn: dc=test.arkonnetworks,dc=com
> objectClass: dcObject
> objectClass: organization
> dc: Arkon
> o: Test Arkon Networks
> description: Test Arkon Networks.
>
> dn: cn=Manager,dc=test.arkonneworks,dc=com
> objectClass: organizationalRole
> cn: Manager
> description: Directory Manager
>
Michal Mertl