[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Migration from Netscape Directory 3.1 to OpenLDAP
Hi, I would like to migrate from a Netscape Directory 3.1 to a OpenLDAP
1.2.11 on a Linux RedHat 7.0 Box, then I followed all steps indicated on
http://www.openldap.org/faq/data/cache/458.html, but when I tested using
ldapsearch -L -h 127.0.0.1 -b "o=un" "(objectclass=*)" I got no results.
What´s wrong?
Thank's in advance
This is the slapd.conf file I use
#include /usr/local/etc/openldap/slapd.at.conf
#include /usr/local/etc/openldap/slapd.oc.conf
include /etc/openldap/netscape.at.conf
include /etc/openldap/netscape.oc.conf
schemacheck on
#referral ldap://root.openldap.org/
pidfile /var/run/slapd.pid
argsfile /var/run/slapd.args
#######################################################################
# ldbm database definitions
#######################################################################
database ldbm
suffix "o=un"
index cn
index sn,uid eq,sub,approx
index default none
rootdn "uid=NSADMIN, o=un"
rootpw {sha}01PiKuNIrrVmDxNqZc==
directory /var/tmp
and this the the ldif file that I convert using ldif2ldbm -i
/etc/openldap/undpcuba.ldif
dn: ou=UNDP, o=UN
objectclass: top
objectclass: organizationalUnit
ou: UNDP
description: United Nations Development Programme
dn: ou=CU, ou=UNDP, o=UN
objectclass: top
objectclass: organizationalUnit
ou: CU
description: UNDP CO in Cuba
dn: uid=maria.rosario.perz, ou=CU, ou=UNDP, o=UN
mail: maria.rosario.perz@undp.org
uid: maria.rosario.perz
givenname: Maria Rosario
sn: Perz
ou: CU
objectclass: nsCalUser
objectclass: mailRecipient
objectclass: top
objectclass: person
objectclass: organizationalPerson
objectclass: inetOrgPerson
objectclass: nsLicenseUser
maildeliveryoption: mailbox
mailhost: mail.cu.undp.org
title: Finance Assistant
nslicensedfor: calendar
nslicensedfor: news
nslicensedfor: slapd
nslicensedfor: netshare
nslicensedfor: compass
nslicensedfor: mail
mailalternateaddress: maria.rosario.perz@undp.org.cu
facsimiletelephonenumber: (537) 26-1536
telephonenumber: (537) 26-1532
mailquota: 50000000
userpassword: {SHA}xFMgzlL6wQ5x0XGXZ4DGTUZ224U=
cn: Maria Rosario Perz
dn: uid=ismelio.gonza, ou=CU, ou=UNDP, o=UN
mail: ismelio.gonza@undp.org
uid: ismelio.gonza
givenname: Ismelio
sn: Gonza
ou: CU
mailhost: mail.cu.undp.org
telephonenumber: (537) 26-1532
objectclass: nsCalUser
objectclass: nsLicenseUser
objectclass: inetOrgPerson
objectclass: organizationalPerson
objectclass: person
objectclass: top
objectclass: mailRecipient
facsimiletelephonenumber: (537) 26-1536
title: LAN Manager and OTC
nslicensedfor: calendar
nslicensedfor: news
nslicensedfor: slapd
nslicensedfor: netshare
nslicensedfor: compass
nslicensedfor: mail
mailalternateaddress: ismelio.gonza@undp.org.cu
maildeliveryoption: mailbox
mailquota: 200000000
userpassword: {SHA}p+EnEJm3sedAz6JbdZzX1sjdV
cn: Ismelio Gonza