Closed (fixed)
Project:
HTPasswd Sync
Version:
6.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Apr 2009 at 21:12 UTC
Updated:
11 Jul 2009 at 13:00 UTC
Drupal allows users to change theyr login names. So UID stays as is and name changes. This operation makes avaliable user and password with indifinete lifetime in access files.
Now administrator MUST use Requre group name construction instead of Require valid-user
Please do handle username change or use UID as secondary key.
Comments
Comment #1
m.fu commentedYou are correct, the htpasswd file is update with drupal content, not replaced, this is by design.
I will add an option to overwrite, this will effectively destroy unwanted users and provide the requested behaviour.
Comment #2
fasdalf@fasdalf.ru commentedPlease pay atention. Module's database table also contains obsolete users.
Comment #3
m.fu commentedthis behaviour is currently "by design" I need to keep track of disabled users when trying to synchronize with the file.
But I will implement some cleanup in the cron script.
Comment #4
m.fu commentedComment #5
m.fu commentedthe cron job does cleanup the htpasswdsync table of realy delete users, however you need to activate the htpasswd overwrite feature.
name change are now handled.