Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | KRB5: Do not switch_creds() if already the specified user | Jakub Hrozek | 2014-11-18 | 1 | -0/+7 |
| | | | | | | | | | | | | | | The code didn't have to handle this case previously as sssd_be was always running as root and switching to the ccache as the user logging in. Also handle NULL creds on restore_creds() in case there was no switch. One less if-condition and fewer indentation levels. Related: https://fedorahosted.org/sssd/ticket/2370 Reviewed-by: Sumit Bose <sbose@redhat.com> Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> | ||||
* | TESTS: Add a test to change user IDs | Jakub Hrozek | 2014-10-10 | 1 | -0/+156 |
Adds a unit test using the nss_wrapper and uid_wrapper libraries that exercises the ability to become another user. Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> |