RE: [Zope] How do I authenticate through pcgi and win2000 ????

2001-01-16 Thread Dieter Maurer

Max M writes:
  I just wondered if there is an "AUTHENTICATED_USER.authenticate(userName,
  password)" that I could call from a form. And then bypass all that IIS mumbo
  jumbo completely.
  
  Guess I will have to dig the sources.
I fear, you will not have much success with this.

You will habe been rejected ("Unauthorized") before you have
any chance to do something in the request.


Furtunately, there is an easy solution: Use a cookie based user folder.

As IIS almost surely will pass cookies, you have won.

Only problem: people like me do not trust cookies and
may have disabled them.
For such people, there will be no way to log in into your site.


Dieter

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] How do I authenticate through pcgi and win2000 ????

2001-01-15 Thread Max Møller Rasmussen

I have installed zope on port 8080 on a win 2K machine.

It runs nicely, but due to firewalls and other reasons it has to run on port
80. So I have added zope.pcgi etc. to the IIS. And it runs nicely.

But when I try to use a manage page I cannot log in without being a member
of the win2K domain, and that is not feasible in this case. I have tried all
setting, I think.

Is there any way to do it?

Should I make my own authentication page so users can log on through a form?
If so how is this done?

Regards Max M

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] How do I authenticate through pcgi and win2000 ????

2001-01-15 Thread Dieter Maurer

=?iso-8859-1?Q?Max_M=F8ller_Rasmussen?= writes:
  I have installed zope on port 8080 on a win 2K machine.
  
  It runs nicely, but due to firewalls and other reasons it has to run on port
  80. So I have added zope.pcgi etc. to the IIS. And it runs nicely.
  
  But when I try to use a manage page I cannot log in without being a member
  of the win2K domain, and that is not feasible in this case. I have tried all
  setting, I think.
  
  Is there any way to do it?
  
  Should I make my own authentication page so users can log on through a form?
  If so how is this done?
You either access Zope for management purposes on 8080
or you learn how to convince IIS to forward authentication
information. Maybe "doc/WEBSERVER.txt" says something about this
issue.


Dieter

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




RE: [Zope] How do I authenticate through pcgi and win2000 ????

2001-01-15 Thread Max M

I just wondered if there is an "AUTHENTICATED_USER.authenticate(userName,
password)" that I could call from a form. And then bypass all that IIS mumbo
jumbo completely.

Guess I will have to dig the sources.

Regards Max M

Max M. W. Rasmussen,Denmark.   New Media Director
private: [EMAIL PROTECTED] work: [EMAIL PROTECTED]
-
Specialization is for insects.  -  Robert A. Heinlein

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
Dieter Maurer

  I have installed zope on port 8080 on a win 2K machine.
 
  It runs nicely, but due to firewalls and other reasons it has to run on
port
  80. So I have added zope.pcgi etc. to the IIS. And it runs nicely.
 
  But when I try to use a manage page I cannot log in without being a
member
  of the win2K domain, and that is not feasible in this case. I have tried
all
  setting, I think.

You either access Zope for management purposes on 8080
or you learn how to convince IIS to forward authentication
information. Maybe "doc/WEBSERVER.txt" says something about this
issue.


Dieter

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )



___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )