In a previous post I described the necessary steps, to enable integrated windows authentication when working with Mantis on a linux box. These modifications where targeted against the 1.1.0a2 release of Mantis. In the meantime a lot of development has been done on Mantis, so that my original post isn’t quite accurate anymore. This post will enable you to use integrated security with the current 1.2.1 release of Mantis.
While the basic setup is somewhat unchanged, only the file core/authentication_api.php
needs to be changed. The login.php
doesn’t need to be changed anymore, since the functionallity moved to the authentication_api.php
.
I added an updated patchfile to apply the necessary changes to the file.
If you want ntlm + ldap (active directory integration) after appying this patch change in authentication_api.php all HTTP_AUTH to LDAP.
Tested in 1.2.11
@alphaed
+ in /login.php change HTTP_AUTH to LDAP
Is this still working with Mantis 1.2.19 ?
Fankly: I dunno. I’m not using mantis any more. Sry.