Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | KRB5: Do not switch_creds() if already the specified user | Jakub Hrozek | 2014-11-18 | 1 | -8/+21 |
| | | | | | | | | | | | | | | 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> | ||||
* | UTIL: Move become_user outside krb5 tree | Jakub Hrozek | 2014-10-10 | 1 | -0/+198 |
In order for several other SSSD processes to run as a non-root user, we need to move the functions to become another user to a shared space in our source tree. Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> |