From: Glen Holcomb Date: 2009-08-01T06:57:24+09:00 Subject: Re: Ruby-net-ldap fail --001636c5b3f62da5e60470078109 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On Fri, Jul 31, 2009 at 3:42 PM, wrote: > On Fri, Jul 31, 2009 at 5:22 PM, Ben Bleything wrote: > > On Fri, Jul 31, 2009 at 2:15 PM, Bruno Sousa wrote: > >> Hi, > >> (See attachment) =3D=3D> it can connect with joe user. But it fails to > >> connect with users from OU "terceiros" for example. > >> > >> why is that? > > > > Likely because the server wants a full DN and ruby-net-ldap is > > assuming ou=3DUsers,dc=3D... behind the scenes. Try to auth using the > > full DN, I'll bet it's going to work. > > In an Active Directory environment you can also use the user's UPN > instead of his DN for the bind username. > > Yep, UPN that's the term I couldn't remember so constructed with written gesticulations. --=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) --001636c5b3f62da5e60470078109--