Re: [Zope] GUF error: Unauthorized...

2000-10-27 Thread Zen
On Fri, 20 Oct 2000, Cesar A. K. Grossmann wrote: raised an exception (('Unauthorized', 'crypt', traceback object at The userAuthenticate method is trying to call a method called 'crypt' and failing. Where, and how, is this method defined? If it is implemented in Python code (eg. you added a

RE: [Zope-dev] Logging for ZScheduler?

2000-06-15 Thread Stuart 'Zen' Bishop
On Thu, 15 Jun 2000, Loren Stafford wrote: It would be a good idea if there was a field in the ZEvent that defined the subsystem used in the zLOG call. I didn't follow your point here. By "subsytem" do you mean which logger in the loggers tuple? Then do you mean that different ZEvents

Re: [Zope] LoginManager HOWTO?

2000-06-14 Thread Stuart 'Zen' Bishop
On Tue, 13 Jun 2000, Cesar A. K. Grossmann wrote: "Update (10/30/99): Zen has posted a product that has more functionality than UserDB, called GenericUserFolder. " Well, looks like the GenericUserFolder is more advanced. So I go to its page. In it there are another observation:

Re: [Zope] Login using Certificates

2000-06-14 Thread Stuart 'Zen' Bishop
On Tue, 13 Jun 2000, Alexandre A. Drummond Barroso wrote: I have an installation of Zope as PCGI using Apache to communicate using SSL connections. When Apache starts a CGI (and PCGI) programs, it sets many SSL environment variables, including e-mail and user id. I would like to use this

Re: [Zope-dev] Request for comments: Directory storage

2000-06-12 Thread Stuart 'Zen' Bishop
Work: [EMAIL PROTECTED] Senior Systems Alchemist Play: [EMAIL PROTECTED] Computer Science, RMIT University #!/bin/env python ''' $Id: zouch.py,v 1.3 2000/06/12 04:23:01 zen Exp $ Zouch - the Zope torture tester ''' import whrandom import sha import threading

[Zope] Re: [Zope-dev] possible security flaw? - and, request for a phoneconference.conference.

2000-06-08 Thread Stuart 'Zen' Bishop
On Wed, 7 Jun 2000, Jon Franz wrote: Basically, if a user with manager privileges to a folder changes their password to be empty, then anyone (from permitted domains) can access the management screen for that folder Without Logging On... Zope assumes that you are the user without the

Re: [Zope] Getting a specific user role

2000-06-08 Thread Stuart 'Zen' Bishop
On Thu, 8 Jun 2000, Mabe, Brad wrote: Forgive me if this has been covered before. I am implementing a login/security scheme through the use of GUF and SQL methods. My user and role information is kept in a SQL database and a user can have more than one role assigned to him/her. What I

Re: [Zope] generic user folder 1.2.4

2000-06-08 Thread Stuart 'Zen' Bishop
On Thu, 8 Jun 2000 [EMAIL PROTECTED] wrote: today I have installed Generic user folder 1.2.4 Zope version 2.1.6 redhat 6.1 on apache with zope.cgi Have you installed SiteAccess? I can't think of other products that might cause wierd stuff like this. It would be worth testing with a fresh

Re: [Zope] detail record editing

2000-06-06 Thread Stuart 'Zen' Bishop
documented magic (see http://www.zope.org/Members/Zen/howto/FormVariableTypes when zope.org is working again :-P) Example: form action='itdoesntmatter' method=post input name=afield input type=submit name="delete:method" value=" Delete " input type=submit name="modi

Re: [Zope] Too many Roles?

2000-06-06 Thread Stuart 'Zen' Bishop
On Mon, 5 Jun 2000, David Ornstein wrote: Is it crazy to have 20 or 30 roles in my Zope system? Nah. Note that you need to create roles at a point in the tree, and they then appear and are usable on the management interfaces from that point down. I have to restrict access to resources by

[Zope-dev] ZPHP [was Re: [Zope] CHAT]

2000-06-02 Thread Stuart 'Zen' Bishop
On Thu, 1 Jun 2000, [iso-8859-1] Gonçalo Gomes wrote: Silver_Surfer: how do you see the future of Zope fighting against PHP space on the web? Jim: I don't know much (enough) about PHP, but from what I vaguely know, PHP methods seem like a logical step. Hmm... I'm having to setup a PHP web

Re: [Zope] Form POST Question (and a QUERY_STRING Q.)

2000-06-02 Thread Stuart 'Zen' Bishop
On Thu, 1 Jun 2000, Andrew H. Chatham wrote: You can of course change it all into GET data and just join them together using: '%s=%s' % (url_quote_plus(name), url_quote_plus(data)) and joinging with , in which case you actually can do a redirect, but presumably someone made it POST for a

Re: [Zope] Using sql to search in zope

2000-06-02 Thread Stuart 'Zen' Bishop
On Fri, 2 Jun 2000 [EMAIL PROTECTED] wrote: I tried to build a search feature using sql in zope, this is what I normal do in sql to do a range search : select * from table1 where table1_id = %field1_value% But when I try it with zope, it will become select * from table1 where

Re: [Zope-dev] Z SQL: optional isn't?

2000-05-30 Thread Stuart 'Zen' Bishop
On Mon, 29 May 2000, Kyler B. Laird wrote: This is not the same functionality as is provided by the "optional" attribute. How would I use it with an integer, for example? I don't want a default value; I want the option of not having the value set at all. I like the optional attribute.

Re: [Zope] Zope Chat

2000-05-30 Thread Stuart 'Zen' Bishop
On Wed, 31 May 2000, David Trudgett wrote: At 03:40 2000-05-30 -0600, ethan mindlace fremen wrote: Jim and Paul are going to be availiable for a chat about Zope, Perl Methods, and more. Please join us Wednesday, May 31, 1:00PM EST on irc.openprojects.net , on the #zope channel. Sorry

Re: [Zope-dev] Memory 2.1.4-2.1.6 a.k.a. how to get objects out ofthe cache

2000-05-29 Thread Stuart 'Zen' Bishop
On Sat, 27 May 2000, Eric Sattler wrote: I do see GenericUserFolder and SQLSession objects with the Control_Panel_Debug screen, and they do not seem to go away. I wrote a simple python script to do nothing more than authenticate (log in) using the GenericUserFolder method docLogin. The

[Zope-dev] New GUF (1.2.3)

2000-05-29 Thread Stuart 'Zen' Bishop
I think I've fixed the memory leak identified over the weekend in GUF. This leak may also have caused {SQL,FS}Session to leak through no fault of their own. Could people who are experiencing the problem try out the new version and let me/zope-dev know the results. I'll announce the release on

[Zope] Re: GenericUserFolder Bug

2000-05-29 Thread Stuart 'Zen' Bishop
On Mon, 29 May 2000, Phil Harris wrote: I've found a bug in GenericUserFolder. Basically if you try and do any restriction by domain then it will fail every time. Thanks for the heads up. I've uploaded a patched version to zope.org. -- Stuart Bishop Work: [EMAIL

Re: [Zope-dev] Z SQL: optional isn't?

2000-05-27 Thread Stuart 'Zen' Bishop
On Fri, 26 May 2000, Kyler B. Laird wrote: dtml-sqltest subject type=nb optional dtml-and dtml-sqltest course_nbr type=nb optional dtml-and dtml-sqltest version type=nb optional dtml-and

Re: [Zope-dev] Problems with LoginManager form-based login

2000-05-26 Thread Stuart 'Zen' Bishop
On Wed, 24 May 2000, Phillip J. Eby wrote: This is a problem that apparently can only be solved by replicating ZPublisher's backward walk, which is the wrong thing to do because the traversal will be O(n^2). Bleah. I guess we'll have to do something like Stuart Bishop's backward walk in

Re: [Zope-dev] Session Objects?

2000-05-24 Thread Stuart 'Zen' Bishop
of this as a cached result may be refreshed in one thread but not yet expired in another and can give ambiguous results and unreproducable bugs if you are not aware of it when you are developing. -- ___ // Zen (alias Stuart Bishop) Work: [EMAIL PROTECTED] // E N Senior Systems

Re: [Zope] Feedback Requested: Editor Applet for Zope?

2000-05-24 Thread Stuart 'Zen' Bishop
be bothered implementing their own backend). -- ___ // Zen (alias Stuart Bishop) Work: [EMAIL PROTECTED] // E N Senior Systems Alchemist Play: [EMAIL PROTECTED] //__ Computer Science, RMIT WWW: http://www.cs.rmit.edu.au/~zen