Missing crypt support on non-Windows systems
|Reported by:||Owned by:||Matt Good|
From 'man htpasswd' on Linux:
-m Use MD5 encryption for passwords. On Windows, Netware and TPF, this is the default.
-d Use crypt() encryption for passwords. The default on all platforms but Windows, Netware and TPF. Though possibly supported by htpasswd on all platforms, it is not supported by the httpd server on Windows, Netware and TPF.
The attached patch implements system crypt checking in case the existing MD5 check doesn't match the given password.
Tested with Apache 2.2.2, Python 2.4.3, Trac 0.9.6 and AccountManagerPlugin for 0.9.