Re: [Zope-PAS] Domainauth

2006-06-22 Thread Zachery Bir
On Jun 22, 2006, at 3:25 AM, Janko Hauser wrote: Hello, I'm trying to setup a domain based authentication. The situation is, that there is already a cookie-based authentication. Additionally we want to enable a direct login for some specific domains. Is this at all possible? I added a

Re: [Zope-PAS] Domainauth

2006-06-22 Thread Janko Hauser
Am 22.06.2006 um 13:48 schrieb Zachery Bir: Woops. Like I said, too long since I played in it. It runs request.getClientAddr(), which does take HTTP_X_FORWARDED_FOR, but only if the default REMOTE_ADDR is in an attribute called `trusted_proxies`. From lib/python/ZPublisher/HTTPRequest.py