You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@directory.apache.org by Aaron Boxer <bo...@gmail.com> on 2013/08/30 14:12:40 UTC

need help porting ldif file to apache 2.0

Hello,
I have the following ldif file (see below) that chokes when I try to
import it into an
apache ds 2.0 instance.  It seems that ads-indexes is no longer supported.
How should I modify this file to make it work?

THanks!!
Aaron

//////////////////////////////////////////////////////////////


version: 1

dn: ads-partitionId=nodomain,ou=partitions,ads-directoryServiceId=default,ou=
 config
objectclass: top
objectclass: ads-base
objectclass: ads-partition
objectclass: ads-jdbmPartition
ads-partitionid: nodomain
ads-partitionsuffix: dc=nodomain
ads-enabled: TRUE
ads-jdbmpartitionoptimizerenabled: TRUE
ads-partitioncachesize: 100
ads-partitionsynconwrite: TRUE
ads-indexes: apacheRdn
ads-indexes: apacheSubLevel
ads-indexes: apachePresence
ads-indexes: apacheOneLevel
ads-indexes: apacheOneAlias
ads-indexes: apacheSubAlias
ads-indexes: apacheAlias
ads-indexes: entryUUID
ads-indexes: entryCSN
ads-indexes: dc
ads-indexes: krb5PrincipalName
ads-indexes: objectClass
ads-indexes: ou
ads-indexes: uid

dn: ou=indexes,ads-partitionId=nodomain,ou=partitions,ads-directoryServiceId=
 default,ou=config
objectclass: organizationalUnit
objectclass: top
ou: indexes

Re: need help porting ldif file to apache 2.0

Posted by Aaron Boxer <bo...@gmail.com>.
Thanks, Kiran. That fixed the error.

Aaron


On Fri, Aug 30, 2013 at 10:56 AM, Kiran Ayyagari <ka...@apache.org>wrote:

> On Fri, Aug 30, 2013 at 5:42 PM, Aaron Boxer <bo...@gmail.com> wrote:
>
> > Hello,
> > I have the following ldif file (see below) that chokes when I try to
> > import it into an
> > apache ds 2.0 instance.  It seems that ads-indexes is no longer
> supported.
> > How should I modify this file to make it work?
> >
> > remove the 'ads-indexes' attribute from the entry
> 'ads-partitionId=nodomain...'
>
> > THanks!!
> > Aaron
> >
> > //////////////////////////////////////////////////////////////
> >
> >
> > version: 1
> >
> > dn:
> > ads-partitionId=nodomain,ou=partitions,ads-directoryServiceId=default,ou=
> >  config
> > objectclass: top
> > objectclass: ads-base
> > objectclass: ads-partition
> > objectclass: ads-jdbmPartition
> > ads-partitionid: nodomain
> > ads-partitionsuffix: dc=nodomain
> > ads-enabled: TRUE
> > ads-jdbmpartitionoptimizerenabled: TRUE
> > ads-partitioncachesize: 100
> > ads-partitionsynconwrite: TRUE
> > ads-indexes: apacheRdn
> > ads-indexes: apacheSubLevel
> > ads-indexes: apachePresence
> > ads-indexes: apacheOneLevel
> > ads-indexes: apacheOneAlias
> > ads-indexes: apacheSubAlias
> > ads-indexes: apacheAlias
> > ads-indexes: entryUUID
> > ads-indexes: entryCSN
> > ads-indexes: dc
> > ads-indexes: krb5PrincipalName
> > ads-indexes: objectClass
> > ads-indexes: ou
> > ads-indexes: uid
> >
> > dn:
> > ou=indexes,ads-partitionId=nodomain,ou=partitions,ads-directoryServiceId=
> >  default,ou=config
> > objectclass: organizationalUnit
> > objectclass: top
> > ou: indexes
> >
>
>
>
> --
> Kiran Ayyagari
> http://keydap.com
>

Re: need help porting ldif file to apache 2.0

Posted by Kiran Ayyagari <ka...@apache.org>.
On Fri, Aug 30, 2013 at 5:42 PM, Aaron Boxer <bo...@gmail.com> wrote:

> Hello,
> I have the following ldif file (see below) that chokes when I try to
> import it into an
> apache ds 2.0 instance.  It seems that ads-indexes is no longer supported.
> How should I modify this file to make it work?
>
> remove the 'ads-indexes' attribute from the entry
'ads-partitionId=nodomain...'

> THanks!!
> Aaron
>
> //////////////////////////////////////////////////////////////
>
>
> version: 1
>
> dn:
> ads-partitionId=nodomain,ou=partitions,ads-directoryServiceId=default,ou=
>  config
> objectclass: top
> objectclass: ads-base
> objectclass: ads-partition
> objectclass: ads-jdbmPartition
> ads-partitionid: nodomain
> ads-partitionsuffix: dc=nodomain
> ads-enabled: TRUE
> ads-jdbmpartitionoptimizerenabled: TRUE
> ads-partitioncachesize: 100
> ads-partitionsynconwrite: TRUE
> ads-indexes: apacheRdn
> ads-indexes: apacheSubLevel
> ads-indexes: apachePresence
> ads-indexes: apacheOneLevel
> ads-indexes: apacheOneAlias
> ads-indexes: apacheSubAlias
> ads-indexes: apacheAlias
> ads-indexes: entryUUID
> ads-indexes: entryCSN
> ads-indexes: dc
> ads-indexes: krb5PrincipalName
> ads-indexes: objectClass
> ads-indexes: ou
> ads-indexes: uid
>
> dn:
> ou=indexes,ads-partitionId=nodomain,ou=partitions,ads-directoryServiceId=
>  default,ou=config
> objectclass: organizationalUnit
> objectclass: top
> ou: indexes
>



-- 
Kiran Ayyagari
http://keydap.com