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

RE: Simple Authentication for development use

> -----Original Message-----
> From: owner-openldap-software@OpenLDAP.org
> [mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Andy Hale

> Error when attemting to add entry:
> [root@erbium openldap-2.1.25]# ldapadd -x -f Nesso.ldif
> adding new entry "cn=andy.hale,dc=metnet,dc=navy,dc=mil"
> ldapadd: update failed: cn=andy.hale,dc=metnet,dc=navy,dc=mil
> ldap_add: Strong(er) authentication required (8)
>        additional info: modifications require authentication

The -x option tells it to perform a Simple Bind which appears to be what you
want, but you haven't provided any user name or password, so it is binding
anonymously. Read the ldapadd(1) man page, look for the "-D" option.

  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support