forked from cloudvolumes/rubyntlm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
30 lines (17 loc) · 813 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
= Ruby/NTLM -- NTLM Authentication Library for Ruby
Ruby/NTLM provides message creator and parser for the NTLM authentication.
Some features:
* Independent from non-standard Ruby libraries.
* Supports NTLM and NTLMv2 responses.
== Changes made by CloudVolumes
* Force the domain to be target_name (not sure why this is needed - may be removed)
* UTF8 character encoding for Ruby 1.9 when converting from UTF16
== Simple Example
* Creating NTLM Type 1 message
t1 = NTLM::Message::Type1.new()
* Parsing NTLM Type 2 message from server
t2 = NTLM::Message.parse(message_from_server)
* Creating NTLM Type 3 message
t3 = t2.response({:user => 'user', :password => 'passwd'})
== Support
You can find Ruby/NTLM RubyForge page at http://rubyforge.org/projects/rubyntlm.