net-ssh-kerberos icon indicating copy to clipboard operation
net-ssh-kerberos copied to clipboard

ruby1.9 support

Open sheldonh opened this issue 14 years ago • 11 comments
trafficstars

Hi Joe,

What would be involved in getting this beauty working with ruby1.9? We find your gem extremely useful for kerberized capistrano deploys.

Ciao, Sheldon.

sheldonh avatar Oct 07 '11 08:10 sheldonh

+1 Would really love to use this gem but the 1.9 limitation is a showstopper. Please update.

dljvette avatar Oct 26 '11 22:10 dljvette

It looks like the dl module has a completely different api in ruby 1.9. Pretty much all of the code in kerberos/drivers/gss.rb and sspi.rb would need to be thrown out. The good news for the gss.rb is that it seems that it'd probably be do-able to use the gssapi module, which uses ffi. The downside is that the gssapi maintainer is listing ruby 1.9.1 as the minimum compatible version even though ffi is supposed to work on 1.8.7.

I've taken a stab at adding the necessary support to gss.rb via the gssapi module, but I'm not up to the task with the time I can commit to it right now, but I can certainly help test and fix if someone (Joe?) can lead the way.

pcn avatar Dec 23 '11 17:12 pcn

+1 -- I find myself in sudden need of this.

skandragon avatar Mar 08 '12 09:03 skandragon

If there's someone with the ability to do this, who can't afford to spend time on it, please get in touch. I'm pretty sure I can arrange for the work to be paid by my employer.

sheldonh avatar Apr 19 '12 07:04 sheldonh

+1

stuartc avatar May 09 '12 10:05 stuartc

+1

ndushay avatar May 10 '12 22:05 ndushay

+1

weizhao11 avatar Aug 30 '12 12:08 weizhao11

I also like to use the gem for kerberos env deployment.

weizhao11 avatar Aug 30 '12 12:08 weizhao11

+1

nielslaukens avatar Oct 29 '12 18:10 nielslaukens

I have a fork in cbeer/net-ssh-kerberos that uses the gssapi gem and works under ruby 1.9.

It requires a gssapi gem with this pull request: https://github.com/zenchild/gssapi/pull/13 (currently in cbeer/gssapi).

Once a new version of gssapi is available, I'll send a pull request for net-ssh-kerberos.

cbeer avatar Nov 03 '12 01:11 cbeer

I'm using cbeer's branch of the net-ssh-kerberos gem, and the patched gssapi gem, and I'm failing to authenticate to my remote server. Does anyone have this working, who can guide me?

ljulien avatar Apr 01 '13 16:04 ljulien