Giter Club home page Giter Club logo

Comments (7)

thorin avatar thorin commented on August 29, 2024

What's your configuration?
Also, if you are running the latest version of the plugin, have a look at the synchronization output.
It might give you an explanation why the users were locked.

from redmine_ldap_sync.

lgwapnitsky avatar lgwapnitsky commented on August 29, 2024

Which configuration are you specifically looking for?

As for output, here you go:

Output from command /usr/bin/rake -f /usr/share/redmine/Rakefile --silent redmine:plugins:redmine_ldap_sync:sync_users RAILS_ENV=production ..

NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
Gem.source_index called from /usr/share/redmine/config/../vendor/rails/railties/lib/rails/gem_dependency.rb:21.
NOTE: Gem::SourceIndex#initialize is deprecated with no replacement. It will be removed on or after 2011-11-01.
Gem::SourceIndex#initialize called from /usr/share/redmine/config/../vendor/rails/railties/lib/rails/vendor_gem_source_index.rb:100.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /usr/lib/ruby/vendor_ruby/1.8/rubygems/source_index.rb:91.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /usr/lib/ruby/vendor_ruby/1.8/rubygems/source_index.rb:91.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /usr/lib/ruby/vendor_ruby/1.8/rubygems/source_index.rb:91.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /usr/lib/ruby/vendor_ruby/1.8/rubygems/source_index.rb:91.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /usr/lib/ruby/vendor_ruby/1.8/rubygems/source_index.rb:91.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /usr/lib/ruby/vendor_ruby/1.8/rubygems/source_index.rb:91.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /usr/lib/ruby/vendor_ruby/1.8/rubygems/source_index.rb:91.
Please install RDoc 2.4.2+ to generate documentation.
Synchronizing AuthSource WRT AD...
-- Locked user 'rmb'
-- Locked user 'ph_test'
-- Locked user 'jappleton'
-- Updating user 'rmb'...
-- Updating user 'ph_test'...
-- Updating user 'jappleton'...
-> 1 group added
-- Updating user 'lwapnitsky'...

from redmine_ldap_sync.

lgwapnitsky avatar lgwapnitsky commented on August 29, 2024

group base dn = (my base dn that i use for all other ldap sync)
grup attribute name = sAMAccountname
group membership = on the group class
memberid attribute (group) = member
memberid attribute (user) = dn
users objectclass = user
groups objectclass = group
group name pattern =
group search filter = objectClass=group

sync actions

users must be members of:
add users to group:
create new groups: X
create new users:
sync users attributes: X
Attribtues to be synced
First Name - X
Last Name - X
Email - X

from redmine_ldap_sync.

lgwapnitsky avatar lgwapnitsky commented on August 29, 2024

FYI - just changed it to User C lass instead of Member Class and it worked.

from redmine_ldap_sync.

thorin avatar thorin commented on August 29, 2024

I'll keep the ticket open for while to investigate why it didn't work with the member class.
The information you've just provided should be enough.

Thank you for the details.

from redmine_ldap_sync.

thorin avatar thorin commented on August 29, 2024

When you say "just changed it to User C lass instead of Member Class", are you referring to the users objectclass configuration or to the group membership?

From synchronization output it was either detecting the users as disabled or deleted from ldap.

If there was a misconfiguration on the user objectclass that would explain it.

BTW, you can leave the group search filter empty. The plugin already adds objectClass=group to the search filter.

from redmine_ldap_sync.

thorin avatar thorin commented on August 29, 2024

I'll close the issue since it was a misconfiguration.
If you run into more problems, feel free to reopen the this issue.

from redmine_ldap_sync.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.