Well, first download it. Then, uncompress it, preferably with
gunzip -N file.gz. After that, move your new changepass.cgi over to your cgi-bin directory. Frequently, that means /usr/local/httpd/cgi-bin/ or /home/www/cgi-bin. Edit some of the variables in the file to set the ldap host correctly, and make sure that things like $binddn (which appears a few times in the file) are set correctly.
I assume uid=sauer,ou-People,dc=parkland,dc=cc,dc=il,dc=us in the script as it sits, I assume you want to change the $basedn in there somewhere too...
After you've verified that those things are right, set the permissions (probably 0755 would be good), and point your browser at it. Try changing a password, and then try logging in somewhere to see if it worked. Dont' change root's password with this, just because I said so. Sure, it's "possible" - but just remember - I told you not to. :)
|