Patch is for:
20040119.zip
Installation Instructions:
PHP must have been installed with LDAP support, if it's
not you'll get an error. For more information see:
http://us4.php.net/ldap
Unzip files. Run:
$ patch login.php ldap-login.php.patch
$ patch code/config.php ldap-config.php.patch
In code/config.php change
$ldapauth = false; to
$ldapauth = true;
Set $ldaphost to your domain/ldap server. e.g.
foo.cbe.ad.wsu.edu
Set $ldapdom to the domain to login to. e.g. cbe.ad.wsu.edu
Usage:
There are currently some caveats that have to do with
the structure of the program right now, this is kinda
hack-ish. First you have to create all the
users/supporters/admins in the database itself.
However, the only thing that really matters about this
is that their username is the same as their domain
username, and that they're set as the correct class
(user/supporter/admin). Now you should be good to go.
Users should be able to login using their AD or LDAP
account and password.
LDAP Patch
Logged In: YES
user_id=889528
This rocks.... I was hoping for something like this and was
thinking of writing it myself... Can't wait for the chance
to set this up and see it work.
Travis
Logged In: NO
webserver myhelpdesk # patch login.php ldap-login.php.patch
(Stripping trailing CRs from patch.)
patching file login.php
Hunk #1 FAILED at 8.
Hunk #2 FAILED at 37.
Hunk #3 FAILED at 105.
Hunk #5 FAILED at 117.
Hunk #6 FAILED at 127.
Hunk #7 FAILED at 188.
Hunk #8 FAILED at 193.
Hunk #9 FAILED at 199.
Hunk #11 FAILED at 224.
Hunk #12 FAILED at 226.
Hunk #13 FAILED at 241.
Hunk #14 FAILED at 243.
Hunk #15 FAILED at 258.
13 out of 16 hunks FAILED -- saving rejects to file
login.php.rej
????????????
Logged In: YES
user_id=722009
What version of MyHelpdesk are you using? I've tested this
patch on 20040119 and it works fine. Newer versions could
break the patch.