b8db8c2d83d1d75c42c1e17145d3907211b3a146 |
|
10-Apr-2018 |
amitkuma <amitkuma@redhat.com> |
sssctl: Showing help even when sssd not configured
On a clean and unconfigured system, it's not possible
to use --help.
1) dnf install sssd-tools
2) sssctl cache-remove --help
Shows:
[confdb_get_domains] (0x0010): No domains configured, fatal error!
Solution: Donot check for confdb initialization when sssctl 3rd
command line argument passed is '--help'.
Please note when we run 'sssctl --help' on unconfigured system
confdb check is not done and proper o/p is seen.
Resolves: https://pagure.io/SSSD/sssd/issue/3634
Reviewed-by: Pavel Březina <pbrezina@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> |
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> |
1472e41692cfc47bf2be14756ce692e52a0ec744 |
|
05-Aug-2016 |
Michal Židek <mzidek@redhat.com> |
tools: Add missing gettext macro
The message in SSS_TOOL_DELIMITER should be translated.
Reviewed-by: Petr Čech <pcech@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> |
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> |
e98ccef2609811186711b79d8ef5d0a4450ab6e0 |
|
27-Jun-2016 |
Pavel Březina <pbrezina@redhat.com> |
sss_tools: return errno_t instead of system code
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> |
b03ccb2764a4ccdadb77599cb624b6a17b633438 |
|
27-Jun-2016 |
Pavel Březina <pbrezina@redhat.com> |
sss_tools: add commands delimiter
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> |
3bc651a611a3e5be508875f3ae58bfb5ece2525c |
|
27-Jun-2016 |
Pavel Březina <pbrezina@redhat.com> |
sss_tools: tell whether an option was provided
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> |
cf3ba77997dfbd076a1f30fdbb33c7973766ac03 |
|
27-Jun-2016 |
Pavel Březina <pbrezina@redhat.com> |
sss_tools: add command description
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> |
284937e6b5b0c9d7a1d3382d0d2820d1168842fb |
|
27-Jul-2015 |
Pavel Březina <pbrezina@redhat.com> |
TOOLS: add common command framework
Add general framework to simplify creating "cmd COMMAND [OPTIONS...]"
style tools.
Preparation for:
https://fedorahosted.org/sssd/ticket/2584
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> |