[Zope] Has anyone tried authentication accross multiple serve rs?

Brian Lloyd Brian@digicool.com
Mon, 12 Apr 1999 09:36:00 -0400


> > > I've tried using cookie authentication with UserDB but so far 
> > > can not get it
> > > to work. Everytime I try to login in it presents me with the 
> > > normal basic
> > > authentication header. I believe this maybe something to do 
> > > with permissions
> > > but so far can't figure it out. I am using IIS4 and have 
> > > turned of basic
> > > authentication. 
> > 
> > The first thing to do here is to make sure that it is really 
> > Zope causing the authentication challenge, or if it is IIS4.
> > You need to have _all_ authentication off in IIS and permissions 
> > set to allow "everybody" to run the zope cgi.
> > 
> > Can you log into Zope using the superuser name and password?
> 
> I can log in using the superuser password but any other user 
> gets rejected.
> Restarting the browser makes no difference.

If you turn off cookie authentication, do things work as expected?
If so, be aware that using cookies for authentication is somewhat
flaky - if you are ever authenticated through basic auth, that will
take precedence over cookies from that point on in your browser 
session. The unfortunate fact is that the two methods just dont work
terribly well together - you really want to make sure that users
who use cookie authentication will _only_ use cookie authentication,
not try to switch back and forth.

One method I found useful when dealing w/cookie authentication was
to use two different browsers - for example I would use IE strictly 
for using management screens and NS for looking at end-user (cookie-
authenticated) urls...

Hope this helps!


Brian Lloyd        brian@digicool.com
Software Engineer  540.371.6909              
Digital Creations  http://www.digicool.com