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

Fw: First level entries in the ldap database



Hi all,

I sent this a couple of days ago to no avail. Here goes again. Could
somebody please help me?

TIA

    __ _   Debian GNU User
   / /(_)_ __  _   ___  __   Simon Martin
  / / | | '_ \| | | \ \/ /   Project Manager
 / /__| | | | | |_| |>  <    Isys
 \____/_|_| |_|\__,_/_/\_\   mailto: smartin@isys.cl

Chaos reigns within.
Reflect, repent, and reboot.
Order shall return.

----- Original Message -----
From: "Simon Martin" <smartin@isys.cl>
To: <openldap-software@openldap.org>
Sent: Tuesday, May 30, 2000 8:46 AM
Subject: First level entries in the ldap database


> Hi all,
>
> First comes the current situation, and then the question.
>
> SITUATION:
>
> I originally built my LDAP database on UMich 3.3, and about 6 months ago I
> migrated to OpenLDAP 1.2.8. Everything worked ok, except for searches at
the
> base of the tree, i.e. ldapsearch c=* gives no results. I completely
ignored
> this for the past 6 months, until yesterday when I decided to try to get
to
> the bottom of it. I killed the daemon, cleared the database (ldif2ldbm -i
> empty-file), turned schemacheck on and restarted the daemon in debug mode
> (openldap -d 255).
>
> I built the file entry.ldif with the following entry:
>
> dn:c=cl
> objectclass:top
> objectclass:country
> c:cl
> description:chile
>
> When I tried to add this entry with ldapadd -f entry.ldif, ldapadd failed
> with the message "ldap_add: No such object". Checking the output from the
> daemon, I found the message "parent does not exist". I then tried the
> following file:
>
> dn:world
> objectclas:top
>
> dn:c=cl,world
> objectclass:top
> objectclass:country
> c:cl
> description:chile
>
> This works, but I have the dummy entry world here. If I do ldapsearch c=*
I
> get the entry or chile. If I do ldapsearch -s one c=*, of course it
returns
> nothing because the base entry is world. Unfortunately this is the search
> the web500gw does.
>
> QUESTION:
>
> How do I make the first level entries in the database be the country list?
>
>     __ _   Debian GNU User
>    / /(_)_ __  _   ___  __   Simon Martin
>   / / | | '_ \| | | \ \/ /   Project Manager
>  / /__| | | | | |_| |>  <    Isys
>  \____/_|_| |_|\__,_/_/\_\   mailto: smartin@isys.cl
>
> Chaos reigns within.
> Reflect, repent, and reboot.
> Order shall return.
>