krissi/ruby-smbhash — pull request #1 by jon-mercer (2012-12-04 15:44:21+00:00)
Title: Updated for Ruby 1.9

I needed to use this in Ruby 1.9, so I made the necessary changes. Your project comes up pretty high in google searches related to encrypting Samba passwords in Ruby, so it might be useful to incorporate these changes.