3ee8659bc6a77a78bc6c61b9650a36bd18ea95c8 |
|
21-Nov-2017 |
Jakub Hrozek <jhrozek@redhat.com> |
TOOLS: Add a new sssctl command access-report
Resolves:
https://pagure.io/SSSD/sssd/issue/2840
Reviewed-by: Pavel Březina <pbrezina@redhat.com>
Reviewed-by: Fabiano Fidêncio <fidencio@redhat.com> |
a02a5ed51178b2cbede0396d66aed716b8898096 |
|
25-Oct-2017 |
René Genz <liebundartig@freenet.de> |
Fix minor spelling mistakes
Merges: https://pagure.io/SSSD/sssd/pull-request/3556
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> |
f74408e37a3007aa41b19ab2afb693a91694da42 |
|
25-Sep-2017 |
Justin Stephenson <jstephen@redhat.com> |
SSSCTL: Add cache-expire command
Add sssctl cache-expire as a wrapper for the sss_cache utility to
invalidate cached objects.
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Reviewed-by: Michal Židek <mzidek@redhat.com> |
d2c614143870e6efd4b3ab20c3a55cf714595256 |
|
25-Sep-2017 |
Justin Stephenson <jstephen@redhat.com> |
SSSCTL: Move sss_debuglevel to sssctl debug-level
Move code from sss_debuglevel to sssctl_logs.c and add new debug-logs
sssctl command to perform the same task of changing debug level
dynamically.
POPT_CONTEXT_KEEP_FIRST Flag added to poptGetContext call in
sssctl_debug_level() to fix argument parsing.
Resolves:
https://pagure.io/SSSD/sssd/issue/3057
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Reviewed-by: Michal Židek <mzidek@redhat.com> |
4a9160e2b3b9c531e2b4a7884f49bfbb4a07a992 |
|
10-Apr-2017 |
Sumit Bose <sbose@redhat.com> |
sssctl: integrate pam_test_client into sssctl
Reviewed-by: Pavel Březina <pbrezina@redhat.com> |
73c9330fa3de6912e45c1ab686d5290f143b8352 |
|
25-Nov-2016 |
Lukas Slebodnik <lukas.slebodnik@intrak.sk> |
sssctl: Fix missing declaration
The WEXITSTATUS is defined in stdlib.h on linux.
There is a nice comment in stdlib.h:
/* Define the macros <sys/wait.h> also would define this way. */
It's better to not rely on this and use more platfom friendly
way with including "sys/wait.h". For example the libc on FreeBSD
does not provide WEXITSTATUS in stdlib.h.
I found this macro mentioned only in the manual page for wait(2)
and there is mentioned just the "sys/wait.h" and not "stdlib.h"
src/tools/sssctl/sssctl.c: In function 'sssctl_run_command':
src/tools/sssctl/sssctl.c:110: error: implicit declaration of function
'WEXITSTATUS'
gmake[2]: *** [Makefile:22383: src/tools/sssctl/sssctl-sssctl.o] Error 1
Reviewed-by: Fabiano Fidêncio <fidencio@redhat.com> |
cbee11e912bb391ba254b0bac8c1159c1f634533 |
|
27-Oct-2016 |
Michal Židek <mzidek@redhat.com> |
sssctl: Flags for command initialization
Allow passing flags for command specific initialization. Currently
only one flag is available to skip the confdb initialization which is
required to improve config-check command.
Resolves:
https://fedorahosted.org/sssd/ticket/3209
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> |
a2485c56319041f0021a46d63aac38ec2a5a6b2e |
|
14-Oct-2016 |
Jakub Hrozek <jhrozek@redhat.com> |
sssctl: Fix a typo in preprocessor macro
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> |
761515e2745e52ecfa90553fa5046ac4a701549a |
|
11-Oct-2016 |
Pavel Březina <pbrezina@redhat.com> |
sssctl: call service with absolute path
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> |
f4f2edba5c555773d7c9adfa95562b96b0c0cdb2 |
|
11-Oct-2016 |
Pavel Březina <pbrezina@redhat.com> |
sssctl: use systemd D-Bus API
If systemd is used we leverage it's D-Bus API instead of running systemctl.
Resolves:
https://fedorahosted.org/sssd/ticket/3056
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> |
488b455f6b7881ec108a127840b1c1f1523d937f |
|
05-Aug-2016 |
Michal Židek <mzidek@redhat.com> |
sssctl: Consistent commands naming
Use TOPIC-ACTION pattern for sssctl command
names.
Resolves:
https://fedorahosted.org/sssd/ticket/3087
Reviewed-by: Pavel Březina <pbrezina@redhat.com>
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> |
e088912418fd4db750f2097dfde8ef9b77303f05 |
|
07-Jul-2016 |
Michal Židek <mzidek@redhat.com> |
sssctl: Add config-check command
Fixes:
https://fedorahosted.org/sssd/ticket/2269
sssctl sconfig-check command allows to
call SSSD config file validators on
demand.
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> |
552390afcc81af96ca201fa6c25ddefbbecbeb4e |
|
07-Jul-2016 |
Jakub Hrozek <jhrozek@redhat.com> |
TOOLS: Add the upgrade-cache command
Allows to upgrade the cache using the sssctl tool, which might be useful
e.g. in RPM %post scripts.
Reviewed-by: Sumit Bose <sbose@redhat.com> |
a0b824ac01c6b58fe6055d48aa6e29e94219646d |
|
07-Jul-2016 |
Jakub Hrozek <jhrozek@redhat.com> |
TOOLS: Some tools command might not need initialization to succeed
Since we want to use the sssctl tool during upgrade, we need to amend
the tools initialization code to not error out if sysdb can't be
instantiated, but rather return errno and let the tool handle the error.
Each tool command now has a 'allowed errno' the command is able to
handle. In this patch iteration, only a single errno can be handled and
only the upgrade command is able to do so.
Reviewed-by: Sumit Bose <sbose@redhat.com> |
e157b9f6cb370e1b94bcac2044d26ad66d640fba |
|
27-Jun-2016 |
Pavel Březina <pbrezina@redhat.com> |
sssctl: new tool
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> |