directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fabrice Aupert <>
Subject Re: Re: Import custom schema from OpenLDAP
Date Fri, 11 Apr 2014 13:01:32 GMT
Hi Emmanuel,

Thanks for your answer.

> You should *urgently* switch to 2.4.
I was wrong actually. We're using OpenLdap 2.4.

> Can you provide the exported LDIF ?
See attached file. It contains quite a lot of attribute types and object
classes from a Sun LDAP server which our client uses. As we can't have this
proprietary LDAP serve in our infrastructure, I made a first import into an
OpenLDAP server. Now we have to migrate to ApacheDS - for depressing
reasons I'd rather not explain here .

When I import this LDIF through Directory Studio :
- case  #1 : if dn: cn=client123, ou=schema already exists I get an error
message complaining about entry already existing...
- case #2 : otherwise, import log says everything went fine (see below) but
nothing really happened except for "dn: cn=client123, ou=schema" entry
being created
#!CONNECTION ldap://host-client123:10389
#!DATE 2014-04-11T13:13:50.522
dn: cn=client123, ou=schema
objectclass: metaSchema
objectclass: top
cn: client123
attributeTypes: ...

What happens is that LDIF is imported in /var/lib/apacheds-2.0.0_M16
# find . -type f -exec grep -i usertim {} +
./default/partitions/schema/ou=schema/cn=client123.ldif:objectClasses: (
2.25.2548.9845.21360.100 NAME 'usertim' SUP 'inetOrgPerson' STR
So there is a ./default/partitions/schema/ou=schema/cn=client123.ldif file
but no ./default/partitions/schema/ou=schema/cn=client123 directory with
all the attributeTypes, objectClasses & co hierarchies.



View raw message