[Date Prev][Date Next] [Chronological] [Thread] [Top]

Migrating from Netscape DS 3.1 to Openldap



Greetings,

I've been trying to import a Netscape Directory Server 3.1 ldif file into
openldap 2.1.21 using this command:

slapadd -v -l ldif_file

I get this error:
slapadd: could not parse entry (line=8)

I've noticed there are some differences with this ldif file and the ldif
format that is commonly recognized.

Are there any utilities to convert a Netscape DS 3.1 ldif file to one that
is recognized by openldap? 

Below are the contents of the first few lines of the ldif_file:

o=Example.com
objectclass=top
objectclass=organization
o=Example.com
aci=(target="ldap:///o=Example.com";) (targetattr = "*")(version 3.0; acl
"Allow self entry modification"; allow (write) userdn = "ldap:///self";;)
aci=(target="ldap:///o=Example.com";) (targetattr != "userPassword") (version
3.0; acl "Anonymous access"; allow (read, search, compare) userdn =
"ldap:///anyone";;)
aci=(target="ldap:///o=Example.com";) (targetattr = "*")(version 3.0; acl
"Suitespot Adminstrators Group"; allow (all) groupdn =
"ldap:///cn=Administrators,o=Example.com";;)

cn=Administrators,o=Example.com
objectclass=top
objectclass=groupofuniquenames
cn=Administrators
uniquemember=uid=admin,o=Example.com

uid=admin,o=Example.com
objectclass=top
objectclass=person
objectclass=organizationalperson
objectclass=inetorgperson
cn=SuiteSpot Administrator
sn=Administrator
givenname=SuiteSpot
uid=admin
userpassword={SHA}+EKIfdhg9r423lAt+dsDepPPDjw4M=

ou=Netscape Servers,o=Example.com
objectclass=top
objectclass=organizationalunit
ou=Netscape Servers

Any insight would helpful.

TIA,
Scott