opendocman icon indicating copy to clipboard operation
opendocman copied to clipboard

Active Directory/LDAP Auth

Open logicalarts opened this issue 13 years ago • 6 comments

Authentication of users via Active Directory/LDAP

logicalarts avatar Apr 28 '12 17:04 logicalarts

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

logicalarts avatar May 03 '12 14:05 logicalarts

Is anyone working on this? I may be interested in helping.

samwilson avatar Oct 24 '13 02:10 samwilson

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.

stephenlawrence avatar Oct 24 '13 04:10 stephenlawrence

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.

noa-appletech avatar Nov 15 '14 19:11 noa-appletech

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.

HyTronix avatar Mar 29 '15 16:03 HyTronix

hello would like to try as well, can you send me your file so i can test it ?

li-web avatar May 26 '15 19:05 li-web