logo       

Re: Ruby-net-ldap fail: msg#02417

ruby-talk

Subject: Re: Ruby-net-ldap fail

On Fri, Jul 31, 2009 at 5:22 PM, Ben Bleything<ben@xxxxxxxxxxxxx> wrote:
> On Fri, Jul 31, 2009 at 2:15 PM, Bruno Sousa<brgsousa@xxxxxxxxx> 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.

Google Custom Search

News | Mail Home | sitemap | FAQ | advertise