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

Guido Günther agx at sigxcpu.org
Fri Jun 13 00:46:31 PDT 2008


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.

> 
> > [..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.
Cheers,
 -- Guido
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-make-the-user-parameter-optional.patch
Type: text/x-diff
Size: 2793 bytes
Desc: not available
Url : http://lists.macosforge.org/pipermail/calendarserver-dev/attachments/20080613/0a589656/attachment.bin 


More information about the calendarserver-dev mailing list