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

Migrate MD5 passwords to OpenLdap 2.0.x with MigrationTools



Hi,


I've got a big problem to migrate md5 passwords from shadow file to
OpenLdap.

I run OpenLdap 2.0.25 on a gentoo 1.2 distribution and use
MigrationsTools-44 .

My password into shadow file is : $1$s9.9KZi6$yIQDwx0FHTCHTHUX4DTAU1
When migrating it into ldap, userPassword is :
{crypt}$1$s9.9KZi6$yIQDwx0FHTCHTHUX4DTAU1
And Binding doesn't work.
I tryed to change this by {MD5}$1$s9.9KZi6$yIQDwx0FHTCHTHUX4DTAU1, but
it doesn't work too.

So I used GQ (gtk front end to ldap) and and generate the same password
into md5. It given : {MD5}CY9rzUYh03PK3k6DJie09g==
And it works!!!


But what happened? The two md5 passwords seem to doesn't have the same
form composition.



-- 
Frédéric Gaudy	- Gestionnaire NTIC
Communauté de Communes du Thouarsais
4, rue de la trémoille - 79104 THOUARS
TEL : 0549667700
FAX : 0549667701