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

Antwort: Re: Problem with ldapadd - parent does not exist



>>Hi

On Mon, Jul 08, 2002 at 01:11:35PM +0200, Markus.Jung@de.tds-global.com
wrote:
> Hi!
>
> I've tried to add entries to the OpenLDAP-Server but I only get the
> error-message behind.
>
>
> pingu:/etc/init.d# ldapadd -x -D "cn=admin,dc=pingu,dc=de" -W -f
> "/root/ldif/newentry.ldif"
> Enter LDAP Password:
> adding new entry "cn=Markus Jung,dc=pingu,dc=de"
> ldap_add: No such object
>         additional info: parent does not exist
>
> What means this to me???
> What do I have to do to make my ldapadd work??
>

>>Can you show newentry.ldif? It looks like you don't have dc=pingu,dc=de.

Thank you for your help. Hope you have a idea ;o))

Here is the newentry.ldif:

  dn: cn=Markus Jung,dc=pingu,dc=de
  cn: Markus Jung
  sn: Jung
  objectClass: top
  objectClass: person

And here is the slapd.conf:

  include         /etc/ldap/schema/core.schema
  include         /etc/ldap/schema/cosine.schema
  include         /etc/ldap/schema/nis.schema
  include         /etc/ldap/schema/inetorgperson.schema

  schemacheck     on

  pidfile         /var/run/slapd.pid

  argsfile        /var/run/slapd.args

  replogfile      /var/lib/ldap/replog

  loglevel        0

  database        ldbm

  suffix          "dc=pingu,dc=de"

  directory       "/var/lib/ldap"

  rootdn          "cn=admin,dc=pingu,dc=de"

  rootpw          secret

  index objectClass eq

  lastmod on

  access to attribute=userPassword
        by dn="cn=admin,dc=pingu" write
        by anonymous auth
        by self write
        by * none

  access to *
        by dn="cn=admin,dc=pingu,dc=de" write
        by * read

  access to dn=".*,ou=Roaming,o=morsnet"
        by dn="cn=admin,dc=pingu" write
        by dnattr=owner write

  sasl-secprops none


Greetz,

Markus