kerberos with urllib2 proof of concept

Tim Olsen tim at brooklynpenguin.com
Mon Jul 7 00:25:27 UTC 2008


> Ok, I finally have a good Kerberos setup going. How do I test your stuff?

I haven't formally released anything yet, but try this:

Install pykerberos.  In debian, the package is python-kerberos

install urllib2_kerberos using easy_install (I've uploaded it to pypi):

easy_install urllib2_kerberos

Then install the hgkerberos extension found at 
http://www.limedav.com/hg/hgkerberos/

On the server, you will need to install mod_auth_kerb.  I recommend 
turning off basic auth when setting things up the first time.

That's just off the top of my head.  Let me know if it doesn't work.  I 
will be working on this more tomorrow.

Cheers,
Tim

> 
> -- 
> Trygve
> 
> 




More information about the Mercurial mailing list