Age | Commit message (Collapse) | Author | Files | Lines |
|
systemd-login still fails with su/sudo login shells, so always fall back
for now.
Resolves:
https://fedorahosted.org/sssd/ticket/2094
|
|
Declarations of public functions was in header files,
but header files was not included in implementation file.
|
|
Use systemd-lgin in preference to check if the user is logged in or not.
Fall back to the old method if no systemd-login support is available at compile
time or if it returns a fatal error, and can't determine the status of the user
on its own.
This will allow to consider a user really active (in order to reuse or refresh
crdentials) only if it really is logged into the system, and not just if one
of the user's processes is stuck around.
Resolves:
https://fedorahosted.org/sssd/ticket/2084
|
|
https://fedorahosted.org/sssd/ticket/1209
|
|
Also removes an unnecessary range check (since it's already handled
by strtoint32()
https://fedorahosted.org/sssd/ticket/1216
|
|
Coverity #12399
|
|
https://fedorahosted.org/sssd/ticket/1069
|
|
|
|
We used strtol() on a number of places to convert into uid_t or gid_t
from a string representation such as LDAP attribute, but on some
platforms, unsigned long might be necessary to store big id_t values.
This patch converts to using strtoul() instead.
|
|
Fixes: #503
|
|
Fixes: #541
|
|
|
|
We need to guarantee at all times that reads and writes complete
successfully. This means that they must be checked for returning
EINTR and EAGAIN, and all writes must be wrapped in a loop to
ensure that they do not truncate their output.
|
|
Also update BUILD.txt
|