You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@directory.apache.org by Robert Lichtenberger <r....@synedra.com> on 2019/05/16 07:39:32 UTC
Unable to create a partition
I've followed the instructions under
https://directory.apache.org/apacheds/basic-ug/1.4.3-adding-partition.html
to create my own partition.
But no matter what I try (reconnecting, restarting
ApacheDirectoryStudio), the partition never appears in the LDAP Browser.
When I try to Import this .ldif - File:
[root@rlimbus ~]# cat seven.ldif
dn: o=sevenSeas
o: sevenSeas
objectClass: top
objectClass: organization
description: The context entry for suffix o=sevenSeas
in order to create the Context Entry of the partition I get the error
message:
c[root@rlimbus ~]# cat seven.ldif.log
#!RESULT ERROR
#!CONNECTION ldap://localhost:10389
#!DATE 2019-05-16T09:26:10.598
#!ERROR [LDAP: error code 32 - NO_SUCH_OBJECT: failed for MessageType :
ADD_REQUEST Message ID : 11 Add Request : Entry dn[n]:
o=sevenSeas objectClass: top objectClass: organization
description: The context entry for suffix o=sevenSeas o: sevenSeas :
ERR_268 Cannot find a partition for o=sevenSeas]
dn: o=sevenSeas
o: sevenSeas
objectClass: top
objectClass: organization
description: The context entry for suffix o=sevenSeas
Here's a screenshot of the situation in Studio:
I've tried both ApacheDS 2.0.0.AM25 and ApacheDS 2.0.0.AM24.
Any help/hint appreciated.
Re: Unable to create a partition
Posted by Adam L <sp...@gmail.com>.
perhaps. it took me a few goes before i realized that was what I was
missing. The docs made me think that linking was done by the engine, when
things were added.
it might have been clearly spelled out somewhere else, i can't remember
now. i only recognized his issue because i fought with it for so long.
On Fri, May 17, 2019, 4:14 AM Emmanuel Lécharny <el...@gmail.com> wrote:
> Maybe the instructions aren't clear enough ?
>
>
> Should we improve it, stressing out the need to create the context entry ?
>
>
> Please let us know !
>
>
> On 17/05/2019 03:49, Adam Levine wrote:
> > sorry. the context entry, not partition id.
> >
> >
> >
> > On Thu, May 16, 2019, 8:47 PM Adam Levine <ad...@gmail.com>
> wrote:
> >
> >> you're missing the partition id, the piece of random characters.
> >> creating the partition id is a step whose calculation is provided on
> the
> >> page you linked.
> >>
> >>
> >>
> >> On Thu, May 16, 2019, 2:48 AM Robert Lichtenberger <
> >> r.lichtenberger@synedra.com> wrote:
> >>
> >>> I've followed the instructions under
> >>>
> https://directory.apache.org/apacheds/basic-ug/1.4.3-adding-partition.html
> >>> to create my own partition.
> >>>
> >>> But no matter what I try (reconnecting, restarting
> >>> ApacheDirectoryStudio), the partition never appears in the LDAP
> Browser.
> >>>
> >>> When I try to Import this .ldif - File:
> >>>
> >>> [root@rlimbus ~]# cat seven.ldif
> >>> dn: o=sevenSeas
> >>> o: sevenSeas
> >>> objectClass: top
> >>> objectClass: organization
> >>> description: The context entry for suffix o=sevenSeas
> >>>
> >>> in order to create the Context Entry of the partition I get the error
> >>> message:
> >>>
> >>> c[root@rlimbus ~]# cat seven.ldif.log
> >>> #!RESULT ERROR
> >>> #!CONNECTION ldap://localhost:10389
> >>> #!DATE 2019-05-16T09:26:10.598
> >>> #!ERROR [LDAP: error code 32 - NO_SUCH_OBJECT: failed for MessageType :
> >>> ADD_REQUEST Message ID : 11 Add Request : Entry dn[n]:
> >>> o=sevenSeas objectClass: top objectClass: organization
> >>> description: The context entry for suffix o=sevenSeas o: sevenSeas
> :
> >>> ERR_268 Cannot find a partition for o=sevenSeas]
> >>> dn: o=sevenSeas
> >>> o: sevenSeas
> >>> objectClass: top
> >>> objectClass: organization
> >>> description: The context entry for suffix o=sevenSeas
> >>>
> >>>
> >>> Here's a screenshot of the situation in Studio:
> >>>
> >>> I've tried both ApacheDS 2.0.0.AM25 and ApacheDS 2.0.0.AM24.
> >>>
> >>> Any help/hint appreciated.
> >>>
> >>>
> >>>
>
Re: Unable to create a partition
Posted by Emmanuel Lécharny <el...@gmail.com>.
Maybe the instructions aren't clear enough ?
Should we improve it, stressing out the need to create the context entry ?
Please let us know !
On 17/05/2019 03:49, Adam Levine wrote:
> sorry. the context entry, not partition id.
>
>
>
> On Thu, May 16, 2019, 8:47 PM Adam Levine <ad...@gmail.com> wrote:
>
>> you're missing the partition id, the piece of random characters.
>> creating the partition id is a step whose calculation is provided on the
>> page you linked.
>>
>>
>>
>> On Thu, May 16, 2019, 2:48 AM Robert Lichtenberger <
>> r.lichtenberger@synedra.com> wrote:
>>
>>> I've followed the instructions under
>>> https://directory.apache.org/apacheds/basic-ug/1.4.3-adding-partition.html
>>> to create my own partition.
>>>
>>> But no matter what I try (reconnecting, restarting
>>> ApacheDirectoryStudio), the partition never appears in the LDAP Browser.
>>>
>>> When I try to Import this .ldif - File:
>>>
>>> [root@rlimbus ~]# cat seven.ldif
>>> dn: o=sevenSeas
>>> o: sevenSeas
>>> objectClass: top
>>> objectClass: organization
>>> description: The context entry for suffix o=sevenSeas
>>>
>>> in order to create the Context Entry of the partition I get the error
>>> message:
>>>
>>> c[root@rlimbus ~]# cat seven.ldif.log
>>> #!RESULT ERROR
>>> #!CONNECTION ldap://localhost:10389
>>> #!DATE 2019-05-16T09:26:10.598
>>> #!ERROR [LDAP: error code 32 - NO_SUCH_OBJECT: failed for MessageType :
>>> ADD_REQUEST Message ID : 11 Add Request : Entry dn[n]:
>>> o=sevenSeas objectClass: top objectClass: organization
>>> description: The context entry for suffix o=sevenSeas o: sevenSeas :
>>> ERR_268 Cannot find a partition for o=sevenSeas]
>>> dn: o=sevenSeas
>>> o: sevenSeas
>>> objectClass: top
>>> objectClass: organization
>>> description: The context entry for suffix o=sevenSeas
>>>
>>>
>>> Here's a screenshot of the situation in Studio:
>>>
>>> I've tried both ApacheDS 2.0.0.AM25 and ApacheDS 2.0.0.AM24.
>>>
>>> Any help/hint appreciated.
>>>
>>>
>>>
Re: Unable to create a partition
Posted by Adam Levine <ad...@gmail.com>.
sorry. the context entry, not partition id.
On Thu, May 16, 2019, 8:47 PM Adam Levine <ad...@gmail.com> wrote:
> you're missing the partition id, the piece of random characters.
> creating the partition id is a step whose calculation is provided on the
> page you linked.
>
>
>
> On Thu, May 16, 2019, 2:48 AM Robert Lichtenberger <
> r.lichtenberger@synedra.com> wrote:
>
>> I've followed the instructions under
>> https://directory.apache.org/apacheds/basic-ug/1.4.3-adding-partition.html
>> to create my own partition.
>>
>> But no matter what I try (reconnecting, restarting
>> ApacheDirectoryStudio), the partition never appears in the LDAP Browser.
>>
>> When I try to Import this .ldif - File:
>>
>> [root@rlimbus ~]# cat seven.ldif
>> dn: o=sevenSeas
>> o: sevenSeas
>> objectClass: top
>> objectClass: organization
>> description: The context entry for suffix o=sevenSeas
>>
>> in order to create the Context Entry of the partition I get the error
>> message:
>>
>> c[root@rlimbus ~]# cat seven.ldif.log
>> #!RESULT ERROR
>> #!CONNECTION ldap://localhost:10389
>> #!DATE 2019-05-16T09:26:10.598
>> #!ERROR [LDAP: error code 32 - NO_SUCH_OBJECT: failed for MessageType :
>> ADD_REQUEST Message ID : 11 Add Request : Entry dn[n]:
>> o=sevenSeas objectClass: top objectClass: organization
>> description: The context entry for suffix o=sevenSeas o: sevenSeas :
>> ERR_268 Cannot find a partition for o=sevenSeas]
>> dn: o=sevenSeas
>> o: sevenSeas
>> objectClass: top
>> objectClass: organization
>> description: The context entry for suffix o=sevenSeas
>>
>>
>> Here's a screenshot of the situation in Studio:
>>
>> I've tried both ApacheDS 2.0.0.AM25 and ApacheDS 2.0.0.AM24.
>>
>> Any help/hint appreciated.
>>
>>
>>
Re: Unable to create a partition
Posted by Adam Levine <ad...@gmail.com>.
you're missing the partition id, the piece of random characters.
creating the partition id is a step whose calculation is provided on the
page you linked.
On Thu, May 16, 2019, 2:48 AM Robert Lichtenberger <
r.lichtenberger@synedra.com> wrote:
> I've followed the instructions under
> https://directory.apache.org/apacheds/basic-ug/1.4.3-adding-partition.html
> to create my own partition.
>
> But no matter what I try (reconnecting, restarting ApacheDirectoryStudio),
> the partition never appears in the LDAP Browser.
>
> When I try to Import this .ldif - File:
>
> [root@rlimbus ~]# cat seven.ldif
> dn: o=sevenSeas
> o: sevenSeas
> objectClass: top
> objectClass: organization
> description: The context entry for suffix o=sevenSeas
>
> in order to create the Context Entry of the partition I get the error
> message:
>
> c[root@rlimbus ~]# cat seven.ldif.log
> #!RESULT ERROR
> #!CONNECTION ldap://localhost:10389
> #!DATE 2019-05-16T09:26:10.598
> #!ERROR [LDAP: error code 32 - NO_SUCH_OBJECT: failed for MessageType :
> ADD_REQUEST Message ID : 11 Add Request : Entry dn[n]:
> o=sevenSeas objectClass: top objectClass: organization
> description: The context entry for suffix o=sevenSeas o: sevenSeas :
> ERR_268 Cannot find a partition for o=sevenSeas]
> dn: o=sevenSeas
> o: sevenSeas
> objectClass: top
> objectClass: organization
> description: The context entry for suffix o=sevenSeas
>
>
> Here's a screenshot of the situation in Studio:
>
> I've tried both ApacheDS 2.0.0.AM25 and ApacheDS 2.0.0.AM24.
>
> Any help/hint appreciated.
>
>
>