I want to migrate user from Sun One directory to eDirectory. I export
users from Sun One Directory to ldif, then I modify the ldif file and
import the ldif into eDirectory.
I used ICE to import.like:
ice -S LDIF -f test11.ldf -v -D LDAP -s 192.168.222.33 -p 389 -d
cn=admin,o=services -w novell -l
The ldif file is:
dn: cn=test1,o=testou
changetype: add
objectClass: inetOrgPerson
objectClass: organizationalPerson
objectClass: Person
objectClass: ndsLoginProperties
objectClass: Top
sn: test1
uid: test1
cn: test1
userPassword::
e1NTSEF9Z1NlZG41UGc5YWVwT0RuUXI3VmlqUzFyTmhQWWZBYy 9Lekd6WlE9PQ==

When I run the ice command, their is a notice:
Entry: processing entry: cn=test1,o=testou

Record: 1, modify operation: add: objectClass, dn: cn=test1,o=testou
inetOrgPerson
organizationalPerson
Person
ndsLoginProperties
Top
Record: 1, modify operation: add: sn, dn: cn=test1,o=testou
test1
Record: 1, modify operation: add: uid, dn: cn=test1,o=testou
test1
Record: 1, modify operation: add: cn, dn: cn=test1,o=testou
test1
Record: 1, modify operation: add: userPassword, dn: cn=test1,o=testou
{SSHA}gSedn5Pg9aepODnQr7VijS1rNhPYfAc/KzGzZQ==
adding entry: cn=test1,o=testou
add completed successfully


Total entries processed: 1
Total entries failed: 0
End time: Tue Nov 4 14:19:07 2014

But I can't log in with user test1. The password I don't know.


--
tss_swei
------------------------------------------------------------------------
tss_swei's Profile: https://forums.netiq.com/member.php?userid=8349
View this thread: https://forums.netiq.com/showthread.php?t=52092