[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Web based password changer



Glen Mehn wrote:
Jose Alberto Guzman wrote:


 If you run an ldap backend, I can send you an example php script.



Jose:

would you please?

cheers,

glen




Here it goes, it's an in house script, so don't expect elegancy or cleanliness.


It uses php-cracklib in order to check for good new passwords, for some reason the php4-cracklib module is not included in debian, but it can be built as a deb out of the source package of php4. This involes editing debian/rules to add the configure option --with-crack=/usr in the COMMON_CONFIG section, as well as having _all_ needed *-dev packages installed to compile php4, it's a PITA but it's worth it. There may be an easier way to get the thing built, I just don't know.

In any case, if you don't want to or can't use cracklib, or have a better password checker, the code in the script can be commented out.


 José

<<< text/html; name="index.php_": Unrecognized >>>

<<< text/html; name="passwd.php_": Unrecognized >>>

Reply to: