Hi Dan,
there is a place in server.xml where you can tell the server to load a
ldif file :
...
<bean id="configuration"
class="org.apache.directory.server.configuration.MutableServerStartupConfiguration">
<property name="workingDirectory" value="example.com" />
<!-- Uncomment below to have the server load entries on startup! -->
<!-- ldifDirectory property can point to a relative file, directory or -->
<!-- can point to an absolute path to either using the URL path -->
<!-- notation: i.e. file:///Users/jack/apacheds/ldifs -->
<!--
<property name="ldifDirectory">
<value>example.ldif</value>
</property>
-->
Just put the file path here, and uncomment the property, it should work.
The ldif file won't be loaded every time, only the first time. (I
_think_ the sserver check the time, not the name, to avoid loading the
file more than once).
Emmanuel
On 6/15/07, Barber, Dan (Contractor) <[EMAIL PROTECTED]> wrote:
P-A M,
Can you point me to information on how Apache DS loads LDIF files at
first startup? I think that would work for us. And yes, I'm working with
1.5.
Thanks all,
Dan
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Pierre-Arnaud Marcelot
Sent: Friday, June 15, 2007 1:59 AM
To: [email protected]
Subject: Re: Initial schemas for apacheds
Hi Dan,
I know that Apache DS can load LDIF files at first startup. Since the
schema
in ADS 1.5 is stored in the DIT, maybe you can use this functionality to
load your H.350 schemas as LDIF (exported from Apache Directory Studio).
Correct me if I'm wrong, Alex or Emmanuel...
P-A M.
On 6/14/07, Barber, Dan (Contractor) <[EMAIL PROTECTED]> wrote:
>
> Can someone point me to information on how to add schemas that will be
> included with a default installation of ApacheDS? We will be using
> ApacheDS always included H.350 information and I'd like to include
> several H.350 schemas in any distribution of our ldap server. I have
> found the information on how to load schemas, using a tool like LDAP
> Studio, but haven't been able to find any information on modifying the
> default schemas loaded by ApacheDS at startup.
>
>
>
> Thanks,
>
>
>
> Dan Barber
>
>
>
>
--
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com