[CalendarServer-dev] PyKerberos - allow more generic use of authClientGSSWrap

Jelmer Vernooij jelmer at samba.org
Fri Jun 13 07:07:48 PDT 2008


Hi Guido,

Am Freitag, den 13.06.2008, 09:46 +0200 schrieb Guido Günther:
> Hi Jelmer,
> On Thu, Jun 12, 2008 at 11:04:46PM +0200, Jelmer Vernooij wrote:
> > Makes sense; I've attached a patch that does this. Does this look ok?
> I'd rater avoid introducing another function. Does the attached patch
> work for you too? This way we avoid duplicating the rest of the function
> by simply checking if user != NULL. Once we have a nicer API to set the
> encrytion/integrity flags we can then simpli deprecate the 3rd
> parameter.
Yep, I can confirm this patch works as well.
 
> > > [..snip..] 
> > > > > I'd be interested to know what kind of respone buffer you pass
> in in
> > > > > that case.
> > > > I'm implementing RFC2228 (GSSAPI Authentication + Encryption for
> FTP).
> > > > The attached script extends ftplib.FTP to support GSSAPI logins
> and
> > > > provides a very simple command-line FTP client that supports
> GSSAPI
> > > > logins. It needs the patch I attached earlier. Feel free to
> include it
> > > > in pykerberos as example; I can provide it under a different
> license if
> > > > necessary.
> > > This would make a great example indeed!
> > Updated version attached as well, with license changed to apache
> > license.
> Thanks! I've attached the script to trac so hopefully somebody with
> SVN
> commit access will add it soon.
Cool, thanks.

Cheers,

Jelmer

-- 
Jelmer Vernooij <jelmer at samba.org> - http://samba.org/~jelmer/
Jabber: jelmer at jabber.fsfe.org


More information about the calendarserver-dev mailing list