[Zope] how to check a user role with data entred by user?

2009-03-05 Thread Dvir Bar-lev
Hi all. I have a question and I hope someone can help me out. I'm new to zope and the all web thing, I'm using zope2. What I did was this, I created a folder in the ZMI and there I created a user folder(acl_users), in the user folder I defined 2 new roles. Now, I have a log in form where

Re: [Zope] how to check a user role with data entred by user?

2009-03-05 Thread Andrew Milton
+---[ Dvir Bar-lev ]-- | Hi all. | | | | I have a question and I hope someone can help me out. | | I?m new to zope and the all web thing, I?m using zope2. | | | | What I did was this, I created a folder in the ZMI and there I created a user | folder(acl_users), in t

Re: [Zope] how to check a user role with data entred by user?

2009-03-05 Thread Dvir Bar-lev
First tx for the reply Andrew. How do I check that the password that was entered is the correct one for that role than? As it is presented in the reply the password of the role and the one that the user entered aren't any consideration at all -Original Message- From: Andrew Milton [mailto:

Re: [Zope] how to check a user role with data entred by user?

2009-03-05 Thread Andrew Milton
+---[ Dvir Bar-lev ]-- | First tx for the reply Andrew. | How do I check that the password that was entered is the correct one for | that role than? | As it is presented in the reply the password of the role and the one | that the user entered aren't any consideration at all

[Zope] fstest reports time-stamp reduction, what does it mean and should I be worried?

2009-03-05 Thread Chris Withers
Hi All, For one customer, I have a secondary storage server that copies repozo backups, restores them and then runs fstest over the restored result once every few hours. (I'd like to move to zeoraid, but it's not quite there yet!) On a few occasions recently, fstest has complained similar to th

[Zope] Zope2 + Twisted

2009-03-05 Thread Peter Sabaini
I'd like to run a Twisted client in Zope 2.10 (for a legacy app). How do I do that? Simply loading twisted.internet is probably not a good idea since Twisted would not work well with ZServer threads, right? One thing I tried was enabling Twisted in zope.conf but that gives me the following stac

[Zope] Reconnection session_data to own Session.fs storage

2009-03-05 Thread Allen Schmidt Sr.
Somehow, and not sure how, our session_data objects got deleted. No one admits doing it so no idea what happened. I recreated the objects with the same IDs and even setup the ZODB mount point to point to the right parts. But our SESSION calls won't write the the separate Session.fs storage and i

Re: [Zope] Zope2 + Twisted

2009-03-05 Thread David Bear
could this be satisficed by putting an apache proxy in front of both zope and twisted? On Thu, Mar 5, 2009 at 6:17 AM, Peter Sabaini wrote: > I'd like to run a Twisted client in Zope 2.10 (for a legacy app). > > How do I do that? Simply loading twisted.internet is probably not a good > idea > si

Re: [Zope] Zope2 + Twisted

2009-03-05 Thread Peter Sabaini
On Thursday 05 March 2009 18:46:33 you wrote: > could this be satisficed by putting an apache proxy in front of both zope > and twisted? No, not really -- I'd like to use a client written on top of Twisted in a Zope product. So, I'd need the twisted reactor and libraries running in the Python VM

Re: [Zope] sending a encrypted login URL

2009-03-05 Thread Dieter Maurer
Joseph Thomas (s) wrote at 2009-3-4 10:29 -0600: >We'd like to construct a zope login URL of the form on another server: >http://zope.domain:port/context/logged_in?__ac_name=uzz&__ac_passwor >d=xxx&submit=Log+in >where the ac_name and ac_password parameters are encrypted using zope >public

Re: [Zope] sending a encrypted login URL

2009-03-05 Thread Joseph Thomas (s)
Thanks, could you elaborate a bit, I'm somewhat new zope/plone: I assume we'd need a shared key on both on ore j2ee server and zope, and did you need to create any changes to Plone PAS? -Original Message- From: Dieter Maurer [mailto:die...@handshake.de] Sent: Thursday, March 05, 2009 1

Re: [Zope] sending a encrypted login URL

2009-03-05 Thread Andreas Jung
On Thu, Mar 5, 2009 at 21:01, Joseph Thomas (s) wrote: > Thanks, could you elaborate a bit, I'm somewhat new zope/plone: > > I assume we'd need a shared key on both on ore j2ee server and zope, and > did you need to create any changes to Plone PAS? > Tres explained it to you. You have to write a

Re: [Zope] fstest reports time-stamp reduction, what does it mean and should I be worried?

2009-03-05 Thread Dieter Maurer
Chris Withers wrote at 2009-3-5 11:28 +: >For one customer, I have a secondary storage server that copies repozo >backups, restores them and then runs fstest over the restored result >once every few hours. >(I'd like to move to zeoraid, but it's not quite there yet!) > >On a few occasions rec

Re: [Zope] Reconnection session_data to own Session.fs storage

2009-03-05 Thread Dieter Maurer
Allen Schmidt Sr. wrote at 2009-3-5 10:34 -0500: >Somehow, and not sure how, our session_data objects got deleted. No one >admits doing it so no idea what happened. >I recreated the objects with the same IDs and even setup the ZODB mount >point to point to the right parts. But our SESSION calls w

Re: [Zope] sending a encrypted login URL

2009-03-05 Thread Dieter Maurer
Joseph Thomas (s) wrote at 2009-3-5 14:01 -0600: >Thanks, could you elaborate a bit, I'm somewhat new zope/plone: > >I assume we'd need a shared key on both on ore j2ee server and zope "EVP" (documented in the *nix man pages) supports both symmetical as well as unsymmetrical encryption. When you u

Re: [Zope] how to check a user role with data entred by user?

2009-03-05 Thread Lennart Regebro
On Thu, Mar 5, 2009 at 09:21, Dvir Bar-lev wrote: > What I did was this, I created a folder in the ZMI and there I created a > user folder(acl_users), in the user folder I definedĀ  2 new roles. > > Now, I have a log in form where the user fills out user name and password, I > want to check if the

Re: [Zope] Zope2 + Twisted

2009-03-05 Thread Lennart Regebro
On Thu, Mar 5, 2009 at 18:59, Peter Sabaini wrote: > So, I'd need the twisted reactor and libraries running in the Python > VM that runs Zope. Which should be no problem except I suspect that I > shouldn't be using the (threaded) ZServer then, because I think that would > mess with twisted (which

Re: [Zope] Zope2 + Twisted

2009-03-05 Thread Peter Sabaini
On Thursday 05 March 2009 23:33:40 you wrote: > On Thu, Mar 5, 2009 at 18:59, Peter Sabaini wrote: > > So, I'd need the twisted reactor and libraries running in the Python > > VM that runs Zope. Which should be no problem except I suspect that I > > shouldn't be using the (threaded) ZServer then,

[Zope] psycopg version mismatch (imported 2.0.6 (dec mx dt ext pq3))

2009-03-05 Thread amol kumbhar
Hi I am using zope 2.10 , python2.4 and psycopg2-2.0.9 . I had created entry in ZIM successfully but while connecting to db it is giving me following error. Please pull me out from this ASAP. An error was encountered while publishing this resource. Error Type: ImportError Error Value: psycopg ve

Re: [Zope] psycopg version mismatch (imported 2.0.6 (dec mx dt ext pq3))

2009-03-05 Thread Andreas Jung
A full traceback is always helpful for getting help. -aj On Fri, Mar 6, 2009 at 06:39, amol kumbhar wrote: > > Hi > > I am using zope 2.10 , python2.4 and psycopg2-2.0.9 . I had created entry in > ZIM successfully but while connecting to db it is giving me following error. > Please pull me out f

Re: [Zope] psycopg version mismatch (imported 2.0.6 (dec mx dt ext pq3))

2009-03-05 Thread Andrew Milton
+---[ amol kumbhar ]-- | | Hi | | I am using zope 2.10 , python2.4 and psycopg2-2.0.9 . I had created entry in | ZIM successfully but while connecting to db it is giving me following error. | Please pull me out from this ASAP. | | An error was encountered while publishing

Re: [Zope] psycopg version mismatch (imported 2.0.6 (dec mx dt ext pq3))

2009-03-05 Thread amol kumbhar
This is my full error Log * Site Error Log at / error_log * Exception traceback Time 2009/03/05 23:09:14.170 GMT+0530 User Name (User Id) admin (admin) Request URL http://localhost:9673/manage_addProdu