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

Re: error: " no such object"



Dominik

Try changing the rootdn line in your conf file to

rootdn "cn=root,dc=c-i-s,dc=net"

The dc entries on this line must be the same as those specified in your base line.

I don't know if it makesa differnece but I use suffix instead of base

I hope this solves your problem

Tony

> These are my config-files. You see, I'm a newbie
> My problem were:
> So, when I try to add my test.ldif File ( I generated it with a editor
> and saved it as test.ldif (?) ) or search, I get: ldapadd:no such
> object
>
> ldap.conf
>
> BASE dc=c-i-s, dc=net
> host ldap
>
>
> slapd.conf
>
> include /etc/openldap/slapd.at.conf
> include /etc/openldap/slapd.oc.conf
> schemacheck off
> pidfile /var/run/slapd.pid
> argsfile /var/run/slapd.args
> database ldbm
> suffix "dc=c-i-s, dc=net"
> rootdn "cn=root, dc=my-domain, dc=com"
> rootpw xxxxxxx
> directory /usr/tmp
>
>
> My test ldif file:
>
> dn: dc=c-i-s, dc=net
> objectclass: organization
> objectclass: top
> o: cIS GmbH
> l: Denkendorf
> postalcode: 73770
> streetadress: Weingartstr. 22
> dn: ou=Technik, dc=c-i-s, dc=net
> objectclass: technik
> ou: Technik
> description: Technik
> dn: uid=root, dc=c-i-s, dc=net
> objectclass: person
> objectclass: technikperson
> cn: root
>
>
>
> Thank you very much for helping
> Dominik Berner


----------------------------------------------------------------
 
  Antonin Ch. Novak                    mailto:Antonin.Novak@cca.cz
  Systemovy administrator
  Systemova a technicka podpora
  CCA spol. s r.o.                    Web: http://www.cca.cz
  Kratka 8,  
  301 17 Plzen
  Czech Republic
  
  Tel: +42 019 7221253   
  Fax: +42 019 7222931