You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@directory.apache.org by Cheong Chung Onn <ch...@greenfossil.com> on 2008/12/30 13:50:25 UTC

Schema editor export to Openldap ldif format

Hi,

The current Schema Editor is able to export Openldap schema in 
slapd.conf format. Is the a way of exporting the OpenLdap schema into 
the new  slapd.d format i.e. an ldif file? Or is there any utility that 
i could use to convert an Openldap .schema file to an Openldap .ldif 
file? The reason i needed this is because in OpenLdap version 2.4.11 on 
Ubuntu 8.10, adding new schema must use an ldif file.

Any help to direct me to the right direction is greatly appreciated.



Re: Schema editor export to Openldap ldif format

Posted by Emmanuel Lecharny <el...@gmail.com>.
ayyagarikiran wrote:
> hi Cheong,
>
>    Check this link 
> https://help.ubuntu.com/8.10/serverguide/C/openldap-server.html
>
>    search for 'Adding additional schema's to slapd' that section 
> explains how to convert to ldif format

Hi,

the LDIF export is not exactly OpenLDAP compatible, at least atm.

-- 
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org



Re: Schema editor export to Openldap ldif format

Posted by Cheong Chung Onn <ch...@greenfossil.com>.
Hi Kiran,

Thanks for the suggestion, actually I have read that article and 
followed its instructions but unfortunately it didn't work. When I 
import the converted ldif schema file, I get the following error message 
- #!ERROR [LDAP: error code 53 - no global superior knowledge]. I have 
ensured that all Object classes has a SUP attribute.

This schema actually works previously using the openldap old style 
schema format. And it also works on ApacheDS 1.5.4.

Any suggestion will be appreciated. I will investigate further and ping 
the openldap community for help.

Thanks again.

chung-onn

ayyagarikiran wrote:
> hi Cheong,
>
>    Check this link 
> https://help.ubuntu.com/8.10/serverguide/C/openldap-server.html
>
>    search for 'Adding additional schema's to slapd' that section 
> explains how to convert to ldif format
>
> hth
>
> Kiran Ayyagari
>
> Cheong Chung Onn wrote:
>> Hi,
>>
>> The current Schema Editor is able to export Openldap schema in 
>> slapd.conf format. Is the a way of exporting the OpenLdap schema into 
>> the new  slapd.d format i.e. an ldif file? Or is there any utility 
>> that i could use to convert an Openldap .schema file to an Openldap 
>> .ldif file? The reason i needed this is because in OpenLdap version 
>> 2.4.11 on Ubuntu 8.10, adding new schema must use an ldif file.
>>
>> Any help to direct me to the right direction is greatly appreciated.
>>
>>
>>

Re: Schema editor export to Openldap ldif format

Posted by ayyagarikiran <ay...@gmail.com>.
hi Cheong,

    Check this link https://help.ubuntu.com/8.10/serverguide/C/openldap-server.html

    search for 'Adding additional schema's to slapd' that section explains how to convert to ldif format

hth

Kiran Ayyagari

Cheong Chung Onn wrote:
> Hi,
> 
> The current Schema Editor is able to export Openldap schema in 
> slapd.conf format. Is the a way of exporting the OpenLdap schema into 
> the new  slapd.d format i.e. an ldif file? Or is there any utility that 
> i could use to convert an Openldap .schema file to an Openldap .ldif 
> file? The reason i needed this is because in OpenLdap version 2.4.11 on 
> Ubuntu 8.10, adding new schema must use an ldif file.
> 
> Any help to direct me to the right direction is greatly appreciated.
> 
> 
>