Commit Graph

404 Commits

Author SHA1 Message Date
Fabiano Fidêncio 768be08a58 Resolves: upstream#3726 - SSSD with ID provider 'ad' should give a warning in case the ldap schema is manually changed to something different than 'ad'.
Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
(cherry picked from commit 163543f40b)
(cherry picked from commit 681d87c2ae)
(cherry picked from commit b23bb96b5d)
2018-05-16 22:33:17 +02:00
Fabiano Fidêncio c45dd65f97 Resolves: upstream#3725 - sssd not honoring dyndns_server if the DNS update process is terminated with a signal
Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
(cherry picked from commit 510134aa02)
(cherry picked from commit e4e9316ad9)
(cherry picked from commit b6d54af437)
2018-05-16 22:33:17 +02:00
Fabiano Fidêncio d4c0d50bdd Related: upstream#3436 - Certificates used in unit tests have limited lifetime
Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
(cherry picked from commit 5e1db8fc3e)
(cherry picked from commit 7dc8777d56)
(cherry picked from commit c6eb48feab)
2018-05-16 22:33:17 +02:00
Fabiano Fidêncio c53d943117 Resolves: rhbz#1574778 - sssd fails to download known_hosts from freeipa
Patch 0018-sysdb-custom-completely-replace-old-object-instead-o.patch
caused a regression, caught by lslebodn and reported by a few users.

Let's comment out this patch for now and uncomment it when we have a fix
that do not cause a regression.

Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
(cherry picked from commit 5254cdcca5)
(cherry picked from commit c715b8d660)
(cherry picked from commit 35934cf3ef)
2018-05-05 22:02:25 +02:00
Fabiano Fidêncio 8a7243b618 Resolves: upstream#3520 - Files provider supports only BE_FILTER_ENUM
Also ...
Resolves: rhbz#1540703 - FreeIPA/SSSD implicit_file sssd_nss error: The Data
                         Provider returned an error
                         [org.freedesktop.sssd.Error.DataProvider.Fatal]

Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
(cherry picked from commit 90dd145c92)
(cherry picked from commit 99a84c4b16)
(cherry picked from commit ec7c43bb5d)
2018-04-27 22:31:22 +02:00
Fabiano Fidêncio fc649668b2 Resolves: upstream#3680 - GPO: SSSD fails to process GPOs If a rule is defined, but contains no SIDs
Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
(cherry picked from commit a305fc11b7)
(cherry picked from commit e45d803139)
(cherry picked from commit ce98ba4ba6)
2018-04-27 22:31:22 +02:00
Fabiano Fidêncio 79512b25c9 Document which principal does the AD provider use
Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
(cherry picked from commit b6696d97c4)
(cherry picked from commit 15af9187cf)
(cherry picked from commit 28ce4615a4)
2018-04-27 22:31:22 +02:00
Fabiano Fidêncio 3d25ab1823 Resolves: upstream#2653 - Group renaming issue when "id_provider = ldap" is set.
Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
(cherry picked from commit 2dd8451396)
(cherry picked from commit e9424464d1)
(cherry picked from commit b103eab96c)
2018-04-27 22:31:22 +02:00
Fabiano Fidêncio ff81ee82e5 Resolves: upstream#3715 - ipa 389-ds-base crash in krb5-libs - k5_copy_etypes list out of bound?
Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
(cherry picked from commit 209701ef7f)
(cherry picked from commit bf6526be6c)
(cherry picked from commit 32f84803eb)
2018-04-27 22:31:22 +02:00
Fabiano Fidêncio ccec5b8fc8 Improve docs/debug message about GC detection
Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
(cherry picked from commit 3115154117)
(cherry picked from commit 8ac548e27d)
(cherry picked from commit 0caad9889d)
2018-04-27 22:31:22 +02:00
Fabiano Fidêncio e57d99137e Resolves: upstream#3469 - extend sss-certmap man page regarding priority processing
Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
(cherry picked from commit f47c82bc8d)
(cherry picked from commit 94dacbcff1)
(cherry picked from commit 2c6ba2bf2b)
2018-04-27 22:31:22 +02:00
Fabiano Fidêncio d6e60d0953 Resolves: upstream#3634 - sssctl COMMAND --help fails if sssd is not configured
Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
(cherry picked from commit 64b69ec813)
(cherry picked from commit d5953555e4)
(cherry picked from commit 54dfcbfa15)
2018-04-27 22:31:22 +02:00
Fabiano Fidêncio 5b40243f61 Resolves: upstream#3679 - Make nss netgroup requests more robust
Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
(cherry picked from commit 8d67726a47)
(cherry picked from commit f585ce79e5)
(cherry picked from commit b242978f9f)
2018-04-27 22:31:22 +02:00
Fabiano Fidêncio dd0a6fb1b9 Resolves: upstream#3646 - SSSD's GPO code ignores ad_site option
Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
(cherry picked from commit 8565df471c)
(cherry picked from commit d4cc9f09a9)
(cherry picked from commit 2d8d8d1c8b)
2018-04-27 22:31:22 +02:00
Fabiano Fidêncio 9c95519f7a Resolves: upstream#3402 - Support alternative sources for the files provider
Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
(cherry picked from commit 9709b73a3f)
(cherry picked from commit 69dd3e36eb)
(cherry picked from commit eefe33aff1)
2018-04-27 22:31:22 +02:00
Fabiano Fidêncio bb567c5aaf Resolves: upstream#3550 - refresh_expired_interval does not work with netgrous in 1.15
Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
(cherry picked from commit a7d4f0b3f4)
(cherry picked from commit 1ec14767eb)
(cherry picked from commit c114eb6b3f)
2018-04-27 22:31:22 +02:00
Fabiano Fidêncio fd2fe89420 IPA: Qualify the externalUser sudo attribute
Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
(cherry picked from commit ab53ba849a)
(cherry picked from commit ff80480d02)
(cherry picked from commit bb5f960239)
2018-04-27 22:31:22 +02:00
Fabiano Fidêncio ae422acc48 Tone down shutdown messages for socket activated responders
Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
(cherry picked from commit ef1d48a0c2)
(cherry picked from commit 11342ddfab)
(cherry picked from commit 389295064e)
2018-04-27 22:31:22 +02:00
Fabiano Fidêncio a5d334e8a4 Resolves: upstream#3558 - sudo: report error when two rules share cn
Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
(cherry picked from commit fcff118bbf)
(cherry picked from commit b1ddb6443b)
(cherry picked from commit f338f8cb95)
2018-04-27 22:31:22 +02:00
Fabiano Fidêncio daca1aeb60 Resolves: upstream#3684 - A group is not updated if its member is removed with the cleanup task, but the group does not change
Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
(cherry picked from commit f3d06df50d)
(cherry picked from commit 7809e6eedd)
(cherry picked from commit b429a75bce)
2018-04-27 22:31:22 +02:00
Fabiano Fidêncio bc49fbfb56 A few KCM misc fixes
Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
(cherry picked from commit 32f2c81e59)
(cherry picked from commit 2540bf426d)
(cherry picked from commit 89a1543353)
2018-03-30 15:42:23 +02:00
Fabiano Fidêncio e5687b3b70 Resolves: upstream#3666 - Fix usage of str.decode() in our test
Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
(cherry picked from commit 99da72db23)
(cherry picked from commit 4d8a2ac870)
(cherry picked from commit 4a56bc21d2)
2018-03-30 15:42:16 +02:00
Fabiano Fidêncio 5e5e26a2be Resolves: upstream#3386 - KCM: Payload buffer is too small
Related to: rhbz#1494843 - KCM Does not work

Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
(cherry picked from commit 1c7376afc5)
(cherry picked from commit 7d773ed035)
(cherry picked from commit 97df14ee0f)
2018-03-30 15:42:07 +02:00
Fabiano Fidêncio 187ee74a3f Resolves: usptream#3687 - KCM: Don't pass a non null terminated string to json_loads()
Related to: rhbz#1494843 - KCM Does not work

Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
(cherry picked from commit 73735e9522)
(cherry picked from commit 0392642064)
(cherry picked from commit 26eab693bb)
2018-03-30 15:42:00 +02:00
Fabiano Fidêncio 1feb809f48 Resolves: upstream#3658 - Application domain is not interpreted correctly
Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
(cherry picked from commit 563dd33f72)
(cherry picked from commit 4d2103b723)
(cherry picked from commit 2a59fc635f)
2018-03-30 15:41:48 +02:00
Fabiano Fidêncio be32b69605 Resolves: upstream#3660 - confdb_expand_app_domains() always fails
Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
(cherry picked from commit 2c812f3cba)
(cherry picked from commit c126b3174c)
(cherry picked from commit 44d6f59b93)
2018-03-30 15:41:40 +02:00
Fabiano Fidêncio e23577fdfa Resolves: upstream#3573 - sssd won't show netgroups with blank domai
Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
(cherry picked from commit 40fe76feb8)
(cherry picked from commit 928c3e94ab)
(cherry picked from commit 46f52a9bd6)
2018-03-30 15:41:32 +02:00
Fabiano Fidêncio d2e63e3f19 New upstream release 1.16.1
https://docs.pagure.org/SSSD.sssd/users/relnotes/notes_1_16_1.html

Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
(cherry picked from commit 62a3258629)
(cherry picked from commit d11cfce2ff)
(cherry picked from commit bfc60044d5)
2018-03-09 18:05:01 +01:00
Lukas Slebodnik 85ed6ee372 Resolves: upstream#3621 - backport bug fix found by static analyzers
(cherry picked from commit 5eba7a8f1f)
(cherry picked from commit 21443e5ebe)
2018-02-20 15:18:41 +01:00
Fabiano Fidêncio 5482e1b39f Resolves: upstream#3621: FleetCommander integration must not require capability DAC_OVERRIDE
Together with the patches backported from upstream, we're changing
the deskprofilepath permissions from 755 to 751, reflecting the
upstream spec file changes.

Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
(cherry picked from commit 4b1fe8a0ab)
2018-02-14 23:04:07 +01:00
Fabiano Fidêncio 4110a2c340 Resolves: rhbz#1538643 - SSSD crashes when retrieving a Desktop Profile with no specific host/hostgroup set
Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
(cherry picked from commit 199a72e62a)
2018-02-14 22:27:38 +01:00
Lukas Slebodnik 9270bee8ca Resolves: upstream#3618 - selinux_child segfaults in a docker container
(cherry picked from commit 18ae44bc79)
(cherry picked from commit c90915394e)
2018-02-07 22:10:24 +01:00
Lukas Slebodnik 6f4bba5546 Backport most important bug fixes
Resolves: upstream#3523 - ABRT crash - /usr/libexec/sssd/sssd_nss in
                          setnetgrent_result_timeout
Resolves: upstream#3562 - Use-after free if more sudo requests run and one
                          of them fails, causing a fail-over to a next server
Resolves: upstream#3588 - sssd_nss consumes more memory until restarted
                          or machine swaps
Resolves: failure in glibc tests
          https://sourceware.org/bugzilla/show_bug.cgi?id=22530
Resolves: upstream#3451 - When sssd is configured with id_provider proxy and
                          auth_provider ldap, login fails if the LDAP server
                          is not allowing anonymous binds
Resolves: upstream#3285 - SSSD needs restart after incorrect clock is
                          corrected with AD
Resolves: upstream#3586 - Give a more detailed debug and system-log message
                          if krb5_init_context() failed
Resolves: rhbz#1479283 - proxy to files does not work with
                         implicit_files_domain
Resolves: rhbz#1431153 - SSSD ships a drop-in configuration snippet
                         in /etc/systemd/system
2017-12-04 22:23:49 +01:00
Lukas Slebodnik 3efadc9185 Resolves: rhbz#1494002 - sssd_nss crashed in cache_req_search_domains_next
(cherry picked from commit ce65f7d9ee)
(cherry picked from commit 8f047f7ff4)
2017-11-21 18:08:05 +01:00
Lukas Slebodnik 68e1acc3da Resolves: upstream#3529 - sssd-kcm Fix restart during/after upgrade
(cherry picked from commit 7ac8b3c4b5)
(cherry picked from commit da41c905c0)
2017-11-21 18:06:23 +01:00
Lukas Slebodnik 0982e5e83d New upstream release 1.16.0
https://docs.pagure.org/SSSD.sssd/users/relnotes/notes_1_16_0.html
(cherry picked from commit 4f58854911)
(cherry picked from commit ea632499ff)
2017-10-23 13:26:13 +02:00
Lukas Slebodnik 8fca7e629a Resolves: rhbz#1499354 - CVE-2017-12173
sssd: unsanitized input when searching in local cache database access on
the sock_file system_bus_socket

(cherry picked from commit 7069858231)
(cherry picked from commit 4a8ad4c174)
2017-10-11 17:51:02 +02:00
Lukas Slebodnik bbb90ca68c Fix few bugs/regressions
Resolves: rhbz#1488327 - SELinux is preventing selinux_child from write access
                         on the sock_file system_bus_socket
Resolves: rhbz#1490402 - SSSD does not create /var/lib/sss/deskprofile and
                         fails to download desktop profile data
Resolves: upstream#3485 - getsidbyid does not work with 1.15.3
Resolves: upstream#3488 - SUDO doesn't work for IPA users on IPA clients after
                          applying ID Views for them in IPA server
Resolves: upstream#3501 - Accessing IdM kerberos ticket fails while id mapping
                          is applied
(cherry picked from commit 8eda442b2e)
(cherry picked from commit e15fc49cbf)
2017-09-12 09:29:29 +02:00
Lukas Slebodnik 7e532024f0 Backport few upstream patches/fixes
(cherry picked from commit fa4807ec45)
(cherry picked from commit 323dbdee02)
2017-09-01 21:44:33 +02:00
Lukas Slebodnik 7109e61605 Simplify spec file a little bit
The plugin for cifs-utils can be built on all supported versions of fedora.
Conditions are required only in upstream spec file for older
distributions. Definition of constant with_cifs_utils_plugin is still
in the beginning of spec file for simpler comparison of changes
between upstream and fedora.

(cherry picked from commit 5ce8ae1166)
(cherry picked from commit 601bb9f4eb)
2017-09-01 21:42:16 +02:00
Lukas Slebodnik 52d4a1e424 Remove unused if condition krb5 localauth plugin
The plugin can be built on all supported versions of fedora.
And it was removed also from upstream spec file.

(cherry picked from commit 088151887a)
(cherry picked from commit e89cb59c68)
2017-09-01 21:42:09 +02:00
Ville Skyttä c01badf69e Own the %{_libdir}/%{name}/conf dir
https://bugzilla.redhat.com/show_bug.cgi?id=1483517
(cherry picked from commit 308a55f49d)
(cherry picked from commit 3b8c6ea1d5)
2017-09-01 21:42:01 +02:00
Lukas Slebodnik e076a5639e Make fedora automated tests happy
dist.python-versions failed
dist.python-versions.requires_naming_scheme failed

These RPMs use `python-` prefix without Python version in *Requires:

sssd-1.15.3-1.fc26 BuildRequires:
 * python-devel (python2-devel is available)

This is strongly discouraged and should be avoided. Please check
the required packages, and use names with either `python2-` or
`python3-` prefix.

(cherry picked from commit 1f58bd8dc4)
2017-07-25 17:56:35 +02:00
Lukas Slebodnik 39ce513212 New upstream release 1.15.3
https://docs.pagure.org/SSSD.sssd/users/relnotes/notes_1_15_3.html
2017-07-25 14:37:56 +02:00
Lukas Slebodnik a2beebd281 Disable unit tests with expired certificates 2017-06-27 15:16:50 +02:00
Lukas Slebodnik b88b74fcf2 Fix build issues: Update expided certificate in unit tests 2017-06-27 14:27:48 +02:00
Lukas Slebodnik c111ad7d59 Resolves upstream#3382 - SSSD should use memberOf, not originalMemberOf to evaluate group membership for HBAC rules 2017-05-31 13:21:07 +02:00
Stephen Gallagher b4e6dc0d82
Revert "Temporarily disable running tests when building in the module build service"
This reverts commit 90107469a7.
2017-05-15 09:42:58 -04:00
Stephen Gallagher 90107469a7
Temporarily disable running tests when building in the module build service 2017-05-14 20:06:19 -04:00
Lukas Slebodnik 9c949c17eb Resolves: rhbz#1445680 - Properly fall back to local Smartcard authentication
Resolves: rhbz#1437199 - sssd-nfs-idmap-1.15.2-1.fc25.x86_64 conflicts with
                           file from package sssd-common-1.15.1-1.fc25.x86_64
Resolves: rhbz#1063278 - sss_ssh_knownhostsproxy doesn't fall back to ipv4
2017-04-29 23:57:03 +02:00