Actually, my member directory is a stacking directory which has as a
backing directory my ldap members directory and a zodb directory. In the
zodb directory schema I've added a field called "login_time" which is a
CPS date/time field.  Unfortunately, this still doesn't seem to work as
the getProperty method still returns 'none" when I ask for 'login_time' 
Doesn't the stacking directory inherit everything from the backing
directories?


Braun Brelin


> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> Either you're storing it within your LDAP (but you usually don't want to
> do this right ?) either (and it's the best solution) you add a ZODB
> Directory holding the needed portal properties (described by a schema)
> as a backend of your meta directory next to the LDAP).
>
> Cheers,
>
>       J.
>
> Braun Brelin wrote:
>> Hello,
>>
>> I'm running into a problem where users can't authenticate to the CPS
>> portal via the LDAP server.
>>
>> I'm getting errors like:
>>
>> Exception Type       Unauthorized��
>> Exception Value      You are not allowed to access 'setProperties' in this
>> context
>> .
>> .
>> .
>> URL: file:CPSDefault/skins/cps_default/logged_in.pt
>> Line 97, Column 6
>> Expression: <PythonExpr member.setProperties(
>> last_login_time=member.getProperty('login_time', None))>
>>
>>
>> Where is the login_time property set/created?  In plone, it's located in
>> portal_memberdata, but there's no "property" tab in the CPS
>> portal_memberdata tool.
>>
>>
>> Any help appreciated.
>>
>> Thanks,
>>
>> Braun Brelin
>>
>> _______________________________________________
>> cps-users mailing list
>> [email protected]
>> http://lists.nuxeo.com/mailman/listinfo/cps-users
>
>
> - --
> Julien Anguenot | Nuxeo R&D (Paris, France)
> CPS Plateform : http://www.cps-project.org
> mail: anguenot at nuxeo.com; tel: +33 (0) 6 72 57 57 66
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.6 (GNU/Linux)
> Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
>
> iD8DBQFCjMUHGhoG8MxZ/pIRAn5pAJ41oZo2AtjPczl5o/jHvzhu/nZ8IACfTOjw
> DvahO5bxSTeUPHLIvSUesxU=
> =RD6U
> -----END PGP SIGNATURE-----
>

_______________________________________________
cps-users mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/cps-users

Reply via email to