From mboxrd@z Thu Jan 1 00:00:00 1970 From: michael+sup@stapelberg.de (Michael Stapelberg) Date: Mon, 20 Jul 2009 14:34:56 +0200 Subject: [sup-talk] [PATCH] GSSAPI support for net/imap.rb and sup Message-ID: <1248092732-sup-9960@midna> Hi, since I installed my new mailserver with Kerberos auth only, I needed to implement GSSAPI support for Net::IMAP and sup. I found the C bindings called ruby-gss at: http://devel.it.su.se/pub/jsp/polopoly.jsp?d=1047&a=3790 Using them (and adding the wrap/unwrap methods for a context, see 03-ruby-gss.patch), it was relatively easy to implement GSSAPIAuthenticator (see 02-net_imap-gssapi.patch). The addition of the authenticator to sup is trivial (see 01-sup_gssapi.patch). Here comes the catch: As I?m not very much involved in the ruby community (in fact, this is my first piece of ruby code), I need someone to help me get things upstream (for Net::IMAP in the first place, but someone maintaining ruby-gss would be great). As for the sup patch, I think this already is the right place to post it ;-). Short installation instructions for those not so familiar with ruby: $ cd ruby-gss $ ruby extconf.rb $ make $ sudo make install # patch /usr/lib/ruby/1.8/net/imap.rb # patch /usr/lib/ruby/1.8/sup/imap.rb Best regards, Michael -------------- next part -------------- A non-text attachment was scrubbed... Name: 01-sup_gssapi.patch Type: application/octet-stream Size: 1936 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 02-net_imap_gssapi.patch Type: application/octet-stream Size: 2373 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 03-ruby-gss.patch Type: application/octet-stream Size: 2891 bytes Desc: not available URL: