# Announcing libruby-ntlm

**URL:** <https://www.ruby-forum.com/t/announcing-libruby-ntlm/99208>\
**Category:** Ruby\
**Created:** [January 31, 2006, 1:00am UTC](https://www.ruby-forum.com/t/announcing-libruby-ntlm/99208 "2006-01-31T01:00:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jonathan\_Bastien-Fi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/e480ec/32.png) [@Jonathan\_Bastien-Fi](https://www.ruby-forum.com/u/Jonathan_Bastien-Fi)\
**Post date:** [January 31, 2006, 1:00am UTC](https://www.ruby-forum.com/t/announcing-libruby-ntlm/99208/1 "2006-01-31T01:00:56Z")

</div>

-----BEGIN PGP SIGNED MESSAGE-----  
Hash: SHA1

This Saturday, I spent some time coding an NTLM authentication module.  
It  
can be found on my blog at  
[http://x2a.org/2006/01/29/update-on-schools-internet-access-libntlm-ruby/](http://x2a.org/2006/01/29/update-on-schools-internet-access-libntlm-ruby/).

I am announcing this here in the hope that somebody else might find this  
useful. I am also wondering if there are any patent concerns over NTLM  
authentication; if somebody could enlighten me, I would appreciate it  
very  
much.

Also, I have not found any clean way to integrate NTLM authentication in  
Net::HTTP since the way ISA does authentication is pretty  
ugly/non-standard.

Thank you for your time,  
Jonathan

-----BEGIN PGP SIGNATURE-----  
Version: GnuPG v1.4.1 (GNU/Linux)

iD4DBQFD3qiKt3/zhzyeO3cRAuxBAJwL8/ppVaU5ghrokqqqKeRp7ghwpgCWNHGz  
NInQ+kX1jCvOadOT3uDUuw==  
=jyOc  
-----END PGP SIGNATURE-----

---

<div class="post-metadata">

**Author:** ![Jonathan\_Bastien-Fi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/e480ec/32.png) [@Jonathan\_Bastien-Fi](https://www.ruby-forum.com/u/Jonathan_Bastien-Fi)\
**Post date:** [January 31, 2006, 3:13am UTC](https://www.ruby-forum.com/t/announcing-libruby-ntlm/99208/2 "2006-01-31T03:13:42Z")

</div>

On Tuesday 31 January 2006 09:00 am, Jonathan Bastien-Filiatrault wrote:

> Net::HTTP since the way ISA does authentication is pretty  
> ugly/non-standard.
> 
> Thank you for your time,  
> Jonathan

Intresting, I’ll test out this library on the win2k3 servers. Intresting  
this  
library would help with some apps which I don’t want to create a  
separate  
passwd file each time.

Tsume

---

<div class="post-metadata">

**Author:** ![Jonathan\_Bastien-Fi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/e480ec/32.png) [@Jonathan\_Bastien-Fi](https://www.ruby-forum.com/u/Jonathan_Bastien-Fi)\
**Post date:** [January 31, 2006, 3:34am UTC](https://www.ruby-forum.com/t/announcing-libruby-ntlm/99208/3 "2006-01-31T03:34:48Z")

</div>

On 1/30/06, Jonathan Bastien-Filiatrault [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> much.
> 
> Also, I have not found any clean way to integrate NTLM authentication in  
> Net::HTTP since the way ISA does authentication is pretty  
> ugly/non-standard.
> 
> Thank you for your time,  
> Jonathan

Could this be used with WEBrick to provide a server using NTML  
authentication on Linux?

Regards,  
Jason  
[http://blog.casey-sweat.us/](http://blog.casey-sweat.us/)

---

<div class="post-metadata">

**Author:** ![Jonathan\_Bastien-Fi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/e480ec/32.png) [@Jonathan\_Bastien-Fi](https://www.ruby-forum.com/u/Jonathan_Bastien-Fi)\
**Post date:** [January 31, 2006, 6:49am UTC](https://www.ruby-forum.com/t/announcing-libruby-ntlm/99208/4 "2006-01-31T06:49:51Z")

</div>

-----BEGIN PGP SIGNED MESSAGE-----  
Hash: SHA1

On Mon, January 30, 2006 21:32, Jason Sweat said:

> > useful. I am also wondering if there are any patent concerns over NTLM
> 
> Could this be used with WEBrick to provide a server using NTML  
> authentication on Linux?  
> It only acts as an authentication client for now, I do not plan on  
> making  
> it an authentication provider, as there are _standard_ authentication  
> protocols available. If you want to add that functionality, you have  
> some  
> code in there that may help you and I am willing to accept patches.

Good luck,  
Jonathan

-----BEGIN PGP SIGNATURE-----  
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFD3vpCt3/zhzyeO3cRApbvAJ4vhb085jvZYMPix+Z9YLzdEoIobgCfS/1k  
o2pScd48sp9J9woJompTpzE=  
=vObc  
-----END PGP SIGNATURE-----
