Spent a few hours confused with LDAP and Plone. Intalled Plone LDAP Plugin, configured the instance and activated the plugin.
Users can log in, but then lost their authorization; i.e became unauthenticated/anonymous user.
Everything looks ok. But it's actually not ok.
Here's what I did. This will work with either LDAP Multi or Plone LDAP plugin.
- install python-ldap. Verify we can import ldap
- Installed the ldapuserfolder, ploneldap, ldapmulti in Products folder
- restart zope. Instantiate a Plone LDAp/LDAP multi plugin
- fill in the necessary attributes for LDAP. Note: use uid for "User ID attribute" This was the stumbling block.
- use top,person for User object classes
- activate the plugin especially Authentication
We're done.
Trackback is http://myzope.kedai.com.my/blogs/kedai/196/tbping
You might also have some problems with the order of execution for each enabled LDAP plugins. It becomes really obvious when the Properties plugin doesn't pull out mapped attributes.
I moved plone ldap to the top. But to me, being unauthenticated after login really was frustrating and not knowing what was wrong really make me wanna jump off a cliff :P
Followed your steps but I still cannot authenticate. Culd somene please explain this phrase to me? I am a bit lost.
-use top,person for User object classes
Cheers,
Martin
screenie at http://myzope.kedai.com.my/blogs/kedai/pix/ldap.png
hth
