plone / plone.app.ldap

Plone UI and integration of the functionality provided by LDAPMultiPlugins, LDAPUserFolder and PloneLDAP
3 stars 10 forks source link

Using LDAP authentication in ZMI #23

Closed JorgeMerchan closed 9 years ago

JorgeMerchan commented 9 years ago

Is there a way to use this plugin to authenticate in the ZMI?, for now ZMI only authenticates with the "users" plugin.

mauritsvanrees commented 9 years ago

Short answer, if I understand your question correctly: no.

Long answer:

With the ZMI you mean the ZMI in the Zope root, right? Because if your plone site is at http://localhost:8080/Plone and you have installed plone.app.ldap in it, then visiting http://localhost:8080/Plone/manage_main should bring you to the Plone login form, where LDAP works just fine when correctly configured.

But visiting http://localhost:8080/manage_main in the Zope root would usually trigger a basic authentication popup instead. plone.app.ldap is not available at that level, because it is not installed at that level. You could install plone.app.ldap in the Plone Site and check the changes it does in http://localhost:8080/Plone/acl_users/manage_main. Then you can see if you can manually do those changes in the top level Zope acl_users at http://localhost:8080/acl_users/manage_main. You would not really be using plone.app.ldap then, but its dependencies LDAPMultiPlugins and LDAPUserFolder.