directory-api mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christoph Czurda <hasnoadditi...@gmail.com>
Subject Re: connection.getSchemaManager() returns null
Date Sat, 10 Dec 2011 18:25:41 GMT


On 12/10/2011 06:29 PM, Kiran Ayyagari wrote:
> On Sat, Dec 10, 2011 at 12:25 PM, Christoph Czurda
> <hasnoadditives@gmail.com> wrote:
>> Hello,
>>
>> Why does connection.getSchemaManager() return null? My connection is
>> connected and bound.
>>
> you have to call connection.loadSchema() first.
I did that and then it worked, thank you.
>> I want to add a custom ObjectClass which is why I need the SchemaManager.
> if you want to add new entries based on this objectclass then you
> should add that in the server
Using ApacheDS I guess I do this by placing an ldif file containing my
object class somewhere into instances/default/partitions/schema ? Could
you point out to me how to find the exact location?
>>
>> Kind Regards,
>> Christoph
> 
> 
> 

Mime
View raw message