9be0fce9bc1f48241425726ddd612ffd64556715 |
|
03-Jan-2018 |
Fabiano Fidêncio <fidencio@redhat.com> |
TOOLS: Fix typo: exist -> exists
Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> |
07e7683f5a86991feaa764e2055116554ada1b93 |
|
13-Sep-2016 |
Michal Židek <mzidek@redhat.com> |
TOOLS: sss_override without name override
sss_override failed to export user/group overrides
if user had no overrides for name.
Resolves:
https://fedorahosted.org/sssd/ticket/3179
Reviewed-by: Pavel Březina <pbrezina@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> |
26c722d568b0061e0f1edb8d07093bf051d76083 |
|
07-Jul-2016 |
Jakub Hrozek <jhrozek@redhat.com> |
SSS_OVERRIDE: Fixes for fully qualified names
Use sss_create_internal_fqname for internal cache lookups. Because the
object's existence is verified using getpw* and getgr*, we keep using
sss_tc_fqname there, just to feed the NSS interface the expected
qualified or unqualified name format.
Reviewed-by: Sumit Bose <sbose@redhat.com> |
47ce713ef8c7b32f2ce19cc3ace8e88f123fafac |
|
27-Jun-2016 |
Pavel Březina <pbrezina@redhat.com> |
sss_override: return EXIT_FAILURE if file does not exist during import
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> |
7bf750f6b3b47dcc8a192cc7bcbdecfb94e6cefb |
|
27-Jun-2016 |
Pavel Březina <pbrezina@redhat.com> |
sss_override: return EXIT_SUCCESS even when no overrides are found
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> |
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> |
2f90ec2e16f0c14c789d9ed20e008e3103337210 |
|
09-Jun-2016 |
Sumit Bose <sbose@redhat.com> |
sss_override: add certificate support
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> |
e45096aead1d2e2b8f8b2b386b420c5f62ad07d3 |
|
13-Apr-2016 |
Sumit Bose <sbose@redhat.com> |
sss_override: only add domain if name is not fully qualified
Resolves:
https://fedorahosted.org/sssd/ticket/2989
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> |
e6e2d1575ac7feb3494649f94ef51ef13cbdce48 |
|
13-Apr-2016 |
Sumit Bose <sbose@redhat.com> |
sss_override: do not generate DN, search object
DNs of existing objects can not be generate reliable because the use of
fully qualified names and upper and lower cases in names has to be
considered. The most reliable way to get the DN is to search the object
and take the DN from the result.
Resolves:
https://fedorahosted.org/sssd/ticket/2989
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> |
3b9a62badec2478f978ac28d2e3b72a7dd16a6e5 |
|
10-Nov-2015 |
Jakub Hrozek <jhrozek@redhat.com> |
tools: Don't shadow 'exit'
Fixes:
/sssd/src/tools/sss_override.c: In function ‘override_user_import’:
/sssd/src/tools/sss_override.c:1471: warning: declaration of ‘exit’ shadows a global declaration
/usr/include/stdlib.h:544: warning: shadowed declaration is here
/sssd/src/tools/sss_override.c: In function ‘override_group_import’:
/sssd/src/tools/sss_override.c:1737: warning: declaration of ‘exit’ shadows a global declaration
/usr/include/stdlib.h:544: warning: shadowed declaration is here
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> |
c8432ffd4cf29fe209b086ef69eacc9683dc5866 |
|
30-Oct-2015 |
Pavel Březina <pbrezina@redhat.com> |
sss_override: use more generic help text
Reviewed-by: Pavel Reichl <preichl@redhat.com> |
2341c8ccfe6225ee4ac5904c177a9200ba617a04 |
|
30-Oct-2015 |
Pavel Březina <pbrezina@redhat.com> |
sss_override: do not free ldb_dn in get_object_dn()
When only str_dn is requested, ldb_dn is freed. This triggers access
after free since str_dn is part of ldb_dn talloc context.
Reviewed-by: Pavel Reichl <preichl@redhat.com> |
55345aa1aaf1df23e5dfe8d584663f9fe6c4aeb9 |
|
30-Oct-2015 |
Pavel Březina <pbrezina@redhat.com> |
sss_override: add group-show
Resolves:
https://fedorahosted.org/sssd/ticket/2736
Reviewed-by: Pavel Reichl <preichl@redhat.com> |
53d05f6a88b52b8f7acc15a803c1ef439fa30244 |
|
30-Oct-2015 |
Pavel Březina <pbrezina@redhat.com> |
sss_override: add user-show
Resolves:
https://fedorahosted.org/sssd/ticket/2736
Reviewed-by: Pavel Reichl <preichl@redhat.com> |
6d0a69431a87a24dac04a9d77fbda5a6e24ac0dd |
|
30-Oct-2015 |
Pavel Březina <pbrezina@redhat.com> |
sss_override: add group-find
Resolves:
https://fedorahosted.org/sssd/ticket/2736
Reviewed-by: Pavel Reichl <preichl@redhat.com> |
1b45fed9f629d47fefc3feaba01810ca2200fed3 |
|
30-Oct-2015 |
Pavel Březina <pbrezina@redhat.com> |
sss_override: add user-find
Resolves:
https://fedorahosted.org/sssd/ticket/2736
Reviewed-by: Pavel Reichl <preichl@redhat.com> |
20222362cf9557e0e053e5e5f3b6f07899c7bfe7 |
|
30-Oct-2015 |
Pavel Březina <pbrezina@redhat.com> |
sss_override: fix exporting multiple domains
There was a mistake in the code which resulted in exporting one
domain several times if multiple domain were configured.
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> |
c12cd2d95d08c9316bc358c2f7707d92551b6909 |
|
21-Oct-2015 |
Pavel Reichl <reichl.pavel@gmail.com> |
sss_override: Remove unused parameter tool_ctx
Reviewed-by: Pavel Březina <pbrezina@redhat.com> |
3119225929463aecfbb1a7fc953263736955271e |
|
08-Oct-2015 |
Pavel Březina <pbrezina@redhat.com> |
sss_override: steal msgs string to objs
Since msgs is attached to tmp_ctx then all the strings are freed
with tmp_ctx. Now steal the strings to objs.
Resolves:
https://fedorahosted.org/sssd/ticket/2826
Reviewed-by: Pavel Reichl <preichl@redhat.com> |
220a4cbb7fcf30d954b2b4fecd62887373aa8764 |
|
08-Oct-2015 |
Pavel Březina <pbrezina@redhat.com> |
sss_override: explicitly set ret = EOK
Reviewed-by: Pavel Reichl <preichl@redhat.com> |
1bf0ada00f59c153fe00853394508021d0ff9b24 |
|
08-Oct-2015 |
Pavel Březina <pbrezina@redhat.com> |
sss_override: fix comment describing format
Reviewed-by: Pavel Reichl <preichl@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> |
4649f19ea4b11c428ca75803beda8d495a0c9335 |
|
16-Sep-2015 |
Pavel Březina <pbrezina@redhat.com> |
sss_override: support fqn in override name
Resolves:
https://fedorahosted.org/sssd/ticket/2782
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> |
23fb01bf67a6058fb508da6d81515e8b18634beb |
|
20-Aug-2015 |
Pavel Březina <pbrezina@redhat.com> |
sss_override: support import and export
Resolves:
https://fedorahosted.org/sssd/ticket/2737
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> |
5df5a6b852eccaafc8a3fb4eb31296d9587be483 |
|
20-Aug-2015 |
Pavel Březina <pbrezina@redhat.com> |
sss_override: decompose code better
Preparation for:
https://fedorahosted.org/sssd/ticket/2737
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> |
7eba58cfcf78e61af1c4ff98619aa97223eb7a5b |
|
20-Aug-2015 |
Pavel Březina <pbrezina@redhat.com> |
sss_override: support domains that require fqname
Resolves:
https://fedorahosted.org/sssd/ticket/2757
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> |
4285cf181abd1d12dc144d5f86d73162bbd9cf05 |
|
20-Aug-2015 |
Pavel Březina <pbrezina@redhat.com> |
sss_override: print input name if unable to parse it
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> |
b69cb1787209e85cc246eb9a944242689bfe0c46 |
|
27-Jul-2015 |
Pavel Březina <pbrezina@redhat.com> |
TOOLS: add sss_override for local overrides
Resolves:
https://fedorahosted.org/sssd/ticket/2584
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> |