URL:
https://github.com/SSSD/sssd/pull/765
Author: pbrezina
Title: #765: sudo: format runas attributes to correct output name
Action: opened
PR body:
"""
sudo internally calls getpwnam and getgrnam on user and groups that should
be used for the invoked command. Output of these calls is compared to
values in runAsUser/Group attributes.
When different output format is used then what is present in LDAP, this
comparison will fail, denying user to use sudo. Now, we convert these
attributes into correct output name, respecting domain resolution order,
fully qualified domains and fqname format.
E.g. sudo call: sudo -u tuser(a)ipa.vm -g tgroup(a)ipa.vm id
Resolves:
https://pagure.io/SSSD/sssd/issue/3957
"""
To pull the PR as Git branch:
git remote add ghsssd
https://github.com/SSSD/sssd
git fetch ghsssd pull/765/head:pr765
git checkout pr765