I am currently working on getting PMF in my company and we wanted a tight integration with our Active Directory. In order to do so, I had to make some changes. The attached patch works against the current 2.5.0-stable release and does the following:
Code: Select all
* FIX: blank screen, if LDAP-server is unreachable
* adds support for LDAP-datamapping, e.g. against an ADS. --> see inc/dataldap.php
* adds support for multi-domain-authentication, e.g. against an ADS-Global Catalog (users may login with "DOMAIN\username"). --> see inc/dataldap.php
* adds support for php-ldap-options, e.g. for ldap-protocol or referral-handling. see inc/dataldap.php
No interfaces have been made incompatible with the 2.5.0-release, however I had to add an optional field in the Auth-handler to allow the multi-domain-feature.
Please provide feedback, if the patch works in your configuration.
Regards,
Lars