[Zope-CMF] FW: [Plone-developers] CMFLDAP and personalize_form

Alberto Molina alberto.molina@euroview-spain.com
Fri, 13 Sep 2002 08:41:53 +0200


Hi there,

Can someone have a look at the following message. Apparently it is a CMF
Question. The platform is FreeBSD 4.6.2 with Python 2.1.3.

Regards,

Alberto Molina

> -----Original Message-----
> From: alan runyan [mailto:runyaga@runyaga.com]=20
> Sent: Thursday, September 12, 2002 9:18 PM
> To: Alberto Molina; plone-developers@lists.sourceforge.net
> Subject: Re: [Plone-developers] CMFLDAP and personalize_form
>=20
>=20
> this is a CMF question.. I would ask zope-cmf@zope.org
> once you figure it out please put it on zopelabs.com
>=20
> ----- Original Message -----=20
> From: "Alberto Molina" <alberto.molina@euroview-spain.com>
> To: <plone-developers@lists.sourceforge.net>
> Sent: Thursday, September 12, 2002 12:17 PM
> Subject: [Plone-developers] CMFLDAP and personalize_form
>=20
>=20
> > Hi there:
> >=20
> > I am using LDAPUserFolder and CMFLDAP to authenticate using=20
> an Active=20
> > Directory. The authentication goes fine, but some attributes that I=20
> > have defined in my LDAPUserFolder schema and are mapped to users=20
> > attributes cannot be used.
> >=20
> > For example, I map the LDAP attribue "mail" to "email".=20
> Then, I search=20
> > an user in the Directory in the Mangement Interface, and is=20
> email is=20
> > displayed. If this user logins and goes to Preferences, the email=20
> > address is blank. After some Jens (from "dataflake")=20
> comments, I have=20
> > changed (in personalize_form):
> >=20
> > tal:define=3D"error_email errors/email | nothing;
> >     email request/email|member/email;">
> >=20
> > With:
> >=20
> > tal:define=3D"error_email errors/email | nothing;
> >     email request/email|python:member.getProperty('email');">
> >=20
> > And now, the email appears in the Preferences form. This is=20
> very weird=20
> > (at least for me, a newby). Jens said, literally:
> >=20
> > "...the problem is most likely that the property gets not looked up=20
> > correctly from the member data wrapper."
> >=20
> > Does it make sense to anybody? Can any other part of Plone=20
> be affected=20
> > in a similar way?
> >=20
> > Thanks,
> >=20
> > --
> > Alberto Molina Serna
> > Alhambra Systems, S. A.
> > Grupo Euroview
> > http://www.alhsys.com/
> > Tel.: +34 917872300
> > Fax: +34 917872301
> >=20
> >=20
> > -------------------------------------------------------
> > This sf.net email is sponsored by:ThinkGeek
> > Welcome to geek heaven.
> > http://thinkgeek.com/sf=20
> > _______________________________________________
> > Plone-developers mailing list Plone-developers@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/plone-developers
> >=20
>=20
>=20