Ruby NTLM 库
有人有推荐的 Ruby NTLM 库吗?
有 http://rubyforge.org/projects/rubyntlm/ 但尚未触及半响。
更新:我忘了指出我正在寻找客户端库。我想要使用的服务位于 NTLM 后面。
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
根据您的使用情况,rack-ntlm 可能会有用。
我在工作中使用 NTLM 登录 Intranet,但最终我选择使用 winbind 设置 Apache。我使用了本指南 用于导轨集成。
我使用这些指南来配置 winbind, http://wiki.squid-cache.org/ ConfigExamples/Authenticate/WindowsActiveDirectory 和 http://adldap.sourceforge。 net/wiki/doku.php?id=mod_auth_ntlm_winbind。
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.
试试这个宝石
https://rubygems.org/gems/httpi-ntlm
它与 SharePoint 2007 配合得很好2010 年超过 NTLM。
确保在加载 httpi-ntlm 之前未加载
[httpi][1]
gem。否则,将加载 httpi gem 中的 HTTPI 类,并且将找不到 auth.ntlm 方法。Try this gem
https://rubygems.org/gems/httpi-ntlm
It worked well for us with SharePoint 2007 and 2010 over NTLM.
Make sure the
[httpi][1]
gem is not loaded prior to loading httpi-ntlm. Otherwise, the HTTPI class from httpi gem gets loaded and theauth.ntlm
method will not be found.