canweriotnow / rpam-ruby19

PAM auth for Ruby - 1.9 compat version
https://rubygems.org/gems/rpam-ruby19
GNU General Public License v2.0
9 stars 5 forks source link

WEBrick crashes when calling Rpam.auth() #3

Open tboyko opened 12 years ago

tboyko commented 12 years ago

I am calling Rpam.auth() from a Rails 3.2.6 project (Ruby 1.9.3-p125), which is causing WEBrick to crash with the following error:

Trace/BPT trap: 5

In the user class, I am requiring rpam, which has been installed via bundler. Not too much else being done here.

tboyko commented 12 years ago

Tried updating to 3.2.8 and 1.9.3-p194 and am running into the same issue.

Also worth noting: I'm developing on OS X Mountain Lion. I did cp /etc/pam.d/login /etc/pam.d/rpam.

canweriotnow commented 12 years ago

Sorry' haven't had a chance to look at this yet. Will address this weekend. Thanks for pointing out.

tboyko commented 12 years ago

Great, thank you! Let me know if I can provide any additional information.

On Aug 16, 2012, at 11:08 PM, Jason Lewis notifications@github.com wrote:

Sorry' haven't had a chance to look at this yet. Will address this weekend. Thanks for pointing out.

— Reply to this email directly or view it on GitHub.

canweriotnow commented 12 years ago

Getting ready to test on 1.9.3-p194 now... out of curiosity, did you happen to try it on 1.9.2 (most of my production stuff using this is still running on some variety of 1.9.2)?

tboyko commented 12 years ago

I didn't, though it is working with 1.9.3-p194 on Ubuntu. I have a hunch that this is an OS X-related interop issue.

On Aug 20, 2012, at 3:02 PM, Jason Lewis notifications@github.com wrote:

Getting ready to test on 1.9.3-p194 now... out of curiosity, did you happen to try it on 1.9.2 (most of my production stuff using this is still running on some variety of 1.9.2)?

— Reply to this email directly or view it on GitHub.

canweriotnow commented 12 years ago

Ok, it might be Mountain Lion related. I'll likely have to wait until tomorrow to test this, I'm only running Mountain Lion on my work computer, still Snow Leopard at home. I'll still give it a try here, though. :neckbeard: