Ruby/NTLM -- NTLM Authentication Library for Ruby

Build Status

Ruby/NTLM provides message creator and parser for the NTLM authentication.

100% Ruby

How to install

require 'rubyntlm'

Simple Example

Creating NTLM Type 1 message

   t1 =

Parsing NTLM Type 2 message from server

   t2 = Net::NTLM::Message.parse(message_from_server)

Creating NTLM Type 3 message

   t3 = t2.response({:user => 'user', :password => 'passwd'})



  1. Fork it.
  2. Create a branch (git checkout -b my_feature_branch)
  3. Commit your changes (git commit -am "Added a sweet feature")
  4. Push to the branch (git push origin my_feature_branch)
  5. Create a pull requst from your branch into master (Please be sure to provide enough detail for us to cipher what this change is doing)