View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0017228 | mantisbt | authentication | public | 2014-04-16 10:29 | 2014-04-27 07:47 |
Reporter | mach825 | Assigned To | atrol | ||
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Platform | x86 | OS | Windows 2008 R2 | OS Version | Revision 2 |
Product Version | 1.2.17 | ||||
Summary | 0017228: Trying to get Mantis to work with Active Directory | ||||
Description | I have been trying to get Active Directory authentication working with mantis for a little while. My environment is: <?php The log is getting this error I am receiving this error on my web page APPLICATION ERROR #1404 LDAP Extension Not Loaded. Please use the "Back" button in your web browser to return to the previous page. There you can correct whatever problems were identified in this error or select another action. You can also click an option from the menu bar to go directly to a new section. Any help on this would be greatly appreciated. Thank you, | ||||
Steps To Reproduce | Researched the internet to find similar problems. Tried different suggestion from blogs with same results. | ||||
Tags | No tags attached. | ||||
The error would imply it's not finding the LDAP module in php being loaded. Maybe make a new test.php with <?php var_dump( extension_loaded ( 'ldap' ) ); and see whether that returns true or false in your dev/production environments I'm just wondering however, you mention are using windows 2008 R2 - is there a reason you picked apache over IIS? |
|
BTW |
|
I guess the only real reason I selected Apache over IIS is that it is part of the XAMPP package. I wanted something fairly simple. With XAMPP it had everthing in one simple package. If Mantis works better on IIS with Window then I can go that route. |
|
Thanks Atrol, I will make that change. |
|
mach825, This is not a bug or feature request for MantisBT (you are asking for help on how to setup your runtime environment). I am therefore resolving this issue as "no change required". Please use the forums, the mantisbt-help mailing list or IRC to get support on customizing and using MantisBT (refer to http://www.mantisbt.org/support.php for links and further details). You should certainly check what grangeway told you. |
|
Good news I did a complete rebuild of XAMPP on another server with a slightly newer version. Moved a libsasl.dll and I am now getting completely different results. Bad news still not getting logged in.
http://ammadsaleem.blogspot.com/2012/07/enabling-ldap-on-xampp-180-for-active.html |
|
Thanks for your help. Sorry I reported my problem on the wrong system. I can go over to the forums if I don't have it. I think I am very close. I had used a newer version of XAMPP and did the fix I previously wrote about. As far as using Apache or IIS I would guess that this should work equally well with either Webserver. Probably should even work better with Apache as it seems to be a very large base of Mantis users use Linux. Thanks again |
|
Microsoft started doing a lot of work to improve IIS (aka try to get market share from Linux/apache threat) - so they improved PHP support. In any case, IIS vs Apache is a bit like comparing red and green grapes to the person browsing the website. The only thing I would say is where they have their 'web platform' thing now, it's possibly easier to keep on top of security updates with that + IIS then apache+php, and you do get the 'benefit' of having a GUI to poke around some of the config's if text files isn't your thing. However, more IMPORTANTLY: WHAT VERSION OF PHP is in this stack? [According to http://www.php.net/manual/en/ldap.installation.php: "Versions before PHP 4.3.0 additionally require libsasl.dll" - so I'm somewhat concerned you trying to run a something really old (and possibly insecure) if you are hitting issues with that dll being missing. |
|
The version of PHP for XAMPP 1.8.3-3VC11 is PHP version 5.5.11. |
|