tags:

views:

120

answers:

1

Anyone have a good NTLM library recommend for Ruby?

There is http://rubyforge.org/projects/rubyntlm/ but it has not been touched in quite a while.

Update: I forgot to point out that I am looking for a client library. The service I want to use sits behind NTLM.

A: 

Depending on your use maybe rack-ntlm could be useful.

I use NTLM for login at the intranet at work but I ended up going with setting up Apache with winbind. I used this guide for the rails intregration.

I used these guides for configuration winbind, http://wiki.squid-cache.org/ConfigExamples/Authenticate/WindowsActiveDirectory and http://adldap.sourceforge.net/wiki/doku.php?id=mod_auth_ntlm_winbind.

ba
Thanks for the tips. I should have been more clear in my original question that I was looking for a library to help authenticate against an existing NTLM server (client authentication instead of server authentication).
Scott Watermasysk
The rubyntlm gem above has a client auth example in the download. Look in examples/http.rbSet the $user, $passwd, $host and $port vars to see if you can access it :) Also has examples for imap/smtp.
ba