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> |
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> |
ebbeac5c6b8b87ab478ee5a04ec48fbbba0c9efc |
|
07-Jul-2016 |
Jakub Hrozek <jhrozek@redhat.com> |
SYSDB: Remove useless parameter from sysdb_init()
The function sysdb_init() is never used to allow upgrade, so the
allow_upgrade parameter was pointless.
Reviewed-by: Sumit Bose <sbose@redhat.com> |
cca497b4cbbbf05c4f9181b7d8113cde81754831 |
|
27-Jun-2016 |
Michal Židek <mzidek@redhat.com> |
confdb: Make it possible to use config snippets
Resolves:
https://fedorahosted.org/sssd/ticket/2247
Signed-off-by: Lukas Slebodnik <lslebodn@redhat.com>
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> |
d2d8f342cd5e90bb9fd947c448492225f959aa86 |
|
27-Jun-2016 |
Pavel Březina <pbrezina@redhat.com> |
sss_tools: create confdb if not exist
So tools (especially sssctl) may be run even when databases where
removed.
Reviewed-by: Jakub Hrozek <jhrozek@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> |
81cde110402e088508053aea79670b38d450cb83 |
|
27-Jun-2016 |
Pavel Březina <pbrezina@redhat.com> |
sss_tools: pad help message properly
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> |
a6cd927f298ff5c9a603db5acb6c1b0ebea178c0 |
|
27-Jun-2016 |
Pavel Březina <pbrezina@redhat.com> |
sss_tools: unify description of --debug
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> |
b963ed8079a4a284611d50d1b79695116c40295d |
|
27-Jun-2016 |
Pavel Březina <pbrezina@redhat.com> |
sss_tools: add help commands to usage message
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> |
3a8b5ccf7c27b72054e1d8b3ab355cb1e28efda9 |
|
13-Apr-2016 |
Sumit Bose <sbose@redhat.com> |
tools: read additional data of the master domain
Resolves:
https://fedorahosted.org/sssd/ticket/2989
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> |
4940ba14100ad11b0ed1f2a8a4fea5daa34d56ee |
|
30-Oct-2015 |
Pavel Březina <pbrezina@redhat.com> |
sss_tools: do not allow unexpected free argument
Reviewed-by: Pavel Reichl <preichl@redhat.com> |
16065cc731687eb8779d31b79436bbf79c5e3ed3 |
|
30-Oct-2015 |
Pavel Březina <pbrezina@redhat.com> |
sss_tools: always show common and help options
popt don't handle merging NULL option table, thus common and help
options were not displayed when command doesn't have any options.
Reviewed-by: Pavel Reichl <preichl@redhat.com> |
877b92e80bde510d5cd9f03dbf01e2bcf73ab072 |
|
23-Oct-2015 |
Michal Židek <mzidek@redhat.com> |
util: Update get_next_domain's interface
Update get next domain to be able to
include disbled domains and change the
interface to accept flags instead of
multiple booleans.
Ticket:
https://fedorahosted.org/sssd/ticket/2673
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> |
bda8039465a0084fb380e878c8f9ea3e900505ea |
|
02-Oct-2015 |
Pavel Březina <pbrezina@redhat.com> |
sss tools: improve option handling
The crash describe by ticket #2802 is caused by providing NULL options
in popt and yet trying to iterate over them. Instead of simply testing
for NULL this patch creates a new option table table merges several
option tables together, thus improving and simplifying usage string.
Resolves:
https://fedorahosted.org/sssd/ticket/2802
Reviewed-by: Pavel Reichl <preichl@redhat.com> |
5e2ffb69dcdd157ea422c6aec256111653e4206b |
|
31-Aug-2015 |
Pavel Březina <pbrezina@redhat.com> |
sss_override: document --debug options
Resolves:
https://fedorahosted.org/sssd/ticket/2758
Reviewed-by: Petr Cech <pcech@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> |