Re: [Zope3-Users] NTLM credential plugin

2006-09-13 Thread Martijn Pieters
On 9/13/06, Simon Hang [EMAIL PROTECTED] wrote: I'm thinging to write a NTLM credential plugin for zope3. But as I know, ntlm use 4-way handshake procedure, that means it needs two round-trips between server(zope3) and client(browser). Have you looked at Zope Corp's zc.winauth package?

[Zope3-Users] Re: NTLM credential plugin

2006-09-13 Thread Philipp von Weitershausen
Martijn Pieters wrote: On 9/13/06, Simon Hang [EMAIL PROTECTED] wrote: I'm thinging to write a NTLM credential plugin for zope3. But as I know, ntlm use 4-way handshake procedure, that means it needs two round-trips between server(zope3) and client(browser). Have you looked at Zope Corp's

Re: [Zope3-Users] Re: NTLM credential plugin

2006-09-13 Thread Martijn Pieters
On 9/13/06, Philipp von Weitershausen [EMAIL PROTECTED] wrote: That's an authenticator plug-in to talk to the Windows directory service, so that users can log into Zope using their Windows logins. Which tells you how much *I* looked at it. ;) The original thread announcing zc.winauth mentioned

[Zope3-Users] Re: NTLM credential plugin

2006-09-13 Thread Philipp von Weitershausen
Simon Hang wrote: Hi, I'm thinging to write a NTLM credential plugin for zope3. But as I know, ntlm use 4-way handshake procedure, that means it needs two round-trips between server(zope3) and client(browser). When I look in the credential plugins, it has challenge mothed. But seems it is

Re: [Zope3-Users] views based on request method (GET, POST, etc.)

2006-09-13 Thread Jan-Wijbrand Kolman
Stephan Richter wrote: On Tuesday 12 September 2006 07:38, Jan-Wijbrand Kolman wrote: But I have the feeling this can be done more elegantly. I did notice something in this direction in zope/app/dav/configure.zcml, but I'm not sure this actually helps. It could be I overlook something very very

[Zope3-Users] Re: views based on request method (GET, POST, etc.)

2006-09-13 Thread Philipp von Weitershausen
Jan-Wijbrand Kolman wrote: Stephan Richter wrote: On Tuesday 12 September 2006 07:38, Jan-Wijbrand Kolman wrote: But I have the feeling this can be done more elegantly. I did notice something in this direction in zope/app/dav/configure.zcml, but I'm not sure this actually helps. It could be I

Re: [Zope3-Users] Re: NTLM credential plugin

2006-09-13 Thread Gary Poster
On Sep 13, 2006, at 2:30 AM, Philipp von Weitershausen wrote: Simon Hang wrote: Hi, I'm thinging to write a NTLM credential plugin for zope3. But as I know, ntlm use 4-way handshake procedure, that means it needs two round-trips between server(zope3) and client(browser). When I look in

Re: [Zope3-Users] Re: NTLM credential plugin

2006-09-13 Thread Philipp von Weitershausen
Gary Poster wrote: On Sep 13, 2006, at 2:30 AM, Philipp von Weitershausen wrote: Simon Hang wrote: Hi, I'm thinging to write a NTLM credential plugin for zope3. But as I know, ntlm use 4-way handshake procedure, that means it needs two round-trips between server(zope3) and

Re: [Zope3-Users] Re: NTLM credential plugin

2006-09-13 Thread Chris McDonough
The right thing to do here is probably to just use something like http://modntlm.sourceforge.net/ and trust the REMOTE_USER environment variable passed by Apache... let somebody else worry about maintaining it. ;-) One strategy for doing this is described at

Re: [Zope3-Users] Re: NTLM credential plugin

2006-09-13 Thread Gary Poster
On Sep 13, 2006, at 11:47 AM, Chris McDonough wrote: The right thing to do here is probably to just use something like http://modntlm.sourceforge.net/ and trust the REMOTE_USER environment variable passed by Apache... let somebody else worry about maintaining it. ;-) One strategy for

[Zope3-Users] runzope gives error in zope.conf

2006-09-13 Thread David Walker
Cant find the cause of this via Google, I hope someone here can help me get Zope running. The error is: C:\Zope3Instance\binrunzope Error: 'formatter' is not a known key name (line 103 in file:/C|/Zope3Instance/etc/zope.conf) For help, use C:\Zope3Instance\bin\runzope h The

[Zope3-Users] viewlets for specific interfaces

2006-09-13 Thread Luis De la Parra
hello, I'm trying to get started with viewlets, but am still having some problems: For example, I have a LeftColumn viewletmanager, where I want to display different infos (viewlets) depending on the object that's being displayed (one viewlet for folders, one for normal files, one for images,

[Zope3-Users] Alternatives to macros

2006-09-13 Thread ksmith93940-dev
I'm investigating alternatives to macros, the following appears to work, but does anyone see anything particularly wrong or limiting with this implementation? Thanks, Kevin Smith app.py class PageView(BrowserView): content = pagetemplate.ViewPageTemplateFile('page.pt')

[Zope3-Users] help ! Zope 3.2.1 won't start any longer !

2006-09-13 Thread catonano
Microsoft Windows XP [Versione 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\Documents and Settings\adrianod: D:\ZopeIstanza\bin\runzope Error: 'formatter' is not a known key name (line 103 in file:/D|/ZopeIstanza/etc/zope.conf) For help, use D:\ZopeIstanza\bin\runzope -h D:\ well,

Re: [Zope3-Users] help ! Zope 3.2.1 won't start any longer !

2006-09-13 Thread Tom Dossis
catonano wrote: Microsoft Windows XP [Versione 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\Documents and Settings\adrianod: D:\ZopeIstanza\bin\runzope Error: 'formatter' is not a known key name (line 103 in file:/D|/ZopeIstanza/etc/zope.conf) For help, use

Re: [Zope3-Users] help ! Zope 3.2.1 won't start any longer !

2006-09-13 Thread catonano
Tom, At 00.57 14/09/2006, Tom Dossis wrote: catonano wrote: Microsoft Windows XP [Versione 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\Documents and Settings\adrianod: D:\ZopeIstanza\bin\runzope Error: 'formatter' is not a known key name (line 103 in