#3802 Reuse sysdb_error_to_errno() outside sysdb
Closed: Fixed 2 years ago Opened 2 years ago by jhrozek.

The function sysdb_error_to_errno() maps LDB error codes to sss_error codes. It is mostly useful in sysdb, but e.g. the secrets responder also calls ldb functions directly. It might be nice to make the function reusable to avoid copying code around.

But since the sysdb_error_to_errno() function is called many times in sssd, it would also be nice to not rename all callers to avoid issues backporting patches. Perhaps we could #define the new name to the old one.


Metadata Update from @jhrozek:
- Issue set to the milestone: SSSD Patches welcome
- Issue tagged with: refactoring

2 years ago

Metadata Update from @thalman:
- Issue assigned to thalman

2 years ago

Metadata Update from @jhrozek:
- Issue close_status updated to: Fixed
- Issue set to the milestone: SSSD 2.1 (was: SSSD Patches welcome)
- Issue status updated to: Closed (was: Open)

2 years ago

SSSD is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in SSSD's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/SSSD/sssd/issues/4797

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Login to comment on this ticket.

Metadata