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

Re: I can't add entries to my OpenLDAP. Please Help.

På fr , 02/05/2003 klokka 14:28, skreiv Qianfeng:

> I followed the instructions on the "OpenLDAP 2.1 Administrator's
> Guide" and wrote the following .ldif file. 
>         # Organization for Example Corporation
>         dn: dc=example,dc=com
>         objectClass: dcObject
>         objectClass: organization
>         dc: example
>         o: Example Corporation
>         description: The Example Corporation
>         # Organizational Role for Directory Manager
>         dn: cn=Manager,dc=example,dc=com
>         objectClass: organizationalRole
>         cn: Manager
>         description: Directory Manager 
> I use the following command to try to add this to my database:
>         ldapadd -f entries.ldif -x -D "cn=Manager,dc=example,dc=com"
> -w secret
> However, i always get the followin error:
>         ldap_bind: invalid credentials

Maybe you should read the guide again. The "Manager" and his password
for the initial additions are supposed to be in slapd.conf. Use an ldif
for adding another user, for example "Admin", if you want, via ACLs, to
give him manager rights later.



Tony Earnshaw

Do not come to visit me with both arms the same length.

e-post:		tonni@billy.demon.nl
www:		http://www.billy.demon.nl

Tony Earnshaw