well basically you'll need to run migrate_base.pl, copy /etc/shadow and
/etc/password to the migration directory, edit both and take out system
users like root, bin, adm, and such, then run migrate_passwd.pl and then
do the same for /etc/group and migrate_groups.pl.
then load them with ldapadd -D "cn=Manager,dc=mdah,dc=state,dc=ms,dc=us"
-w your_password_here -x -v -f file.ldif
first you will need to load a main.ldif however. mine looks like this,
edit it to your name:
[r...@roark ldap]# cat main.ldif
dn: dc=mdah,dc=state,dc=ms,dc=us
objectClass: dcObject
objectclass: organization
o: Mississippi Department or Archives and History
dc: mdah
dn: cn=Manager,dc=mdah,dc=state,dc=ms,dc=us
objectclass: organizationalRole
cn: Manager
André Ribas wrote:
Adam Williams wrote:
In fedora 10 i386:
/usr/share/migrationtools/
[r...@missioncontrol migrationtools]# rpm -qf .
migrationtools-47-2.fc10.noarch
in CentOS 5.x and Fedora 9 its in /usr/share/openldap/migration but
the rpm package name was different, it was part of the OpenLDAP
packages but I don't remember which one.
Hello Adam,
thanks but I'm using Debian 5.0 and I already have the migrationtools
package installed. These migrationtools just create a LDIF file and my
problem is how to add/append them into the LDAP base.