Unable to connect (can't convert Net::LDAP::LdapError into String)
|Assignee:||Jean-Philippe Lang||% Done:|
I have upgraded to the latest version of redmine and have the current version of ruby installed
[root@systems3 log]# gem list --local
- LOCAL GEMS ***
[root@systems3 log]# ruby -v
ruby 1.9.1p376 (2009-12-07 revision 26041) [x86_64-linux]
everything seem to be in order, but i can no longer login to redmine with LDAP authentication...
i get "Unable to connect (can't convert Net::LDAP::LdapError into String)" error.
There is nothing wrong with my ldap servers, and DNS is resolving correctly on my redmine box (systems3)
#3 Updated by Steve von Takach almost 8 years ago
This seems to be a fix:
I pulled the SVN sources in case it had already been fixed, but it was still failing. The problem stems from two places
1) All IO.getc calls need to be replaced with IO.getbyte
2) In 'to_ber_seq_internal', the code "s = self.to_s" no longer works, as Array#to_s has changed to pretty-print
the array contents.
Change self.to_s to self.join
The project otherwise seems to be abandoned - no updates since 2006