diff -r eb2ba251f093 -r 4b2c7e401065 sobjects/parsers.py --- a/sobjects/parsers.py Mon Feb 14 17:47:15 2011 +0100 +++ b/sobjects/parsers.py Tue Feb 15 23:32:32 2011 +0100 @@ -56,7 +56,10 @@ DEFAULT_CONVERTERS['Interval'] = convert_interval # use a cookie enabled opener to use session cookie if any -_OPENER = urllib2.build_opener(urllib2.HTTPCookieProcessor(CookieJar())) +from logilab.common import urllib2ext +_OPENER = urllib2.build_opener() +_OPENER.add_handler(urllib2ext.HTTPGssapiAuthHandler()) +_OPENER.add_handler(urllib2.HTTPCookieProcessor(CookieJar())) def extract_typed_attrs(eschema, stringdict, converters=DEFAULT_CONVERTERS): typeddict = {}