Re: [Zope] LoginManager dlpierson example

2001-01-31 Thread Fred Yankowski
I just realized that I responded in terms of a PythonMethod when you asked about a PythonScript. My ZClass functions for my LoginManager subclass are all PythonMethods, yet to be converted to Python Scripts. My 'authenticate' method takes (self, password, request) as parameters and has for the

Re: [Zope] LoginManager dlpierson example

2001-01-30 Thread Fred Yankowski
On Wed, Jan 31, 2001 at 09:25:08AM +1300, W. Robert Kellock wrote: Are PythonScript arguments typeless? I keep getting an error Error Type: AttributeError Error Value: 'string' object has no attribute 'password' from the authenticate method which I'm passing self,password. I think

Re: [Zope] LoginManager dlpierson example

2001-01-30 Thread W. Robert Kellock
Thanks Fred, On passing 'request' (why the extra argument anyway?) I got Error Type: TypeErrorError Value: not enough arguments; expected 3, got 2 so I'm wondering have you got LoginManager to work on the Zope 2.3.0 release? On Wed, Jan 31, 2001 at 09:25:08AM +1300, W. Robert Kellock

Re: [Zope] LoginManager, can't get past login form

2001-01-26 Thread Fred Yankowski
Nick, Thank you! Installing the latest ZPatterns did the trick, exactly as you said. EXcellent. But I still wish I had some way to test the pieces of the application, or to at least trace their operation. ZPatterns is a bit too opaque for my taste, particularly given its complexity,

Re: [Zope] LoginManager ...

2001-01-25 Thread mapr
Oops, I have forgotten to ask something: I have heard that GenericUserFolder doesn't work under Zope-2.2.x, is that right ? Thanks Mario On Thu, 25 Jan 2001 [EMAIL PROTECTED] wrote: Hi everybody, I installed LoginManager-0-8-8b1 on Zope-2.2.2 by following the install.-instructions

Re: [Zope] LoginManager with SQL and Skinscript: adding properties to propertysheet propertysheet

2001-01-08 Thread Dan L. Pierson
Aaron Payne [EMAIL PROTECTED] writes: I am following Dan Pierson's How-To SQL LoginManager with SQL and Skinscript. I am not able to add properties. You may have noticed my silence on property sheets... At first, I didn't expect to use them, because I expected only members to edit their

Re: [Zope] LoginManager and Zope 2.3

2001-01-08 Thread Shane Hathaway
Austin Mayberry wrote: Has anyone tried get the LoginManager to work with Zope 2.3a1? When I try the LoginManager product is broken with error message: LoginManager 0.8.6 seems to work fine. 0.8.8b1 tries to use a class in User.py that no longer exists. In fact, it does things that are

Re: [Zope] LoginManager and Zope 2.3

2001-01-08 Thread Austin Mayberry
Since I posted this this morning I have since figured out a way to fix it. The LoginManager was referencing a class in AccessControl/Users.py called Super, but in Zope 2.3 this class is called UnrestrictedUser. This introduced a new error which tracedback to HTTPRequest.py. I know it is

RE: [Zope] LoginManager - logging out

2000-12-21 Thread Mohan Baro
Thank you Mohan. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Bill Anderson Sent: Thursday, December 21, 2000 1:57 PM To: [EMAIL PROTECTED] Subject: Re: [Zope] LoginManager - logging out Mohan Baro wrote: Its just not working for me. I am

Re: [Zope] LoginManager

2000-12-20 Thread Oliver Bleutgen
Impo rtError: No module named DynPersist does the LoginManager dependent from other product of zope? Do you know which product of zope contians "DynPersist"? Reread the instructions for installing ZPatterns, they tell you how to compile Dynpersist.c. cheers, oliver

Re: [Zope] LoginManager - logging out

2000-12-20 Thread Bill Welch
Inspired by Jim Washington's recent post re 'Anonymous user', I was reminded of a previous post in which someone suggested http://garbage:x@yourSite would also clear the browser's credential. Much faster and works in IE and Konqueror, but not Navigator or lynx. Very easy to test, too. first,

RE: [Zope] LoginManager

2000-12-20 Thread Mohan Baro
Where do I get a copy of cPersistance.h? I need it to compile DynPersist.c Mohan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Oliver Bleutgen Sent: Wednesday, December 20, 2000 7:20 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [Zope

RE: [Zope] LoginManager

2000-12-20 Thread Steve Drees
Where do I get a copy of cPersistance.h? I need it to compile DynPersist.c You need to download the Zope src tarball if your going to build ZPatterns. (This note really should be in the installation instructions of ZPatterns.) ___ Zope maillist -

RE: [Zope] LoginManager - logging out

2000-12-20 Thread Bill Welch
Up to this point, I've been talking about mechanisms for you, personally, to log out to switch between developer and user roles for testing. Clearly, these mechanisms aren't appropriate for the users of your site. I think LoginManager isn't the only choice, but I can't say, off hand, what the

RE: [Zope] LoginManager - logging out

2000-12-20 Thread Mohan Baro
: [Zope] LoginManager - logging out Inspired by Jim Washington's recent post re 'Anonymous user', I was reminded of a previous post in which someone suggested http://garbage:x@yourSite would also clear the browser's credential. Much faster and works in IE and Konqueror, but not Navigator

RE: [Zope] LoginManager - logging out

2000-12-20 Thread Oliver Bleutgen
reminded of a previous post in which someone suggested http://garbage:x@yourSite would also clear the browser's credential. Much faster and works in IE and Konqueror, but not Navigator or lynx. Very easy to test, too. Its just not working for me. I am going to try LoginManager +

RE: [Zope] LoginManager - logging out

2000-12-20 Thread Mohan Baro
lto:[EMAIL PROTECTED]]On Behalf Of Oliver Bleutgen Sent: Wednesday, December 20, 2000 1:01 PM To: [EMAIL PROTECTED] Subject: RE: [Zope] LoginManager - logging out reminded of a previous post in which someone suggested http://garbage:x@yourSite would also clear the browser's credential. M

RE: [Zope] LoginManager - logging out

2000-12-20 Thread Oliver Bleutgen
Thanks for the tips: 1)the logout method work with shift+reload in IE (how would clear cached pages from zope?) 2)the dtml-raise type="Unauthorized" method does not allow me to log back in even when I try a redirect to a different page. I am wondering if something is set incorrectly on my

RE: [Zope] LoginManager - logging out

2000-12-19 Thread Mohan Baro
om: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Bill Welch Sent: Monday, December 18, 2000 11:06 AM To: Mohan Baro Cc: [EMAIL PROTECTED] Subject: RE: [Zope] LoginManager - logging out this is my logout DTML method dtml-raise type="Unauthorized" Logout!! /dtml-raise On Mon, 18

Re: [Zope] LoginManager - logging out

2000-12-19 Thread Tim Cook
Mohan Baro wrote: Thanks, I have tried it. dtml-raise type="Unauthorized" Logout!! /dtml-raise I guess it logs me out. But it also gives me a login dialog box it does not accept any of the account. So I cannot log back in! Why? I'm not sure WHY it won't accept your username

Re: [Zope] LoginManager - logging out

2000-12-19 Thread Bill Welch
On Tue, 19 Dec 2000, Tim Cook wrote: Mohan Baro wrote: Thanks, I have tried it. dtml-raise type="Unauthorized" Logout!! /dtml-raise I guess it logs me out. But it also gives me a login dialog box it does not accept any of the account. So I cannot log back in! Why?

RE: [Zope] LoginManager - logging out

2000-12-18 Thread Bill Welch
authentication and that the browser caches the credential. This means unless you shut down your browser, whatever you do, you are back to square one. Besides shutting down your browser, you trash its credential. Create a simple DTML method that raises the 'Unauthorized' exception. Direct your

RE: [Zope] LoginManager - logging out

2000-12-18 Thread Mohan Baro
Can you please give an example of this code or method? Mohan. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Bill Welch Sent: Monday, December 18, 2000 10:14 AM To: [EMAIL PROTECTED] Subject: RE: [Zope] LoginManager - logging out authentication

RE: [Zope] LoginManager - logging out

2000-12-18 Thread Mohan Baro
Where can I get more information on the following methods ( i.e which zope documentation) 1) authenticate() as in dtml-call "AUTHENTICATED_USER.authenticate()" 2) logout() Mohan ___ Zope maillist - [EMAIL PROTECTED]

RE: [Zope] LoginManager - logging out

2000-12-18 Thread Bill Welch
this is my logout DTML method dtml-raise type="Unauthorized" Logout!! /dtml-raise On Mon, 18 Dec 2000, Mohan Baro wrote: Can you please give an example of this code or method? Mohan. ___ Zope maillist - [EMAIL PROTECTED]

RE: [Zope] LoginManager - logging out

2000-12-17 Thread Chalu Kim
No, you are right. It does not work. It is because LM's default login method is Basic. Basic logout does not work because of Basic authentication and that the browser caches the credential. This means unless you shut down your browser, whatever you do, you are back to square one. The remedy is

RE: [Zope] LoginManager - logging out

2000-12-17 Thread Aleksander Salwa
On Sun, 17 Dec 2000, Chalu Kim wrote: No, you are right. It does not work. It is because LM's default login method is Basic. Basic logout does not work because of Basic authentication and that the browser caches the credential. This means unless you shut down your browser, whatever you do,

Re: [Zope] LoginManager and SSL client authentication

2000-12-16 Thread Stefan H. Holek
On Fri, 15 Dec 2000, Mayers, Philip J wrote: We've got a bespoke application for storing our (very large) user account database here. One field a user can have is a crypted unix password (which I'm currently using to authenticate users). The other thing that can exist is the Subject or

Re: [Zope] LoginManager and SSL client authentication

2000-12-15 Thread Ng Pheng Siong
On Fri, Dec 15, 2000 at 11:42:23AM -, Mayers, Philip J wrote: How would I go about making LoginManager authenticate them on the basis of the certificate subject? Apache will validate the certificate for me (by passing a valid CA cert to it's configuration) and I'm running over PCGI, so

Re: [Zope] LoginManager broken?

2000-12-12 Thread Phil Harris
ot; [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, December 11, 2000 8:34 PM Subject: RE: [Zope] LoginManager broken? Thanks, I'll take a look. Re: LoginManager - After a fast turnaround (confirming my ample faith in Open Source software) Magnus Heino pointed me in the right direction -

RE: [Zope] LoginManager broken?

2000-12-12 Thread Mayers, Philip J
problem... Regards, Phil +--+ | Phil Mayers, Network Support | | Centre for Computing Services| | Imperial College | +--+ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent:

Re: [Zope] LoginManager broken?

2000-12-12 Thread Dan L. Pierson
AIL PROTECTED] Sent: Monday, December 11, 2000 8:34 PM Subject: RE: [Zope] LoginManager broken? Thanks, I'll take a look. Re: LoginManager - After a fast turnaround (confirming my ample faith in Open Source software) Magnus Heino pointed me in the right direction - the dtml methods

Re: [Zope] LoginManager broken?

2000-12-11 Thread Dan L. Pierson
You might look at http://www.zope.org/Members/dlpierson/sqlLogin for a different approach that works for me in early testing. Note that it needs additional work before being turned loose on a live site. Dan Pierson "Mayers, Philip J" [EMAIL PROTECTED] writes: Does it even *work*? Even a

Re: [Zope] LoginManager broken?

2000-12-11 Thread Oliver Bleutgen
Does it even *work*? Even a little bit? Because other than repeating the same process 12 damn times, so far I'm not convinced. Maybe I'll look in the source code to see if there's actually anything in the files (other than a HOWTO.txt, which is empty, which BTW is more annoying than there

RE: [Zope] LoginManager broken?

2000-12-11 Thread Mayers, Philip J
December 2000 20:18 To: Mayers, Philip J Cc: '[EMAIL PROTECTED]' Subject: Re: [Zope] LoginManager broken? You might look at http://www.zope.org/Members/dlpierson/sqlLogin for a different approach that works for me in early testing. Note that it needs additional work before being turned loose

Re: [Zope] LoginManager broken?

2000-12-11 Thread Oliver Bleutgen
Well, not 2.2.4 but 2.2.3, and I had some bugs when ehm replace 2.2.3 with 2.2.2 ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

Re: [Zope] LoginManager broken?

2000-12-11 Thread Dan L. Pierson
"Mayers, Philip J" [EMAIL PROTECTED] writes: Thanks, I'll take a look. Re: LoginManager - After a fast turnaround (confirming my ample faith in Open Source software) Magnus Heino pointed me in the right direction - the dtml methods and SQL objects need to be inside the UserSource folder,

Re: [Zope] LoginManager broken?

2000-12-11 Thread Michael Bernstein
"Mayers, Philip J" wrote: Thanks, I'll take a look. Re: LoginManager - After a fast turnaround (confirming my ample faith in Open Source software) Magnus Heino pointed me in the right direction - the dtml methods and SQL objects need to be inside the UserSource folder, *not* the

Re: [Zope] LoginManager Help.

2000-11-26 Thread seb bacon
* Jason C. Leach [EMAIL PROTECTED] [001126 20:46]: hi, So I have LoginManager installed. The easy part. Now I'd like to know how to use it. To start with, I'd like to authenticate against a standard acl_users folder or a plane text file w/ username/passwords in it. OK, I've just

Re: [Zope] LoginManager Help.

2000-11-26 Thread Jason C. Leach
hi, Those instructions got the ball roling. I have not got it going yet, but am getting close. Where do I put my login forms? In the same folder as the acl_users (LoginManager), or inside the acl_users (LoginManager)? I have just taken your example and hard coded a user in for now: def

Re: [Zope] LoginManager Help.

2000-11-26 Thread Jason C. Leach
hi, Also, I'm not sure what this instruction ment: - If you want to log in a user from another page, create a form which posts fields called __ac_name and __ac_password to a method which doesn't have anonymous user access. (see the example loginForm for an example) Thanks, j.

Re: [Zope] LoginManager Help.

2000-11-26 Thread Dirksen
You can gain some enlightenment from these two documents: http://www.zope.org/Members/Zen/GenericUserFolder/walkthrough http://www.zope.org/Members/jok/SQL_based_LoginManager --- "Jason C. Leach" [EMAIL PROTECTED] wrote: hi, So I have LoginManager installed. The easy part. Now I'd like to

Re: [Zope] LoginManager 0.8.8b1 examples/suggestions?

2000-10-25 Thread Jason Byron
--- "Morten W. Petersen" [EMAIL PROTECTED] wrote: [Jason Byron] | Does anyone have any LoginManager 0.8.8b1 example | code? It almost looks like you can extend the system | using plugins, but I don't know how that's done. | Anyone else have luck doing this? If so then do you | have

Re: [Zope] LoginManager - with SQL?

2000-10-13 Thread ed colmar
Has anyone been able to use LoginManager with a SQL db? with or without encryption? I'm still baffled by this how-to: http://www.zope.org/Members/jok/SQL_based_LoginManager In this example, there are dtml-methods that do the work of the UserSource, but there is no retrieveItem? I would

Re: [Zope] LoginManager - with SQL?

2000-10-13 Thread Holger Lehmann
Well we use the UserDbFolder Product after havin the same/similar problems with the LoginManager :-) - Holger Am Fri, 13 Oct 2000 schrieben Sie: Has anyone been able to use LoginManager with a SQL db? with or without encryption? I'm still baffled by this how-to:

Re: [Zope] LoginManager - how does it work?

2000-10-10 Thread ed colmar
Thanks for the help! Still looking for that HOWTO.txt So, now I have a UserSource Installed into my LoginManager. It is called "pgcrypt" and is supposed to authenticate to a SQL database. The password stored in the DB is encryputed using the same scheme. Any ideas why it doesn't let me in?

Re: [Zope] LoginManager - how does it work?

2000-10-08 Thread Aleksander Salwa
On Sat, 7 Oct 2000, ed colmar wrote: I've managed to get loginManager to install, but I am very confused as to what to do with it. I was confused too :) Now I have working instalation of LoginManager-0-8-7a1. It retrieves users' data from ZODB, but it may be helpfull to understand how to

RE: [Zope] LoginManager UserSources

2000-08-02 Thread Wilkinson Charlie E
Title: RE: [Zope] LoginManager UserSources Hi Danny, I don't think the question applies, as you are prettymuch free to build a UserSource to anything you want. Of course, with that freedom comes aggrevation. ;-/ There is ready documentation on the Zope site for interfacing LM to SMB

Re: [Zope] LoginManager UserSources

2000-08-02 Thread Kyler B. Laird
On Wed, 2 Aug 2000 15:13:45 -0400 you wrote: I've gotten it working with Postgres (with crypted passwords no less!) It took me a couple of weeks on and off to finally get that going. Yes, it was painful, especially having no prior experience with GUF (or much experience with Zope, for that

RE: [Zope] LoginManager UserSources

2000-08-02 Thread Wilkinson Charlie E
Title: RE: [Zope] LoginManager UserSources -Original Message- From: Kyler B. Laird [[EMAIL PROTECTED]] On Wed, 2 Aug 2000 15:13:45 -0400 you wrote: I've gotten it working with Postgres (with crypted passwords no less!) It took me a couple of weeks on and off to finally

Re: [Zope] LoginManager / Membership: WTFM (Where's the...)

2000-07-31 Thread Bill Anderson
Danny William Adair wrote: Hi all! I've successfully installed current releases of ZPatterns, LoginManager and "Membership". This Membership product comes up with some nice high level methods / forms for the common procedures, but still doesn't help me with my basic LoginManager

Re: [Zope] LoginManager, User Sources, ...

2000-07-24 Thread Bill Anderson
Wolfgang Klinger wrote: Hi! I searched the archives and found some entries, all concerning the same problem ... I read this: "LoginManager currently comes with a default User Source called Generic User Source (GUS), that is a GUF-like roll-your-own system. It uses

RE:[Zope] LoginManager 0.8.6 on Zope 2.1.6

2000-07-19 Thread Mathias Bengtsson
You need to install the ZPattern package to Zope. You can get it at Zope.org. After that it should work fine /Mathias Bengtsson --Hi there --I tried to install LoginManager 0.8.6 owith Zope 2.1.6 but that failed. Zope --reports: --LoginManager Import Traceback --Traceback (innermost last): --

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: But do you

Re: [Zope] LoginManager HOWTO?

2000-06-14 Thread Cesar A. K. Grossmann
Stuart 'Zen' Bishop wrote: But do you want advanced? If you just want to store your authentication information, UserDB is just fine - moving to GenericUserFolder in this case may just cause you troubles, as more advanced also means more complicated. I need to provide a logon screen more