Commit Graph

353 Commits

Author SHA1 Message Date
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 5421a7ac42 Fix conflict in patches 2017-04-06 16:30:27 +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
Lukas Slebodnik 9bfc8ef4de Resolves: rhbz#1256849 - SUDO: Support the IPA schema 2016-01-19 18:23:34 +01:00
Michal Sekletar 94f4c4dd6d Use macros and don't call systemctl directly
- Resolves: rhbz#850328 - Introduce new systemd-rpm macros in sssd spec file
2016-01-19 15:26:15 +01:00
Lukas Slebodnik 9f85549912 Fix unowned directories
- https://fedoraproject.org/wiki/Packaging:UnownedDirectories
- Resolves: rhbz#1266940 - sssd-client.i686 on x86_64 has unowned directories
2016-01-19 15:15:32 +01:00
Lukas Slebodnik f50233afd2 Move libsss_sudo.so outside sssd-common
The module ${libdir}/libsss_sudo.so is used only by /usr/bin/sudo.
If libsss_sudo.so was part of sssd-client then 32 bit version would
never be used on 64 bit machine and files in sssd-client can be used
by multilib applications e.g. libnss_sss.so can be indirectly "dlopened"
by 64 bit applications and 32 bit application.
(32-bit web browser; ordinary 64bit applications ...)
2016-01-19 15:06:17 +01:00
Lukas Slebodnik aa27da2e1f Change package ownership of %{pubconfpath}/krb5.include.d
krb5 domain mapping files are stored to the directory
%{pubconfpath}/krb5.include.d. It can be stored by ipa or ad provider.
However this directory was owned by sub-package sssd-ipa. And ad provider
can be installed without this package. Therefore %{pubconfpath}/krb5.include.d
should be owned by common dependency.

The owner of this directory was also fixed to sssd.
It's already done by make install. It was changed only in spec file.
2016-01-19 15:02:47 +01:00
Lukas Slebodnik a89ed4b83f Additional patch for upstream #2829 2015-12-16 08:51:17 +01:00
Lukas Slebodnik 5df019d5aa New upstream release 1.13.3
- https://fedorahosted.org/sssd/wiki/Releases/Notes-1.13.3
2015-12-16 08:47:07 +01:00
Lukas Slebodnik 31ed44fa55 Backport patches from sssd master #2829
Use after free in failover
2015-11-20 09:47:17 +01:00
Lukas Slebodnik bdedaaad52 New upstream release 1.13.2
- https://fedorahosted.org/sssd/wiki/Releases/Notes-1.13.2
2015-11-20 09:47:17 +01:00
Robert Kuska 2b3b752656 Rebuilt for Python3.5 rebuild 2015-11-06 15:40:37 +01:00