On March 26, 2019 we launched new MODX Forums. Please join us at the new MODX Community Forums.
Subscribe: RSS
  • Refactoring modActiveDirectory and created new ModLDAP package. This new package has been tested against OpenLDAP using ldap (normal) and ldaps (SSL) connection.

    The package can be found on Github: https://github.com/lokamaya/ModLDAP
    Pre Release 2.4.1-alpha: https://github.com/lokamaya/ModLDAP/releases (Tested on my 2.4.2 MODX installation)

    Thanks for testing and feedback
    @zaenal
      zaenal.lokamaya
    • Now available on MODX and can be downloaded via Package Management in MODX Revolution Manager page.
      http://modx.com/extras/package/modldap
        zaenal.lokamaya
      • Does this require that LDAP be enabled in PHP?
          Studying MODX in the desert - http://sottwell.com
          Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
          Join the Slack Community - http://modx.org
        • Yes. LDAP must be enabled.
            zaenal.lokamaya
          • I am trying to use this plugin to let users login in the manager. I tried the debugging as explained in the readme.md and that works perfect, I see an array of all of my Active Directory users of the given OU. But when I configure it in the manager and use the [[!ModLDAPDebug? &username=`bosse1981` &password=`xxx`]] I get a page with empty values. The logging only says:

            [2017-03-20 12:52:02] (INFO @ /core/components/modldap/model/modldap/modldapdriver.class.php : 406) [ModLDAP:Driver] modLDAPDriver initialized...

            What am I doing wrong? I use an AD account in the snippet call (see `bosse1981` above) is that correct? Or is it supposed to be the account that enumerates the ldap objects?
            In the system settings I have a section `modldap` but also a section `modldapuser` with no settings in it. I tried to create settings ldap_bind_username and ldap_bind_password but that does not work. Bind format etc. is the same as in the debug file. [ed. note: bosse1981 last edited this post 2 years, 2 months ago.]
            • Quote from: bosse1981 at Mar 20, 2017, 12:00 PM
              I am trying to use this plugin to let users login in the manager. I tried the debugging as explained in the readme.md and that works perfect, I see an array of all of my Active Directory users of the given OU. But when I configure it in the manager and use the [[!ModLDAPDebug? &username=`bosse1981` &password=`xxx`]] I get a page with empty values. The logging only says:

              [2017-03-20 12:52:02] (INFO @ /core/components/modldap/model/modldap/modldapdriver.class.php : 406) [ModLDAP:Driver] modLDAPDriver initialized...

              What am I doing wrong? I use an AD account in the snippet call (see `bosse1981` above) is that correct? Or is it supposed to be the account that enumerates the ldap objects?
              In the system settings I have a section `modldap` but also a section `modldapuser` with no settings in it. I tried to create settings ldap_bind_username and ldap_bind_password but that does not work. Bind format etc. is the same as in the debug file.

              The same situation(( How did u solve it?