clampj Posted January 9, 2018 Posted January 9, 2018 Hi I've just re-run an LDAP import after updating an attribute in Active Directory - changing the team that a user is a member of. Upon completion of the import, the user has been added to the new team but not removed from the old team. I was expecting him to be removed from the old team. We are using the latest versions of Service Manager and the LDAP import tool. In the organisation section of the config.json file, i've set the "Action" to "Both" assuming that this would both create a new team membership and update an existing team membership but this doesnt appear to have worked. Can someone advise if this is expected behaviour please? Thanks J
TrevorKillick Posted January 9, 2018 Posted January 9, 2018 @clampj In the Configuration file under "OrgLookup" should be an option "OnlyOneGroupAssignment" set this to true and it will remove any existing memberships so that only one group is associated. https://github.com/hornbill/goLDAPUserImport Kind Regards Trevor Killick
clampj Posted January 12, 2018 Author Posted January 12, 2018 Thank you Trevor. I used the old config file with the new version so I never saw the new fields. All OK now. Thanks J 1
Steve Giller Posted May 17, 2018 Posted May 17, 2018 @TrevorKillick I don't want to have Co-Workers restricted to one group, but I do want the import to be "responsive" - i.e. if someone moves out of the Safeguarding Team (for example) they need to leave that group in Service Manager so they no longer have access to potentially sensitive Services. If I run 2 imports, the first associating to a "Main" group (e.g. Delivery, Support, Facilities etc.) and set OnlyOneGroupAssignment to true, then run a second report with OnlyOneGroupAssignment set to false, will that effectively delete the existing groups on the first import, then update with the additional group on the second (and potentially subsequent) imports?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now