I have an existing .htpasswd which I use within my pmWiki. The Wiki uses this file just fine.
I don't want to use .htusers.php because I don't know the users' passwords.
I tried copying the usernames and passwords to .htusers.php like eg.
$GLOBALS["users"]=array(
array("admin","21232f297a57a5a743894a0e4a801fc3",".","7",1,"",7,1),
array("adduser","aduJEWHBoZK0E",".","7",1,"",7,1),
but no success.
Allthough I set
$password_file=".htprivate";
or
$password_file=".htpasswd";
an renamed the password file in twg/admin/_config/.htusers.php accordingly the login allways fails. I login by klicking on the littel text "login" in the upper right corner.
Example from the .htpasswd:
adduser:aduJEWHBoZK0E
Then I tried to generate a password file with the htpasswd command. I received eg.
tom:{SHA}TL0/TlkR/I7ggJ6v75R0ZL52qhQ=
tom:U3qbvLBsob7J6
depending on which encryption to use.
But all don't work.
It seems as if all my attempts concerning passwords are ignored.
I can add new users with the TWG User Administration twg/admin/index.php. But, as said, this is no option since I want to reuse the existing passwords.
How can I use my existing .htpasswd ?
Can I disable the login ? My users have loged in to the wiki allready.
Thomas