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

Improvement: sss_client: add 'getsidbyusername()' and 'getsidbygroupname()' and corresponding python bindings #6565

Closed
pbrezina opened this issue Feb 8, 2023 · 1 comment
Assignees

Comments

@pbrezina
Copy link
Member

pbrezina commented Feb 8, 2023

SSSD's API and python bindings currently only offer 'getsidbyname()' but not 'getsidbyusername()' and 'getsidbygroupname()' (btw, we already have 'getsidbyid()' together with 'getsidbyuid()' and 'getsidbygid()'. Adding the new calls and python bindings should not be difficult and besides special AD setup I guess we might see similar issues with IPA-to-IPA trusts.

RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=2166627

@pbrezina pbrezina self-assigned this Feb 8, 2023
pbrezina added a commit to pbrezina/sssd that referenced this issue Feb 8, 2023
:feature: NSS IDMAP has two new methods: `getsidbyusername` and
  `getsidbygroupname`

Resolves: SSSD#6565
pbrezina added a commit to pbrezina/sssd that referenced this issue Feb 21, 2023
:feature: NSS IDMAP has two new methods: `getsidbyusername` and
  `getsidbygroupname`

Resolves: SSSD#6565
pbrezina added a commit to pbrezina/sssd that referenced this issue Feb 22, 2023
:feature: NSS IDMAP has two new methods: `getsidbyusername` and
  `getsidbygroupname`

Resolves: SSSD#6565
pbrezina added a commit to pbrezina/sssd that referenced this issue Feb 22, 2023
:feature: NSS IDMAP has two new methods: `getsidbyusername` and
  `getsidbygroupname`

Resolves: SSSD#6565
@pbrezina
Copy link
Member Author

Pushed PR: #6566

  • master
    • bd803bf - nssidmap: add getsidbyusername and getsidbygroupname

@pbrezina pbrezina added the Closed: Fixed Issue was closed as fixed. label Feb 23, 2023
justin-stephenson pushed a commit to justin-stephenson/sssd that referenced this issue Mar 6, 2023
:feature: NSS IDMAP has two new methods: `getsidbyusername` and
  `getsidbygroupname`

Resolves: SSSD#6565

Reviewed-by: Sumit Bose <sbose@redhat.com>
Reviewed-by: Tomáš Halman <thalman@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants