Extras catalogue
ModLDAP
Latest release 10 years ago (January 7, 2016).
modldap
About
This is an LDAP integration for MODX Revolution, branched from ActiveDirectoryRedux (was modActiveDirectory).
LDAP is short for Lightweight Directory Access Protocol and was developed at the University of Michigan around 1993. There are a number of LDAP-enabled servers around, the most common of which is Microsoft’s ActiveDirectory; there’s an open source choice as well, known as OpenLDAP. ModLDAP especially designed for OpenLDAP.
In short: ModLDAP is a new extended modUser (modLDAPUser) with ability to authenticate MODX user against LDAP server.
The source package can be found on Github: https://github.com/lokamaya/ModLDAP
Requirements
- MODX 2.4.x++ (tested). But also should work on MODX version 2.2.2++ or 2.3.x++ (need a feedback)
- PHP 5.x++ with LDAP module enabled. For PHP 5.6 or newer you will need to compile PHP with OpenLDAP 2.4 or newer (for more information see http://php.net/manual/en/ldap.setup.php).
- Any LDAP server to work with, including OpenLDAP and Microsoft Active Directory.
Installation & usage
Installation
- Simply install via Package Management in MODX Revolution Manager page.
- After installing this package, go to System Setting > ModLDAP, change some setting there.
By default, ModLDAP has been disabled. So you have to edit some System Setting first...
Debugging your LDAP
There are 2 step for debugging your LDAP setting:
1. Test your LDAP configuration using plain PHP file provided in assets/components/modldap/_debug.php
- Edit some setting: SECURITY and LDAP CONFIGURATION
- Make sure you edit $_securityVAL = "secretword"; and change it.
- Access that file using your browser: path/to/file/_debug.php?debug=YourSecretWords
- Make sure the connection successful and you get LDAP entries
- Go to System Setting > ModLDAP, and change some setting there that reflect your LDAP configuration
2. Test your ModLDAP setting from MODX using ModLDAPDebug Snippet
- Create a new resource
- Add below code into it
------------------------
[[ModLDAPDebug?
&username=`MyLdapUsername`
&password=`MyLdapPassword`
]]
------------------------
At a glance
MODX 3 compatibility unknown. Based on our testing and community reports where available.
- Developer lokamaya
- Latest release January 7, 2016 (10 years ago)
- First seen in SiteDash January 7, 2016 (10 years ago)
- License GPLv2
- MODX support 2.3 – 100.0
| Changelog | |||
|---|---|---|---|
| MODX.com |
2.4.1-beta3 |
January 7, 2016
10 years ago |
|
|
<p>ModLDAP 2.4.1-beta</p><ul><li>Fix: [OnUserNotFound event] New LDAP user authenticated, created, and logged in</li><li>Fix: ModUSERLdap class</li><li>Add some prop to languages</li></ul>
|
|||
|
No matching releases. |
|||