|
Re: Ruby-net-ldap fail: msg#02415ruby-talk
On Fri, Jul 31, 2009 at 2:15 PM, Bruno Sousa<brgsousa@xxxxxxxxx> wrote: > Hi, > I am using ruby-net-ldap to connect to a Active Directory server. > The problem is that it only works for users that are in "Users" > Organization unit. > (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. > Is there a better gem for that? There is a better library, yes. http://ruby-ldap.sourceforge.net/ Ben
|
|
||||||||||||||||||||||||||
| News | Mail Home | sitemap | FAQ | advertise |