Hi all,

is it possbile to import salted md5 password into edirectory?

i'm trying to import users which their password are encripted on
external database.
Password are in form of md5 based crypt(3), such as
$1$salt$encriptedpassword .

i followed instructions on link :
https://www.novell.com/support/kb/doc.php?id=7009858
but LDAP authentication with changed password is unsuccessful.

i produce sample test password such as

Code:
--------------------
edirectory:~/test # openssl passwd -1 -salt 56153c90 password thisistest
$1$56153c90$QO2gmk6UApqBktQ4eyJwf0
$1$56153c90$QKDRX7EvexEFnaBMO4I2d1

--------------------


content of ldif file i used is

Code:
--------------------
edirectory:~/test # cat /root/test/test1.ldif
dn: cn=test1,ou=users,o=mycompany
changetype: modify
replace: userPassword
userPassword: {md5}$1$56153c90$QKDRX7EvexEFnaBMO4I2d1
--------------------


i also tried changin userPassword line as below

Code:
--------------------
userPassword: {crypt}$1$56153c90$QKDRX7EvexEFnaBMO4I2d1
--------------------


ice command i used

Code:
--------------------
ice -v -SLDIF -f /root/test/test1.ldif -DLDAP -s192.168.234.111 -p389 -dcn=admin,ou=users,o=mycompany -w admintestpassword -B -l
--------------------


Regards,
Sadik


--
sadikkilic
------------------------------------------------------------------------
sadikkilic's Profile: https://forums.netiq.com/member.php?userid=10977
View this thread: https://forums.netiq.com/showthread.php?t=54775