Giter Club home page Giter Club logo

Comments (7)

thorin avatar thorin commented on August 29, 2024

The plugin always imports all the users from the branch you configure on the LDAP configuration.
Except for the ones disabled on LDAP.

Yes, domain group should have been created if it didn't exist and all the users should have been added to the domain group.

The groups only are created if any of the created users belongs to them.
With that group regex all the groups starting with OG_ (case sensitive) should have been imported.

What's your ldap server? Is it OpenLDAP? Does the objectClass user has the attribute memberof?

from redmine_ldap_sync.

cforce avatar cforce commented on August 29, 2024

It is novell Ldap and and the group (ObjectClass groupOfNames) attribute for member is "member" and the person (ObjectClass organizationalPerson) attribut for group is "groupMembership"

from redmine_ldap_sync.

thorin avatar thorin commented on August 29, 2024

Ok, that should be the problem.

On the plugin instead of the attribute groupMembership, I'm using the attribute memberof to retrieve the members of the group.
It should be enough to replace that on the file auth_source_ldap_patch.rb.

In the meanwhile I'll make that configurable.

from redmine_ldap_sync.

thorin avatar thorin commented on August 29, 2024

Sorry it should be the other way around.
If I understood correctly, for a group, the attribute member as a listing of all the members.

As so, the attribute memberof should be replaced with member.

from redmine_ldap_sync.

cforce avatar cforce commented on August 29, 2024

However, making thos configurable would be essential.
Tx for ur fast response.

from redmine_ldap_sync.

thorin avatar thorin commented on August 29, 2024

I'll place this as a candidate for the next release. It should be soon next week.

from redmine_ldap_sync.

thorin avatar thorin commented on August 29, 2024

It should now be possible to import from Novell LDAP.
I haven't tested it yet.

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.