Rely on Web Server authentication?

73 views
Skip to first unread message

Marc Fargas

unread,
Sep 21, 2011, 5:48:06 AM9/21/11
to Discuss WsgiDAV
Hi there,

Is it possible for WsgiDAV to not try any means of authentication and
rely on the web server REMOTE_USER header? We use Kerberos which is
handled by apache so if WsgiDAV can get the current user from the
headers that'd rock.

Thanks,
Marc

mar10

unread,
Sep 21, 2011, 3:09:45 PM9/21/11
to wsg...@googlegroups.com
Hey,

without having looked at it too deep, I would think it should be pretty easy to write a custom domain controller that handles it.
The http_authenticator.py uses a WsgiDAVDomainController by default, but you can create for example a KerberosDomainController one and pass it to the domaincontroller=... option in wsgidav.conf.

Samples are NTDomainController or SimpleDomainController (found in http_authenticator.py).

Hope that helps. Let me know, if you get it to run and I add it to the package ;-)
Martin

Marc Fargas

unread,
Sep 21, 2011, 3:14:27 PM9/21/11
to Discuss WsgiDAV
Hey!

On Sep 21, 9:09 pm, mar10 <moo...@wwwendt.de> wrote:
> without having looked at it too deep, I would think it should be pretty easy
> to write a custom domain controller that handles it.

Thanks for the tips, I think I know how to get it to work now.

I'll let you know if I succeed and paste the code in a ticket :)

Marc
Reply all
Reply to author
Forward
0 new messages