Active Directory/LDAP Auth
Authentication of users via Active Directory/LDAP
Here is a draft of LDAP auth from a long time ago. Might be something in there salvageable.
https://github.com/logicalarts/odm_full/blob/master/old_opendocman/branches/rel-1-2-p2/opendocman/ldap.inc
Is anyone working on this? I may be interested in helping.
Take a crack at it. You would make lots of people happy. :) Ultimately there should be a new Authentication option in the Admin->Site Settings page for AD, a new include file, and then some work in the index.php to include the AD login if its enabled.
Hello, any progress with LDAP authentication yet? Can we hope for it any time soon? I see this issue/request is open for years. I have installed 1.2.9 but still no LDAP auth available.
It would be important for use in (many!) environments where there is already central identity management.
In case anyone other than Steve is still following this, I have LDAP auth and ODM account creation/sync working in my fork. I've tested against OpenLDAP and AD. Works fine, but obviously more than just me should test.
To do: Make real documentation, add options to installer. Adding to Admin panel isn't necessary with my approach, except maybe for toggling the enable/disable option in the config file. Currently user updates only sync the password, but I can extend that to update all fields easily enough. As Steve mentioned above, I only added a couple lines to index.php to check for ldap_enable and then to run the code from a separate include, ldap-user.inc. If anyone is following still and is game to try, let me know how it goes.
hello would like to try as well, can you send me your file so i can test it ?