From: michael+sup@stapelberg.de (Michael Stapelberg)
Subject: [sup-talk] [PATCH] GSSAPI support for net/imap.rb and sup
Date: Mon, 20 Jul 2009 14:34:56 +0200 [thread overview]
Message-ID: <1248092732-sup-9960@midna> (raw)
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: <http://rubyforge.org/pipermail/sup-talk/attachments/20090720/9d9a88ec/attachment.obj>
-------------- 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: <http://rubyforge.org/pipermail/sup-talk/attachments/20090720/9d9a88ec/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 03-ruby-gss.patch
Type: application/octet-stream
Size: 2891 bytes
Desc: not available
URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20090720/9d9a88ec/attachment-0002.obj>
next reply other threads:[~2009-07-20 12:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-20 12:34 Michael Stapelberg [this message]
2009-07-27 17:31 ` William Morgan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1248092732-sup-9960@midna \
--to=michael+sup@stapelberg.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox