I want to add the pas.plugins.ldap Addon to the backend container of my nginx-volto-plone Docker Setup.
When I add it via the ADDONS environment variable in the compose file, the container doesn't start, because of a missing dependency on plone.app.widgets: ModuleNotFoundError: No module named 'plone.app.widgets
When I also add this addon, there is another dependency that cannot be met: ImportError: cannot import name 'get_ajaxselect_options' from 'plone.app.widgets.utils' (unknown location)
Can someone tell me how to get the ldap Addon working? Maybe it doesn't really need the widgets Addon and i can comment this dependency out somewhere?
It took a while to get the configuration working, but now the LDAP Inspector shows the users and groups.
But somehow when I search for LDAP users in the Users tab, I don't get any results.
Do I need to enable the LDAP source somewhere?
I also cannot login with LDAP users.
Perhaps the order of Authentication Plugins in the acl_user tool is wrong. Go to the ZMI and check the order in the different plugins e.g. User_enumeration, User_adder, Groups Plugins in /acl_users/plugins/manage_plugins
Are you using the official docker image? We had a problem with the trust store in version plone/plone-backend:6.0.11.1.
The plugin would not connect to our openldap server (which uses a Let's Encrypt cert) because it did not have the appropriate root certificate in its trust store. I got a current certificate store from Mozilla, added it to a folder in /app and exported LDAPTLS_CACERT. IIRC that fixed it for me.
Yes, I'm using the official images with the latest 6.0 release.
In our case it can connect, as I already mentioned, but in the 'Users' setting and in the 'Share' page I don't get any results when I search for any LDAP objects.