You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Krishnakumar B <ww...@gmail.com> on 2005/10/18 19:53:53 UTC
Adding a partition to Apache DS with Geronimo
hi,
i am trying to create a new partition with apache DS that comes with geronimo
dn: dc=myhost,dc=com
dc: myhost
objectClass: dcObject
The documentation for directory server says to use properties file
server.db.partition.suffix.apache=dc=myhost,dc=com
server.db.partition.indices.apache=ou cn objectClass uid
server.db.partition.attributes.apache.dc=myhost
server.db.partition.attributes.apache.objectClass=top domain extensibleObject
But i am unable to add this to Apache DS in geronimo.
So want to know if this is possible or i can use only ou=system thats
created by default.
thanks
Krish
Re: Adding a partition to Apache DS with Geronimo
Posted by Jeff Genender <jg...@savoirtech.com>.
Krishnakumar,
I now made it so you can create partitions. See the
var/ldap/conf/directory.xml file. You set your partitions up in this
file via xml tags. There is no support for the properties files.
So for your example you gave, the directory.xml would look like this:
<?xml version="1.0" encoding="UTF-8"?>
<directory-configuration
xmlns="http://geronimo.apache.org/xml/ns/directory-1.0">
<partitions>
<partition name="myhost">
<suffix>dc=myhost,dc=com</suffix>
<indexedAttributes>
<indexedAttribute>ou</indexedAttribute>
<indexedAttribute>cn</indexedAttribute>
<indexedAttribute>objectClass</indexedAttribute>
<indexedAttribute>uid</indexedAttribute>
</indexedAttributes>
<contextEntry>
<attribute id="objectClass">
<value>top</value>
<value>domain</value>
<value>extensibleObject</value>
</attribute>
<attribute id="dc">
<value>myhost</value>
</attribute>
</contextEntry>
</partition>
</partitions>
</directory-configuration>
It also probably wouldn't hurt to uncomment the <bootStrapSchemas> block
as well.
Jeff
Krishnakumar B wrote:
> hi,
>
> i am trying to create a new partition with apache DS that comes with geronimo
>
> dn: dc=myhost,dc=com
> dc: myhost
> objectClass: dcObject
>
> The documentation for directory server says to use properties file
> server.db.partition.suffix.apache=dc=myhost,dc=com
> server.db.partition.indices.apache=ou cn objectClass uid
> server.db.partition.attributes.apache.dc=myhost
> server.db.partition.attributes.apache.objectClass=top domain extensibleObject
>
> But i am unable to add this to Apache DS in geronimo.
>
> So want to know if this is possible or i can use only ou=system thats
> created by default.
>
> thanks
> Krish
RE: Adding a partition to Apache DS with Geronimo
Posted by Jeff Genender <jg...@savoirtech.com>.
Thanks. I will get on this.
> -----Original Message-----
> From: Krishnakumar B [mailto:www.bkk@gmail.com]
> Sent: Wednesday, October 19, 2005 1:14 AM
> To: dev@geronimo.apache.org
> Subject: Re: Adding a partition to Apache DS with Geronimo
>
> Hi Jeff,
>
> created a JIRA issue
> http://issues.apache.org/jira/browse/GERONIMO-1091
>
> regards
> Krishnakumar B
>
> On 10/19/05, Jeff Genender <jg...@savoirtech.com> wrote:
> > Krish,
> >
> > You can use ou=system to play with, but under a long term,
> I wouldn't
> > use it.
> >
> > Great point! I need to add the ability to add partitions from a
> > configuration. Could you please open a JIRA issue on this? This
> > should be pretty easy to fix.
> >
> > Thanks for pointing this out,
> >
> > Jeff
> >
> > Krishnakumar B wrote:
> > > hi,
> > >
> > > i am trying to create a new partition with apache DS that
> comes with
> > > geronimo
> > >
> > > dn: dc=myhost,dc=com
> > > dc: myhost
> > > objectClass: dcObject
> > >
> > > The documentation for directory server says to use
> properties file
> > > server.db.partition.suffix.apache=dc=myhost,dc=com
> > > server.db.partition.indices.apache=ou cn objectClass uid
> > > server.db.partition.attributes.apache.dc=myhost
> > > server.db.partition.attributes.apache.objectClass=top domain
> > > extensibleObject
> > >
> > > But i am unable to add this to Apache DS in geronimo.
> > >
> > > So want to know if this is possible or i can use only ou=system
> > > thats created by default.
> > >
> > > thanks
> > > Krish
> >
>
Re: Adding a partition to Apache DS with Geronimo
Posted by Krishnakumar B <ww...@gmail.com>.
Hi Jeff,
created a JIRA issue http://issues.apache.org/jira/browse/GERONIMO-1091
regards
Krishnakumar B
On 10/19/05, Jeff Genender <jg...@savoirtech.com> wrote:
> Krish,
>
> You can use ou=system to play with, but under a long term, I wouldn't
> use it.
>
> Great point! I need to add the ability to add partitions from a
> configuration. Could you please open a JIRA issue on this? This should
> be pretty easy to fix.
>
> Thanks for pointing this out,
>
> Jeff
>
> Krishnakumar B wrote:
> > hi,
> >
> > i am trying to create a new partition with apache DS that comes with geronimo
> >
> > dn: dc=myhost,dc=com
> > dc: myhost
> > objectClass: dcObject
> >
> > The documentation for directory server says to use properties file
> > server.db.partition.suffix.apache=dc=myhost,dc=com
> > server.db.partition.indices.apache=ou cn objectClass uid
> > server.db.partition.attributes.apache.dc=myhost
> > server.db.partition.attributes.apache.objectClass=top domain extensibleObject
> >
> > But i am unable to add this to Apache DS in geronimo.
> >
> > So want to know if this is possible or i can use only ou=system thats
> > created by default.
> >
> > thanks
> > Krish
>
Re: Adding a partition to Apache DS with Geronimo
Posted by Jeff Genender <jg...@savoirtech.com>.
Krish,
You can use ou=system to play with, but under a long term, I wouldn't
use it.
Great point! I need to add the ability to add partitions from a
configuration. Could you please open a JIRA issue on this? This should
be pretty easy to fix.
Thanks for pointing this out,
Jeff
Krishnakumar B wrote:
> hi,
>
> i am trying to create a new partition with apache DS that comes with geronimo
>
> dn: dc=myhost,dc=com
> dc: myhost
> objectClass: dcObject
>
> The documentation for directory server says to use properties file
> server.db.partition.suffix.apache=dc=myhost,dc=com
> server.db.partition.indices.apache=ou cn objectClass uid
> server.db.partition.attributes.apache.dc=myhost
> server.db.partition.attributes.apache.objectClass=top domain extensibleObject
>
> But i am unable to add this to Apache DS in geronimo.
>
> So want to know if this is possible or i can use only ou=system thats
> created by default.
>
> thanks
> Krish