From: Damjan Rems Date: 2008-10-28T22:43:57+09:00 Subject: Re: LDAP authentication in Windows 2003 AD And then in a desperate attempt (when I was searching for something completly different) I stumbelt upon this: ------------------------------------------ gem install ruby-net-ldap require 'rubygems' require 'net/ldap' ldap = Net::LDAP.new ldap.host = 'mydc' ldap.port = 389 ldap.auth "usr@domain.com", "pwd" if ldap.bind p 'authentication succeeded' else p ' authentication failed' end ------------------------------------------- and it works. by TheR -- Posted via http://www.ruby-forum.com/.