directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Athar Shiraz Siddiqui" <atharshi...@gmail.com>
Subject Unable to Create Suffix
Date Mon, 08 Dec 2008 00:42:31 GMT
I am using winxp (/vista on another machine). I am using apache
directory studio to do the editing etc.

I am attempting to create a new suffix besides : "dc=example,dc=com"

I am using directions here :
http://directory.apache.org/apacheds/1.5/144-adding-your-own-partition-resp-suffix.html

i tried to add another suffix so now my C:\Program Files\Apache
Directory Server\instances\default\conf\server.xml file looks like
this :


    <partitions>
      <!-- NOTE: when specifying new partitions you need not include those   -->
      <!-- attributes below with OID's which are the system indices, if left -->
      <!-- out they will be automatically configured for you with defaults.  -->
      <jdbmPartition id="example" cacheSize="100"
suffix="dc=example,dc=com" optimizerEnabled="true"
                     syncOnWrite="true">
        <indexedAttributes>
          <jdbmIndex attributeId="1.3.6.1.4.1.18060.0.4.1.2.1" cacheSize="100"/>
          <jdbmIndex attributeId="1.3.6.1.4.1.18060.0.4.1.2.2" cacheSize="100"/>
          <jdbmIndex attributeId="1.3.6.1.4.1.18060.0.4.1.2.3" cacheSize="100"/>
          <jdbmIndex attributeId="1.3.6.1.4.1.18060.0.4.1.2.4" cacheSize="100"/>
          <jdbmIndex attributeId="1.3.6.1.4.1.18060.0.4.1.2.5" cacheSize="10"/>
          <jdbmIndex attributeId="1.3.6.1.4.1.18060.0.4.1.2.6" cacheSize="10"/>
          <jdbmIndex attributeId="1.3.6.1.4.1.18060.0.4.1.2.7" cacheSize="10"/>
          <jdbmIndex attributeId="dc" cacheSize="100"/>
          <jdbmIndex attributeId="ou" cacheSize="100"/>
          <jdbmIndex attributeId="krb5PrincipalName" cacheSize="100"/>
          <jdbmIndex attributeId="uid" cacheSize="100"/>
          <jdbmIndex attributeId="objectClass" cacheSize="100"/>
        </indexedAttributes>
      </jdbmPartition>
 <jdbmPartition id="sevenSeas" suffix="o=sevenSeas" />
    </partitions>

When I go through the Directory Studio to try to view this I cannot.
So I stored this in an ldif file :

--
dn: o=sevenSeas
o: sevenSeas
objectClass: top
objectClass: organization
description: The context entry for suffix o=sevenSeas

--

Then i tried to import the ldif file but i get the error:
Error while importing LDIF
Record is invalid
  Record is invalid

I try to use the GUI and right click on the connections->properties
and expand the ROOT DSE and I cannot see the view described in the
image below the lines "If you connect with an LDAP Browser (Apache
Directory Studio for instance), the partition is only visible in the
Root DSE. Below the Properties dialog of Directory Studio for the Root
DSE after connecting to an ApacheDS instance configured like above."

I also cannot see ( dc=example, dc=com ) even though right under neath
the "DIT" node the Root DSE node says "Root DSE (3)"

So again I try to create a copy of the ou=system. I right click on
ou=system and try to copy Entry / dn and try to paste that and just
use the object (not entire subtree). I get the following copy entry
error :
Error while copying entry
[LDAP: error code 32 - NO_SUCH_OBJECT: failed for     Add Request :
ClientEntry
    dn: 2.5.4.11=people
    objectclass: organizationalUnit
    objectclass: extensibleObject
    objectclass: top
    ou: people
: ou=people]
  [LDAP: error code 32 - NO_SUCH_OBJECT: failed for     Add Request :
ClientEntry
    dn: 2.5.4.11=people
    objectclass: organizationalUnit
    objectclass: extensibleObject
    objectclass: top
    ou: people
: ou=people]

As you can see I was only trying to add ou=people.

So the problems currently are:
1) I cannot see dc=example, dc=com
2) I cannot add a suffix

Someone please update the docs and make them more updated and / or
give me the link to a directory server that is not so difficult to
manage.
Thanks.

Mime
View raw message