Commit Graph

341 Commits

Author SHA1 Message Date
Lukas Slebodnik 9499284780 Resolves: rhbz#1494002 - sssd_nss crashed in cache_req_search_domains_next
(cherry picked from commit ce65f7d9ee)
(cherry picked from commit 8f047f7ff4)
(cherry picked from commit 3efadc9185)
2017-11-21 18:09:46 +01:00
Lukas Slebodnik 66aebe955a Resolves: upstream#3529 - sssd-kcm Fix restart during/after upgrade
(cherry picked from commit 7ac8b3c4b5)
(cherry picked from commit da41c905c0)
(cherry picked from commit 68e1acc3da)
2017-11-21 18:09:37 +01:00
Lukas Slebodnik b6bda2dd7f 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)
(cherry picked from commit 0982e5e83d)
2017-10-30 15:23:51 +01:00
Lukas Slebodnik 2d5ee413ae 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)
(cherry picked from commit 8fca7e629a)
2017-10-11 17:52:14 +02:00
Lukas Slebodnik 3c27c875b7 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)
(cherry picked from commit bbb90ca68c)
2017-09-12 09:30:07 +02:00
Lukas Slebodnik 4c80037896 Backport few upstream patches/fixes
(cherry picked from commit fa4807ec45)
(cherry picked from commit 323dbdee02)
(cherry picked from commit 7e532024f0)
2017-09-01 21:46:00 +02:00
Lukas Slebodnik d8d7ab916a 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)
(cherry picked from commit 7109e61605)
2017-09-01 21:46:00 +02:00
Lukas Slebodnik 8a5c19cd14 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)
(cherry picked from commit 52d4a1e424)
2017-09-01 21:46:00 +02:00
Ville Skyttä 91a5f84c4e 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)
(cherry picked from commit c01badf69e)
2017-09-01 21:46:00 +02:00
Lukas Slebodnik b263f398aa New upstream release 1.15.3
https://docs.pagure.org/SSSD.sssd/users/relnotes/notes_1_15_3.html
(cherry picked from commit 39ce513212)
2017-07-25 15:28:08 +02:00
Lukas Slebodnik 89124ab716 Disable unit tests with expired certificates
(cherry picked from commit a2beebd281)
2017-06-27 16:54:42 +02:00
Lukas Slebodnik a8d6ed0d03 Fix build issues: Update expided certificate in unit tests
(cherry picked from commit b88b74fcf2)
2017-06-27 14:30:42 +02:00
Lukas Slebodnik c02b336ae5 Resolves upstream#3382 - SSSD should use memberOf, not originalMemberOf to evaluate group membership for HBAC rules
(cherry picked from commit c111ad7d59)
2017-05-31 13:21:48 +02:00
Lukas Slebodnik 206ba71f3b 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
(cherry picked from commit 9c949c17eb)
2017-04-29 23:57:50 +02:00
Lukas Slebodnik 39f9584222 Backport few upstrem fixes from master
Resolves: upstream#3297 Fix issue with IPA + SELinux in containers
Resolves: upstream#3360 Do not leak selinux context on clients destruction
(cherry picked from commit 22e5820a7b)
2017-04-06 16:09:06 +02:00
Lukas Slebodnik 9c697fc1c9 New upstream release 1.15.2
https://docs.pagure.org/SSSD.sssd/users/relnotes/notes_1_15_2.html
(cherry picked from commit d663bd4a22)
(cherry picked from commit 5c34393107)
2017-03-16 10:56:48 +01:00
Lukas Slebodnik b94a90c4f8 New upstream release 1.15.1
https://docs.pagure.org/SSSD.sssd/users/relnotes/notes_1_15_1.html
2017-03-06 13:05:11 +01:00
Lukas Slebodnik c9f95e64e6 New upstream release 1.15.0
https://fedorahosted.org/sssd/wiki/Releases/Notes-1.15.0
(cherry picked from commit 850071336e)
2017-01-27 20:13:18 +01:00
Lukas Slebodnik feafcbceb6 Resolves: rhbz#1369130 - nss_sss should not link against libpthread
Resolves: rhbz#1392916 - sssd failes to start after update
Resolves: rhbz#1398789 - SELinux is preventing sssd from 'write' accesses
                           on the directory /etc/sssd

(cherry picked from commit eb6c560542)
2016-12-13 20:15:43 +01:00
Lukas Slebodnik 7a5408348e New upstream release 1.14.2
- https://fedorahosted.org/sssd/wiki/Releases/Notes-1.14.2
2016-10-20 16:33:36 +02:00
Lukas Slebodnik 57f8f94800 libwbclient-sssd: update interface to version 0.13
(cherry picked from commit 856526f769)
2016-10-14 19:07:52 +02:00
Lukas Slebodnik a8ed2fc107 Revert "Do no use python_provide conditionally"
The macro python_provide is defined in /usr/lib/rpm/macros.d/macros.python
in the package python-rpm-macros. But this package is not part
of build root and therefore rpm cannot parse spec file.

This reverts commit 22c180263a.

(cherry picked from commit 8dd054482d)
2016-09-22 23:49:00 +02:00
Lukas Slebodnik e6b903faa9 Fix failing test
(cherry picked from commit 75bb1ff2e0)
2016-09-22 22:57:31 +02:00
Lukas Slebodnik f34aee5f3c Fix regression with krb5_map_user
- Resolves: rhbz#1375552 - krb5_map_user doesn't seem effective anymore
- Resolves: rhbz#1349286 - authconfig fails with SSSDConfig.NoDomainError:
                           default if nonexistent domain is mentioned

(cherry picked from commit 640e44ca24)
2016-09-22 22:36:07 +02:00
Lukas Slebodnik 71973658c1 Use weak dependencies
(cherry picked from commit 0fe5246e1a)
2016-09-22 22:36:00 +02:00
Lukas Slebodnik bb81545818 Do no use python_provide conditionally
(cherry picked from commit 22c180263a)
2016-09-22 22:35:54 +02:00
Lukas Slebodnik bab31444d7 Backport important patches from upstream 1.14.2 prerelease
- Resolves: upstream #3154 - sssd exits if clock is adjusted backwards after
                             boot
- Resolves: upstream #3163 - resolving IPA nested user group is broken in 1.14

(cherry picked from commit 2b61bbee11)
2016-09-01 18:14:54 +02:00
Lukas Slebodnik 0e461dd512 New upstream release 1.14.1
- https://fedorahosted.org/sssd/wiki/Releases/Notes-1.14.1

(cherry picked from commit 6bce0a242d)
2016-08-19 18:13:37 +02:00
Stephen Gallagher 0e7292f369 Add workaround patch for RHBZ #1366403 2016-08-15 14:15:18 -04:00
Fedora Release Engineering 8a68f197ec - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages 2016-07-19 12:41:42 +00:00
Lukas Slebodnik 08625190c5 New upstream release 1.14.0
- https://fedorahosted.org/sssd/wiki/Releases/Notes-1.14.0
2016-07-08 08:47:25 +02:00
Lukas Slebodnik a100349631 Fix few mistakes
note: fedpkg lint is your best friend
2016-07-01 10:45:16 +02:00
Lukas Slebodnik f9539d7319 New upstream release 1.14 beta
- https://fedorahosted.org/sssd/wiki/Releases/Notes-1.14.0beta
2016-07-01 10:11:33 +02:00
Lukas Slebodnik 966fddcfba New upstream release 1.14 alpha
- https://fedorahosted.org/sssd/wiki/Releases/Notes-1.14.0alpha
2016-06-21 10:58:04 +02:00
Lukas Slebodnik e3bb60bcdb Rename python packages + using macro %python_provide 2016-05-13 11:09:38 +02:00
Lukas Slebodnik 9aeb640f15 Resolves: rhbz#1335639 - [abrt] sssd-dbus: ldb_msg_find_element():
sssd_ifp killed by SIGSEGV
2016-05-13 11:09:38 +02:00
Lukas Slebodnik 18bea94912 Resolves: rhbz#1328108 - Protocol error with FreeIPA on CentOS 6 2016-04-22 20:50:56 +02:00
Lukas Slebodnik d9dece9b71 Backport netlink patch for link-local addresses 2016-04-14 13:05:33 +02:00
Lukas Slebodnik 19237d03ed New upstream release 1.13.4
- https://fedorahosted.org/sssd/wiki/Releases/Notes-1.13.4
2016-04-14 12:59:47 +02:00
Lukas Slebodnik 6b01857bc5 Bump release 2016-03-22 09:07:32 +01:00
Lukas Slebodnik e37379577b Resolves: rhbz#1276868 - Sudo PAM Login should support multiple password
prompts (e.g. Password + Token)
- Resolves: rhbz#1313041 - ssh with sssd proxy fails with "Connection closed
                           by remote host" if locale not available
2016-03-22 09:06:29 +01:00
Lukas Slebodnik e32d50862e Resolves: rhbz#1310664 - [RFE] IPA: resolve external group memberships of IPA
groups during getgrnam and getgrgid
- Resolves: rhbz#1301303 - sss_obfuscate: SyntaxError: Missing parentheses
                           in call to 'print'
2016-02-25 13:58:00 +01:00
Lukas Slebodnik 00dde99057 Move libsss_autofs.so outside sssd-common
It will reduce dependency chain in container world.
libsss_autofs.so depends only on libc and requires
sssd unix sockets. And sssd-common has many requirements.
2016-02-19 09:27:27 +01:00
Lukas Slebodnik 584e0c3964 Remove unnecessary requirements
We do not need to requires specific version of libldb
or libtdb because it is automatically detected from
binary/library dependencies. We also need never version
of that libraries as it was specified in spec file.

e.g.
  sh$ rpm -q --requires sssd-common | grep -E "TDB|LDB"
  libldb.so.1(LDB_0.9.10)(64bit)
  libtdb.so.1(TDB_1.2.1)(64bit)

There is also redundant dependency on sssd-common-pac
sssd -> sssd-ipa -> sssd-common-pac
     -> sssd-ad -> sssd-common-pac
     -> sssd-common-pac

  sh$ rpm -q --whatrequires sssd-common-pac
  sssd-ipa-1.13.3-1.fc23.x86_64
  sssd-ad-1.13.3-1.fc23.x86_64
  sssd-1.13.3-1.fc23.x86_64
2016-02-17 16:30:01 +01:00
Fedora Release Engineering 0a5378a924 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-05 00:37:31 +00:00
Lukas Slebodnik c38b881d88 Package uses only $RPM_BUILD_ROOT
Note: Using both %{buildroot} and $RPM_BUILD_ROOT
See: http://fedoraproject.org/wiki/Packaging/Guidelines#macros
2016-02-02 21:45:47 +01:00
Lukas Slebodnik 5719fdd6f8 Fix rpmlint issue for libsss_simpleifp
Patch removes unnecessary requires of dbus-libs
because it's already detected from library.
However we forgot to call ldconfig after (un)installation.

sh$ rpm -q -p --requires libsss_simpleifp-1.13.90-0.fc23.x86_64.rpm | grep dbus
    libdbus-1.so.3()(64bit)
    libdbus-1.so.3(LIBDBUS_1_3)(64bit)
    sssd-dbus = 1.13.90-0.fc23

sh$ rpm -q --whatprovides "libdbus-1.so.3()(64bit)"
    dbus-libs-1.10.6-1.fc23.x86_64
2016-02-02 18:07:45 +01:00
Lukas Slebodnik fb84da9380 Remove unnecessary clean-up of buildroot
rhel5 required to clean buildroot in install section.
The %clean section is not required for F-13 and above, and EPEL 6 and
above. EPEL 5 MUST have a %clean section that cleans the buildroot:

https://fedoraproject.org/wiki/EPEL:Packaging#Prepping_BuildRoot_For_.25install
2016-02-02 18:06:09 +01:00
Lukas Slebodnik d384e14059 Fix rpmlint warnings
fedpkg/sssd/sssd.spec:1232: W: macro-in-%changelog %preun
fedpkg/sssd/sssd.spec:1366: W: macro-in-%changelog %{_lib}
fedpkg/sssd/sssd.spec:1366: W: macro-in-comment %{_lib}
2016-02-02 11:59:36 +01:00
Lukas Slebodnik 6d11a34b89 Additional upstream fixes 2016-01-20 18:40:57 +01:00