Skip to content
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

Fix compilation build in sssd-2-8 branch #7211

Closed
wants to merge 1 commit into from

Conversation

ikerexxe
Copy link
Contributor

04c0279 broke the compilation and porting this change will fix it.

struct sdap_search_base includes the DN as a string. To better
compare the DNs it is better to use a struct ldb_dn, in addition to
the string.

The struct ldb_dn also needs to keep the associated struct ldb_context,
so we are also storing it in the structure.

Resolves: SSSD#5708

Reviewed-by: Sumit Bose <sbose@redhat.com>
Reviewed-by: Tomáš Halman <thalman@redhat.com>
(cherry picked from commit cfc591d)
@ikerexxe
Copy link
Contributor Author

CC'ing @alexey-tikhonov @sumit-bose

Sumit already checked that this commit doesn't have any unwanted side-effects.

@alexey-tikhonov alexey-tikhonov added the no-backport This should go to target branch only. label Feb 22, 2024
@alexey-tikhonov
Copy link
Member

f-40/f-41 are failing with:

configure: error: Cannot determine Samba's idmap interface version, please use --with-smb-idmap-interface-version

due to missing 1bf5192 , but that's probably ok as we aren't going to use sssd-2.8 at those platforms...

@alexey-tikhonov
Copy link
Member

Covscan failed due to the same reason.

@ikerexxe
Copy link
Contributor Author

Integration tests are failing due to some memory leak in the cares area. I don't think this is related to this change, and I wonder if I should also fix it here.

@alexey-tikhonov
Copy link
Member

Integration tests are failing due to some memory leak in the cares area. I don't think this is related to this change, and I wonder if I should also fix it here.

Perhaps e9e6d80 is missing.

@alexey-tikhonov alexey-tikhonov self-assigned this Feb 26, 2024
@alexey-tikhonov
Copy link
Member

Pushed PR: #7211

  • sssd-2-8
    • 3800473 - SDAP: Include struct ldb_dn in struct sdap_search_base

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-backport This should go to target branch only. Pushed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants