current suituatopn: some sites are with access restriction, which is configured in apache to use digest authentication.
the htdigest pw file is userdb, we also have a group file to sort users into certain groups.
The idea was to move to ldap authentication wich slapd and mod_authnz_ldap.
Problem: how can i migrate 50 users from the userdb, wich holds the user, his real and the encryptet password?
As i understodd it, the encryptet password in die htdigest userdb is MD5 enrypted, but uses a hash which includes the realm of the user as well.
so if i write a simple ldif file in form of
where i write as PW the cryptet PW from the htdigest userdb, after the import, this PW won't work, meaning i cant authenticate.
as far as i know, htdigest and htpasswd use MD5 for default.
So, is there any solution to import the users from the htdigest userdb into ldap?
ldap migration-tools won't work as they are only for shadow and passwd files, and are not working with a htdigest userdb because of the entry for the realm.
Just to be clear, the apache setup works, with a user created in phpldapadmin mod_authnz_ldap works fine, my problem ist just the import uf the users into ldap.
Thank you in advance