Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bz2redmine gives "NameError: uninitialized constant BugzillaToRedmine::Net" due to missing net-ldap gem #13

Open
bogzilla opened this issue Jun 16, 2015 · 1 comment

Comments

@bogzilla
Copy link

bz2redmine fails with a "NameError: uninitialized constant BugzillaToRedmine::Net" when migrating LDAP users from Bugzilla to Redmine, i.e. settings.rb is configured as follows:

  • REDMINE_DEFAULT_AUTH_SOURCE_ID is not nil.
  • REDMINE_LDAP is defined as per your local LDAP settings.

The fix was to edit bz2redmine.rb to require the net-ldap gem, e.g.:
...
require "rubygems"
require "mysql"
require "net/ldap"
...

Could someone please implement this fix?

Thanks!

@bogzilla
Copy link
Author

Of course the net-ldap gem also needs to be installed :) ...

gem install net-ldap

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant