Re: [Zope] utf-8 vs. unicode question(s)

2005-05-06 Thread Andreas Jung
--On Freitag, 6. Mai 2005 19:40 Uhr +0200 Jürgen Herrmann <[EMAIL PROTECTED]> wrote: i have set my python default encoding to utf-8, i always send http responses from zope as utf-8 My personal point on changing the default encoding of Python: don't do it (other people will see this different).

Re: [Zope] Is it possible to extend Zopes WebDAV authentication?

2005-05-06 Thread mark hellewell
On 5/6/05, Tino Wildenhain <[EMAIL PROTECTED]> wrote: > Actually, it does not. You have no such thing like a session > when all you have is webdav. I dont know if many dav-clients > store cookies too - it may depend on your usecase. Yes the use-case is Windows Explorer users only. > Without cooki

Re: [Zope] utf-8 vs. unicode question(s)

2005-05-06 Thread Tino Wildenhain
Am Freitag, den 06.05.2005, 19:40 +0200 schrieb Jürgen Herrmann: > hi out there! > > there's been some discussion about utf-8 vs. unicode strings on the > list lately. i'd like to ask if my gained understandings are correct > und thus possibly make it clear to others also. > > i have set my pytho

Re: [Zope] A memory leak in Zope, PageTemplateFile and macros?

2005-05-06 Thread Marco Bizzarri
Dieter Maurer wrote: Marco Bizzarri wrote at 2005-5-5 18:07 +0200: While debugging an application of us I suspected we had a memory leak, so I started with the usual divide et impera approach, trying to figure where exactly was the problem. I tried to reproduce your problem and I used 1.000

Re: [Zope] Is it possible to extend Zopes WebDAV authentication?

2005-05-06 Thread Tino Wildenhain
Am Freitag, den 06.05.2005, 19:26 +0100 schrieb mark hellewell: > On 5/6/05, Dieter Maurer <[EMAIL PROTECTED]> wrote: > > > WebDAV uses "basic HTTP authentication" which should use whatever > > UserFolder you have installed. > > Thanks.. So, I think I should be able to modify the authentication p

Re: [Zope] Is it possible to extend Zopes WebDAV authentication?

2005-05-06 Thread mark hellewell
On 5/6/05, Dieter Maurer <[EMAIL PROTECTED]> wrote: > WebDAV uses "basic HTTP authentication" which should use whatever > UserFolder you have installed. Thanks.. So, I think I should be able to modify the authentication plugin of PUF so that each time a user makes a bad login attempt (either via

[Zope] utf-8 vs. unicode question(s)

2005-05-06 Thread Jürgen Herrmann
hi out there! there's been some discussion about utf-8 vs. unicode strings on the list lately. i'd like to ask if my gained understandings are correct und thus possibly make it clear to others also. i have set my python default encoding to utf-8, i always send http responses from zope as utf-8 (b

Re: [Zope] A memory leak in Zope, PageTemplateFile and macros?

2005-05-06 Thread Dieter Maurer
Marco Bizzarri wrote at 2005-5-5 18:07 +0200: >While debugging an application of us I suspected we had a memory leak, >so I started with the usual divide et impera approach, trying to figure >where exactly was the problem. I tried to reproduce your problem and I used 1.000 requests per round. Mem

Re: [Zope] Is it possible to extend Zopes WebDAV authentication?

2005-05-06 Thread Dieter Maurer
mark hellewell wrote at 2005-5-6 14:44 +0100: >I have a site that uses PluggableUserFolders for its acl_users. >The web-based portion of the login process locks out a user >after 3 unsuccessfull attempts at the password and i'd like to be >able to do something similar for users who try to connect >

Re: [Zope] Debugging product init with zopectl?

2005-05-06 Thread Konrad Rokicki
jcc, I apologize for replying directly, here it is again for a list: > Without debug mode, Zope will start up, but the Product will be broken, > and its failure listed in the Products section of the Control Panel. This would be a decent workaround the lack of logging if it worked. My problem is t

[Zope] Re: Debugging product init with zopectl?

2005-05-06 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Konrad Rokicki wrote: > Hi all, > I'm new to Zope, getting started with the "minimal" project > (http://www.zope.org/Members/maxm/HowTo/minimal_01). For whatever > reason, minimal doesn't work out of the box. That would be fine except > that when I sta

Re: [Zope] Debugging product init with zopectl?

2005-05-06 Thread J Cameron Cooper
Konrad Rokicki wrote: Hi all, I'm new to Zope, getting started with the "minimal" project (http://www.zope.org/Members/maxm/HowTo/minimal_01). For whatever reason, minimal doesn't work out of the box. That would be fine except that when I start Zope with zopectl it reports status as fine and the pr

[Zope] Debugging product init with zopectl?

2005-05-06 Thread Konrad Rokicki
Hi all, I'm new to Zope, getting started with the "minimal" project (http://www.zope.org/Members/maxm/HowTo/minimal_01). For whatever reason, minimal doesn't work out of the box. That would be fine except that when I start Zope with zopectl it reports status as fine and the process runs, but I don'

Re: [Zope] Security framework troubles

2005-05-06 Thread Andreas Jung
--On Freitag, 6. Mai 2005 18:19 Uhr +0200 Anders Bruun Olsen <[EMAIL PROTECTED]> wrote: It works if I do setDefaultAccess("allow"), but I don't want to allow access by default and then just deny for those I know I want to deny access to. I want it the other way around. Why don't you write an acc

[Zope] Security framework troubles

2005-05-06 Thread Anders Bruun Olsen
Hi, I am attempting to make a zope product (a custom book-database for use by my employer) and of course want to secure it. I have added this code to my class: security = ClassSecurityInfo() security.setDefaultAccess("deny") security.declareProtected("View Bookbase", "index_html") securit

Re: [Zope] MySQLdb and unicode

2005-05-06 Thread Andy Dustman
On 5/6/05, robert rottermann <[EMAIL PROTECTED]> wrote: > Hi there, > I have a problem using MySQLdb and unicode. > with older version (0.92) I could set a parameter "unicode" to the > connect() method to tell MySQLdb what charset to use. > > This parameter is not accepted anymore. > The only way

[Zope] Is it possible to extend Zopes WebDAV authentication?

2005-05-06 Thread mark hellewell
Hello! I'd like a little help, please :) I have a site that uses PluggableUserFolders for its acl_users. The web-based portion of the login process locks out a user after 3 unsuccessfull attempts at the password and i'd like to be able to do something similar for users who try to connect via WebD

Re: [Zope] Password Protection

2005-05-06 Thread Jens Vagelpohl
On May 6, 2005, at 2:23 , Phil Beardmore wrote: Hi Guys, still cant get it to work. Is it okay to have multiple ACL_users folders? Basdically I want to grant access to Folder A to all users in one tree of our LDAP server, then grant access to Folder B to all users in another Tree. I can ge

[Zope] Re: Password Protection

2005-05-06 Thread Phil Beardmore
Hi Guys, still cant get it to work. Is it okay to have multiple ACL_users folders? Basdically I want to grant access to Folder A to all users in one tree of our LDAP server, then grant access to Folder B to all users in another Tree. I can get the folder to be password protected, so they nee

Re: [Zope] Password Protection

2005-05-06 Thread Jens Vagelpohl
On May 6, 2005, at 1:26 , Andrew Milton wrote: | > There is nothing you set up to make Zope "use" a user folder. It will | > automatically be consulted. | | As long as the object has an id of "acl_users". And the containing folder has __allow_groups__ attribute set to that user folder. In fa

Re: [Zope] Password Protection

2005-05-06 Thread Jens Vagelpohl
On May 6, 2005, at 1:24 , Andreas Pakulat wrote: There is nothing you set up to make Zope "use" a user folder. It will automatically be consulted. As long as the object has an id of "acl_users". Umh, no. First of all, all user folders have that ID. If not, they are not user folders. Secondly, th

Re: [Zope] Password Protection

2005-05-06 Thread Andrew Milton
+---[ Andreas Pakulat ]-- | On 06.Mai 2005 - 12:44:24, Jens Vagelpohl wrote: | > | > On May 6, 2005, at 12:08 , Phil Beardmore wrote: | > | > >This may be a really simple thing to do (but I'm a bit stuck and searched | > >the web but found no answers). I have a Plone si

Re: [Zope] Password Protection

2005-05-06 Thread Andreas Pakulat
On 06.Mai 2005 - 12:44:24, Jens Vagelpohl wrote: > > On May 6, 2005, at 12:08 , Phil Beardmore wrote: > > >This may be a really simple thing to do (but I'm a bit stuck and searched > >the web but found no answers). I have a Plone site working great. I have > >a > >folder which I wish to pa

Re: [Zope] Password Protection

2005-05-06 Thread Jens Vagelpohl
On May 6, 2005, at 12:08 , Phil Beardmore wrote: This may be a really simple thing to do (but I'm a bit stuck and searched the web but found no answers). I have a Plone site working great. I have a folder which I wish to password protect (and all of the data in the folder). Thing is, I wan

[Zope] Password Protection

2005-05-06 Thread Phil Beardmore
This may be a really simple thing to do (but I'm a bit stuck and searched the web but found no answers). I have a Plone site working great. I have a folder which I wish to password protect (and all of the data in the folder). Thing is, I want to use our LDAP server for authentication. I hav

[Zope] MySQLdb and unicode

2005-05-06 Thread robert rottermann
Hi there, I have a problem using MySQLdb and unicode. with older version (0.92) I could set a parameter "unicode" to the connect() method to tell MySQLdb what charset to use. This parameter is not accepted anymore. The only way to deal with non ascii character I found was setting pythons default

Re: [Zope] Re: xemacs ftp and scripts

2005-05-06 Thread Dave Whiteley
Thanks, magic again. Give yourselves all bug hugs. Dave -- Dave Whiteley [EMAIL PROTECTED] Phone +44 (0)113 343 2059 School of Electronic and Electrical Engineering The University of Leeds. Leeds, LS2 9JT, UK ___ Zope maillist - Zope@zope.org