[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Moving a NetScape Directory Server on a OpenLDAP Server -- NEED FAST HELP
----- Original Message -----
From: "Oliver Roeschke" <Oliver.Roeschke@Integra-europe.de>
To: "OPENLDAP Software Mailing List (E-Mail)"
<openldap-software@OpenLDAP.org>
Sent: Friday, August 17, 2001 11:24 AM
Subject: Moving a NetScape Directory Server on a OpenLDAP Server -- NEED
FAST HELP
> Hi
>
> Have anyone ever tried to move a LDAP Server on a Netscape Directory
Server
> to a LDAP server on OpenLDAP without loosing the content of the
database???
>
> The export with the Netscape Server seems to be very easy, but I hang at
the
> configuring of the OpenLDAP 2.0.11 server.
>
> I have the include lines for the "core.schema, cosine.schema,
> inetorgperson.schema" and everytime I execute ldbmtest to test the
database
> I get the following error messages:
>
> /home/olli/slapd-ifm0002/config/schemas/core.schema: line 29: unknown
> directive "attributetype" in ldbm database definition (ignored)
> /home/olli/slapd-ifm0002/config/schemas/core.schema: line 35: unknown
> directive "attributetype" in ldbm database definition (ignored)
> /home/olli/slapd-ifm0002/config/schemas/core.schema: line 40: unknown
> directive "attributetype" in ldbm database definition (ignored)
> /home/olli/slapd-ifm0002/config/schemas/core.schema: line 45: unknown
> directive "attributetype" in ldbm database definition (ignored)
> /home/olli/slapd-ifm0002/config/schemas/core.schema: line 50: unknown
> directive "attributetype" in ldbm database definition (ignored)
> /home/olli/slapd-ifm0002/config/schemas/core.schema: line 54: unknown
> directive "attributetype" in ldbm database definition (ignored)
> /home/olli/slapd-ifm0002/config/schemas/core.schema: line 58: unknown
> directive "attributetype" in ldbm database definition (ignored)
> /home/olli/slapd-ifm0002/config/schemas/core.schema: line 62: unknown
> directive "attributetype" in ldbm database definition (ignored)
> /home/olli/slapd-ifm0002/config/schemas/core.schema: line 66: unknown
> directive "attributetype" in ldbm database definition (ignored)
> /home/olli/slapd-ifm0002/config/schemas/core.schema: line 70: unknown
> directive "attributetype" in ldbm database definition (ignored)
> /home/olli/slapd-ifm0002/config/schemas/core.schema: line 74: unknown
> directive "attributetype" in ldbm database definition (ignored)
> /home/olli/slapd-ifm0002/config/schemas/core.schema: line 78: unknown
> directive "attributetype" in ldbm database definition (ignored)
> /home/olli/slapd-ifm0002/config/schemas/core.schema: line 84: unknown
> directive "attributetype" in ldbm database definition (ignored)
> /home/olli/slapd-ifm0002/config/schemas/core.schema: line 88: unknown
> directive "attributetype" in ldbm database definition (ignored)
> /home/olli/slapd-ifm0002/config/schemas/core.schema: line 91: unknown
> directive "attributetype" in ldbm database definition (ignored)
> /home/olli/slapd-ifm0002/config/schemas/core.schema: line 94: unknown
> directive "attributetype" in ldbm database definition (ignored)
> /home/olli/slapd-ifm0002/config/schemas/core.schema: line 97: unknown
> directive "attributetype" in ldbm database definition (ignored)
> /home/olli/slapd-ifm0002/config/schemas/core.schema: line 100: unknown
> directive "attributetype" in ldbm database definition (ignored)
> /home/olli/slapd-ifm0002/config/schemas/core.schema: line 103: unknown
> directive "attributetype" in ldbm database definition (ignored)
> /home/olli/slapd-ifm0002/config/schemas/core.schema: line 107: unknown
> directive "attributetype" in ldbm database definition (ignored)
> /home/olli/slapd-ifm0002/config/schemas/core.schema: line 114: expecting
> "requires" or "allows" got "2.5.20.1"
> <oc clause> ::= objectclass <ocname>
> [ requires <attrlist> ]
> [ allows <attrlist> ]
>
>
> And here is my slapd.conf:
> schemacheck on
> pidfile /home/olli/slapd-ifm0002/slapd.pid
> argsfile /home/olli/slapd-ifm0002/slapd.args
> loglevel 1
>
> database ldbm
> include /home/olli/slapd-ifm0002/config/schemas/core.schema
> include /home/olli/slapd-ifm0002/config/schemas/cosine.schema
> include
/home/olli/slapd-ifm0002/config/schemas/inetorgperson.schema
> suffix "o=inTouch GmbH"
> suffix dc=www2,dc=intouch,dc=de
> suffix cn=schema
> rootdn cn="Directory Manager"
> rootpw nix
> directory /home/olli/slapd-ifm0002/db
> lastmod on
> index default pres,eq
> index objectClass,uid
> index cn,sn eq,sub,approx
> access to *
> by dn="cn=Directory Manager" write
> by self write
> by * write
>
> defaultaccess write
>
>
> The ACL is set so wide open so that I can test the server. It will be more
> specified then the server goes online
>
> Can anyone tell me what I have done wrong with the configuration of the
> slapd??? Or why this shitty failure messages appear???
> Can anybody tell me what is wrong with
> Oliver Roeschke
> Integra GmbH
> ITC Offenbach
>
hello,
I don't know if I am right but I suppose that you can't just export your
existant netscape-ldif-file and just import it to openldap-2.0.x. Impossible
because of the unknow objectclasses and attributetype (as you see yourself)
I had to change most of the attributetypes of the existant netscape-ldif-db
that openldap-2.0.x doesn't understand. For example nslicesedfor, mailhost,
maildeliveryoption, etc. There are a lot of changes to do. You can do it
with awk, sed & Co.
I don't know a better method.
But there is a great guy who did the netscape to openldap-1.2.11 migration.
have a look at :
(www.dazert.purespace.de/openldap/migration_result.html)
good luck,
Jan