[Zope-CMF] Plone & CMFLDAP

Cravoisier Thierry thierry.cravoisier@st.com
Thu, 20 Jun 2002 11:12:44 +0200


Hi all,

I found the problem with the "action" tab of the LDAP portal_membership
tool.
I had to change the "Preferences" action contition to check that a
memberfolder exist.
In the condition area, I wrote:
python: member and portal.portal_membership.getHomeFolder()
instead of:
member

Now it works fine.
Thierry

thierry.cravoisier@st.com wrote:
> 
> Hi all,
> 
> THanks Larry for you input, that's something I forgot to do (roles
> mapping).
> But my concern is with when the "Control creation of member areas" in
> the LDAP Membership tool.
> For this test site people are just authenticated but DO NOT have any
> member area, therefore they should not have access there "preferences"
> or "reconfigure portal" action menu. Am I right ?
> 
> THanks again
> Thierry
> 
> larry_prikockis@natureserve.org wrote:
> >
> > ... you need to go to the portal_membership tool and map the
> > userfolder-supplied (i.e., LDAP) roles to the appropriate CMF roles.
> >
> > I've been playing around with this sort of arrangement for a while, but it's
> > still quirky.  I haven't gotten the chance to write up what I've tried,
> > what's worked, what hasn't etc, but feel free to bounce stuff off me.
> >
> > Of course, my set up has the additional twist that the "LDAP" user source is
> > really our Windows Active Directory server.  Frankly, I'm pleasantly
> > surprised that it works at all, given Microsoft's tendency to deviate from
> > so-called standards :-)
> >
> > > -----Original Message-----
> > > From: Cravoisier Thierry [mailto:thierry.cravoisier@st.com]
> > > Sent: Tuesday, June 18, 2002 11:51 AM
> > > To: Zope CMF Mailing list
> > > Subject: [Zope-CMF] Plone & CMFLDAP
> > >
> > >
> > > Hi all,
> > >
> > > I try to set up Plone + CMFLDAP and I have some strange behaviour I
> > > would like to check with you.
> > >
> > > Authentication is performed through my company central LDAP: It works
> > > fine.
> > > When now I am in a Plone portal (the default one without cutomization)
> > > but just with CMFLDAP set-up, users get authenticated through the LDAP
> > > BUT they are not declared as Member or any other Zope-CMF role.
> > >
> > > DEspite of these settings they have access to the preferences
> > > menu. When
> > > trying to change the preferences they get an error: it sounds normal
> > > since they are not members.
> > >
> > > Did I mis-use the module or did I mis some specific settings ?
> > >
> > > Regards
> > > Thierry
> > >
> > >
> > > _______________________________________________
> > > Zope-CMF maillist  -  Zope-CMF@zope.org
> > > http://lists.zope.org/mailman/listinfo/zope-cmf
> > >
> > > See http://www.zope.org/Products/PTK/Tracker for bug reports
> > > and feature requests
> > >
> >
> > _______________________________________________
> > Zope-CMF maillist  -  Zope-CMF@zope.org
> > http://lists.zope.org/mailman/listinfo/zope-cmf
> >
> > See http://www.zope.org/Products/PTK/Tracker for bug reports and feature requests
> 
> --

> 
> _______________________________________________
> Zope-CMF maillist  -  Zope-CMF@zope.org
> http://lists.zope.org/mailman/listinfo/zope-cmf
> 
> See http://www.zope.org/Products/PTK/Tracker for bug reports and feature requests

--