thorin/redmine_ldap_sync — Issue #23: Problem in user sychronization with rake
Author: Emertyl
Created: 2012-02-09 13:40:11+00:00
State: open

Hi all,
I configured a cron job to synchronize LDAP users, but I am getting the following error:
----------
** Invoke redmine:plugins:redmine_ldap_sync:sync_users (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute redmine:plugins:redmine_ldap_sync:sync_users
rake aborted!
interning empty string
/opt/bitnami/apps/redmine/vendor/plugins/ruby-net-ldap-0.0.4/lib/net/ldap/entry.rb:99:in `intern'
/opt/bitnami/apps/redmine/vendor/plugins/ruby-net-ldap-0.0.4/lib/net/ldap/entry.rb:99:in `[]'
/opt/bitnami/apps/redmine/vendor/plugins/redmine_ldap_sync/lib/redmine_ldap_sync/redmine_ext/auth_source_ldap_patch.rb:277:in `renamed_attrs'
/opt/bitnami/apps/redmine/vendor/plugins/redmine_ldap_sync/lib/redmine_ldap_sync/redmine_ext/auth_source_ldap_patch.rb:268:in `ldap_search'
/opt/bitnami/apps/redmine/vendor/plugins/ruby-net-ldap-0.0.4/lib/net/ldap.rb:634:in `search'
/opt/bitnami/apps/redmine/vendor/plugins/ruby-net-ldap-0.0.4/lib/net/ldap.rb:1175:in `search'
/opt/bitnami/apps/redmine/vendor/plugins/ruby-net-ldap-0.0.4/lib/net/ldap.rb:1144:in `loop'
/opt/bitnami/apps/redmine/vendor/plugins/ruby-net-ldap-0.0.4/lib/net/ldap.rb:1144:in `search'
/opt/bitnami/apps/redmine/vendor/plugins/ruby-net-ldap-0.0.4/lib/net/ldap.rb:632:in `search'
/opt/bitnami/apps/redmine/vendor/plugins/redmine_ldap_sync/lib/redmine_ldap_sync/redmine_ext/auth_source_ldap_patch.rb:269:in `ldap_search'
/opt/bitnami/apps/redmine/vendor/plugins/redmine_ldap_sync/lib/redmine_ldap_sync/redmine_ext/auth_source_ldap_patch.rb:239:in `find_all_groups'
/opt/bitnami/apps/redmine/vendor/plugins/redmine_ldap_sync/lib/redmine_ldap_sync/redmine_ext/auth_source_ldap_patch.rb:165:in `groups_changes'
/opt/bitnami/apps/redmine/vendor/plugins/ruby-net-ldap-0.0.4/lib/net/ldap.rb:544:in `open'
/opt/bitnami/apps/redmine/vendor/plugins/redmine_ldap_sync/lib/redmine_ldap_sync/redmine_ext/auth_source_ldap_patch.rb:145:in `groups_changes'
/opt/bitnami/apps/redmine/vendor/plugins/redmine_ldap_sync/lib/redmine_ldap_sync/redmine_ext/auth_source_ldap_patch.rb:15:in `sync_groups'
/opt/bitnami/apps/redmine/vendor/plugins/redmine_ldap_sync/lib/redmine_ldap_sync/redmine_ext/auth_source_ldap_patch.rb:70:in `sync_users'
/opt/bitnami/apps/redmine/vendor/plugins/redmine_ldap_sync/lib/redmine_ldap_sync/redmine_ext/auth_source_ldap_patch.rb:47:in `each'
/opt/bitnami/apps/redmine/vendor/plugins/redmine_ldap_sync/lib/redmine_ldap_sync/redmine_ext/auth_source_ldap_patch.rb:47:in `sync_users'
/opt/bitnami/apps/redmine/vendor/plugins/redmine_ldap_sync/lib/tasks/sync_users.rake:8
/opt/bitnami/apps/redmine/vendor/plugins/redmine_ldap_sync/lib/tasks/sync_users.rake:6:in `each'
/opt/bitnami/apps/redmine/vendor/plugins/redmine_ldap_sync/lib/tasks/sync_users.rake:6
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `call'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `execute'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `each'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `execute'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:158:in `invoke_with_call_chain'
/opt/bitnami/ruby/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:151:in `invoke_with_call_chain'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:144:in `invoke'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:116:in `invoke_task'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `top_level'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `each'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `top_level'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:88:in `top_level'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:66:in `run'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:63:in `run'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/bin/rake:33
/opt/bitnami/ruby/bin/rake:19:in `load'
/opt/bitnami/ruby/bin/rake:19
Tasks: TOP => redmine:plugins:redmine_ldap_sync:sync_users
Synchronizing AuthSource ED Production...
-- Updating user 'cosmos'...
-- Updating user 'manu'...
----------
The fields I tried to synchronize are equally filled in user cosmos and manu.
Any tip about this? Or some more information maybe?

thanks for support!

Laurent