From: Glen Holcomb Date: 2009-08-04T05:44:22+09:00 Subject: Re: Ruby-net-ldap fail --001636c5b2aa7d70f5047042d57d Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On Mon, Aug 3, 2009 at 12:57 PM, Bruno Sousa wrote: > Ben Bleything wrote: > > On Mon, Aug 3, 2009 at 11:46 AM, Bruno Sousa wrote: > >> I got it working with ruby-ldap. > >> Is it necessary to specify the organization unit? It's working ONLY if= I > >> specify it: > > > > Yes, as mentioned before you need to provide the full path (DN) or > > similar so that the ldap server can find your user. When you don't, > > it assumes you mean ou=3DUsers. > > > > Ben > > Is it a library limitation? Or it really should work like this? > I imagined it should work as when you log in windows computers: > username, passwod and Domain. No need for OUs :) > -- > Posted via http://www.ruby-forum.com/. > > You are forgetting that when you log into a Windows computer you have to specify the domain. That info plus your username become the authentication string. Microsoft just hides it well. --=20 "Hey brother Christian with your high and mighty errand, Your actions speak so loud, I can=92t hear a word you=92re saying." -Greg Graffin (Bad Religion) --001636c5b2aa7d70f5047042d57d--