Ruby NTLM Library

Does anyone have a good NTLM library recommended for Ruby?

There is http://rubyforge.org/projects/rubyntlm/ , but it has not been affected after a while.

Refresh . I forgot to indicate that I am looking for a client library. The service I want to use is located behind NTLM.

+3
source share
2 answers

Rack-ntlm might be useful depending on your use .

I use NTLM to log into the intranet at work, but in the end I decided to configure Apache with winbind. I used this guide to integrate rails.

winbind, http://wiki.squid-cache.org/ConfigExamples/Authenticate/WindowsActiveDirectory http://adldap.sourceforge.net/wiki/doku.php?id=mod_auth_ntlm_winbind.

+1

  https://rubygems.org/gems/httpi-ntlm

gem install httpi-ntlm

SharePoint 2007 2010 NTLM.

require 'httpi-ntlm'
request = HTTPI::Request.new("http://example-ntlm-url")
request.auth.ntlm("username", "password")
response = HTTPI.get request
puts response.body

httpi-ntlm , [httpi][1] . HTTPI httpi gem auth.ntlm .

+1

Source: https://habr.com/ru/post/1745039/


All Articles