Random ...
 
December 2017
S M T W T F S
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31            
Tags ...
Links



python+zope++:: LDAP and Plone: Losing authorization
Posted at 31.Jul,2008 11:07  Comments 4 / Trackbacks 0 / Like this post!
Technorati tag(s):

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.


Bookmark and Share

Is this entry helpful? Comments/Donate/Click some google ads.  
Trackback is http://myzope.kedai.com.my/blogs/kedai/196/tbping 

Comments
Yeah LDAP and plone is a bit of a mess

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.

Russell  at 31.Jul,2008 15:17
yeah

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

kedai  at 31.Jul,2008 19:34
Plone_ldap

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

martin  at 08.Aug,2008 16:40
see comment

screenie at http://myzope.kedai.com.my/blogs/kedai/pix/ldap.png

hth

kedai  at 08.Aug,2008 22:02
Post a comment