Fixes #9494 - Introduce RFC4519 group membership for posix ldap
Requires https://github.com/theforeman/ldap_fluff/pull/88
Steps to reproduce
- Have Foreman
- Have FreeIPA
- Have FreeIPA configured as a type=posix ldap auth source in foreman
- Create a user in FreeIPA
- Create a type=non-posix user group in FreeIPA
- Add user from 4 to group from 5
- Create an external group in foreman, mapping to the group created in 5
- Log into foreman as user from 4
- (as admin in foreman) check that the user is not in the external group
- (as admin in foreman) refresh the external group, see the user is there
- Log out and log in as user from 4
If everything works, the user should still be in the external group.
TODO:
- [x] bump dependency on ldap_fluff
this new flag is to fix a bug, but is that bug common?
I'm afraid I can't reliably answer that. It is an issue for people running 389DS (or derivatives). In theory it shouldn't hurt to leave this turned on, but I'd still rather stay on the safe side
/packit build
Well, it was worth a try. Anyway the packaging pr for bumping the version of ldap_fluff was merged ~an hour ago
@adamruzicka I kicked off https://ci.theforeman.org/job/foreman-nightly-rpm-pipeline/2697/ -- once that passed you should have 0.9.0 available for packit
/packit build
it built :tada:
No actual changes done, just squashed the commits.
Thanks, @adamruzicka, there is nothing from my side except that :robot: :police_officer: is not happy and maybe some of the :copilot: suggestions make sense, mostly for boolean and a new test.
UPD: Although this is confusing, it's just autolink shenanigans in UI (it suggests that this PR is fixing the linked ones :/)
Although this is confusing, it's just autolink shenanigans in UI
Yeah, looks like github can't wrap it's head around my redmine archeology.
I think this is the first time I see where our Redmine issue number links to an actual PR. We may see that be a problem more often in the future.
🍏
@ofedoren mind doing the honors when you think it's good to merge?
@ofedoren mind doing the honors when you think it's good to merge?
That's the third time I'd have pressed the button for this PR. I'd not trust myself, but I'm ready to be shot by "Even AI is better at reviewing" :D
Thanks to everyone involved!