-
Notifications
You must be signed in to change notification settings - Fork 270
Simplify direct nested group processing #7763
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
Can anyone shed some light into the tests? I do not quite understand why they fail. It works for me with AD. |
Hi, please call HTH bye, |
Hi, any idea? |
|
Hi, are you using any bye, |
|
Hi,
What do you think? Thanks |
|
Hi, |
|
Hi @sumit-bose, is anything needed here from my side? |
|
@ondrejv2, could you please rebase on top of latest 'master'? |
|
Hi @alexey-tikhonov, rebased. |
JFTR all platforms fail this test: Taking into account that recent CI run for 'master' branch doesn't have this issue, it is triggered (introduced/uncovered/...) by this PR. Hint: you can run intg-tests locally https://sssd.io/contrib/tests/integration-tests.html -- this will help to debug the issue. |
|
Following: |
Are you building right in working tree? I use https://github.com/SSSD/sssd/blob/master/contrib/fedora/bashrc_sssd#L62 |
|
|
|
I know, will have to figure out why - interesting thing is that intg checks are now all fine |
Those do not run automatically for patches provided by external contributors. I will start it now. |
I mean they did run fine on my system - so guessing they should pass here, too |
|
Just wanted to rebase my past commit |
|
How do you "rebase"? Typically you update local copy of 'master' branch, switch to your branch, and then |
|
I did: Now I see this PR has like 50 commits and 30 participants, making it a decent spam source. |
|
I would try something like:
So idea is to reset your 'groups' branch to mint condition and cherry pick your patches back on top (maybe resolving conflicts if there are any). Maybe this can be done easier, but this should work. |
|
Hello, has this PR any chance for adoption? I would like to come up with some more PR based on this one, but don't want to waste my time if this one is rejected |
|
@sumit-bose is busy this week, so unfortunately this PR will have to wait. |
|
Hi @sumit-bose ,
General question: would you be happy to support this activity? If so, which way you would prefer? |
Hi, what would be the use case of looking up the related object? bye, |
Hi, |
|
Hi, I'm very sorry but I basically forgot about this PR. In general I agree with your approach to just read the object and then determine what type it is. But the way you are doing the attribute name mapping does not match how it is done in other places. There is already code which can handle searches which can return multiple different types of objects. Unfortunately these are dereference searches which can not be easily applied here. To make more clear what I mean I created a small patch at sumit-bose@bb70f43 which adds a new call bye, [1] Yes, this will cause some duplication but this is an issue we already have. |
|
Hello, Anyway, I see the rework would not be really straightforward and I can't work on this PR anymore. |
|
Hi, I created #8127 which contains the unmodified version of your patches surrounded by some of my patches. I wonder if you can test one of the builds from https://copr.fedorainfracloud.org/coprs/packit/SSSD-sssd-8127 to see if it works as expected for you. Thanks bye, |
|
This PR has been superceded by PR #8127 so just added my last work on it - it was never finished attempt to try to actually resolve Foreign Security Principals in Forest trusts. feel free to grab parts of this if you find it useful |
f5d64b3 to
b854636
Compare
Simplifies direct nested group processing - now single LDAP request is needed to parse nested groups
Replaces PR #7596