From: brabuhr@... Date: 2009-08-01T06:42:57+09:00 Subject: Re: Ruby-net-ldap fail 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) ==> 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=Users,dc=... 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.