Hi Guys, I''ve got a rails application that uses activeldap to authenticate users. Its been working great for about 6 months now, but a user from mexico started using it recently, but can''t seem to login. I''ve narrowed it down to the fact that his password contains a ñ character in it. This problem is also present in a test user account I''ve setup. ActiveLDAP uses ruby/ldap libarary and from what I can tell it fails there as well. I''ve also tried the net-ldap code and it fails there as well. Is seems like a low level encoding issue and I could really use the help to solve it. It looks like everyone of the ruby LDAP libraries are dead in development, so I''m seeking help from a much larger community. Any ideas? Perhaps I need to encode the unicode password or something? Your suggestions are both welcome and really needed. Thanks Everyone, Jim --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Do you guys need more information? Anyone have any ideas? Thanks? On Jun 19, 3:01 pm, jim <jimcfis...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi Guys, > > I''ve got a rails application that uses activeldap to authenticate > users. Its been working great for about 6 months now, but a user from > mexico started using it recently, but can''t seem to login. I''ve > narrowed it down to the fact that his password contains a ñ character > in it. This problem is also present in a test user account I''ve setup. > ActiveLDAP uses ruby/ldap libarary and from what I can tell it fails > there as well. I''ve also tried the net-ldap code and it fails there as > well. Is seems like a low level encoding issue and I could really use > the help to solve it. It looks like everyone of the ruby LDAP > libraries are dead in development, so I''m seeking help from a much > larger community. > > Any ideas? Perhaps I need to encode the unicode password or something? > > Your suggestions are both welcome and really needed. > > Thanks Everyone, > Jim--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Craig White
2008-Jun-20 13:47 UTC
Re: LDAP Authentication fails with ñ character in password.
On Fri, 2008-06-20 at 06:27 -0700, jim wrote:> Do you guys need more information? Anyone have any ideas? Thanks? > > On Jun 19, 3:01 pm, jim <jimcfis...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > Hi Guys, > > > > I''ve got a rails application that uses activeldap to authenticate > > users. Its been working great for about 6 months now, but a user from > > mexico started using it recently, but can''t seem to login. I''ve > > narrowed it down to the fact that his password contains a ñ character > > in it. This problem is also present in a test user account I''ve setup. > > ActiveLDAP uses ruby/ldap libarary and from what I can tell it fails > > there as well. I''ve also tried the net-ldap code and it fails there as > > well. Is seems like a low level encoding issue and I could really use > > the help to solve it. It looks like everyone of the ruby LDAP > > libraries are dead in development, so I''m seeking help from a much > > larger community. > > > > Any ideas? Perhaps I need to encode the unicode password or something? > > > > Your suggestions are both welcome and really needed.---- I''d recommend that you use the forums for ruby/activeldap or contact Will Drewry directly...he will respond if you give him time. http://rubyforge.org/projects/ruby-activeldap/ Craig --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Thanks, I''ll give it a try. On Jun 20, 8:47 am, Craig White <craigwh...-BQ75lA0ptkhBDgjK7y7TUQ@public.gmane.org> wrote:> On Fri, 2008-06-20 at 06:27 -0700, jim wrote: > > Do you guys need more information? Anyone have any ideas? Thanks? > > > On Jun 19, 3:01 pm, jim <jimcfis...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > Hi Guys, > > > > I''ve got a rails application that uses activeldap to authenticate > > > users. Its been working great for about 6 months now, but a user from > > > mexico started using it recently, but can''t seem to login. I''ve > > > narrowed it down to the fact that his password contains a ñ character > > > in it. This problem is also present in a test user account I''ve setup. > > > ActiveLDAP uses ruby/ldap libarary and from what I can tell it fails > > > there as well. I''ve also tried the net-ldap code and it fails there as > > > well. Is seems like a low level encoding issue and I could really use > > > the help to solve it. It looks like everyone of the ruby LDAP > > > libraries are dead in development, so I''m seeking help from a much > > > larger community. > > > > Any ideas? Perhaps I need to encode the unicode password or something? > > > > Your suggestions are both welcome and really needed. > > ---- > I''d recommend that you use the forums for ruby/activeldap or contact > Will Drewry directly...he will respond if you give him time. > > http://rubyforge.org/projects/ruby-activeldap/ > > Craig--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---