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.
user123:database-maintenance:6a9da63cd856408a005b4b58f9c3cb60
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
dn: uid=user123,ou=People,dc=localdomain
objectclass: account
objectclass: simpleSecurityObject
objectclass: top
uid: user123
userpassword: {MD5}$1$d244dR.0$sf8s32h9t5wlZIRa47Agg/
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
Killerloop666