From d15836df7fcf9914b7cff0692628c8331ec70eb847554b521db0de263ab7fe96 Mon Sep 17 00:00:00 2001
From: Jan Engelhardt <jengelh@inai.de>
Date: Fri, 24 Jul 2020 19:59:43 +0000
Subject: [PATCH] - Update to release 2.3.1

OBS-URL: https://build.opensuse.org/package/show/network:ldap/sssd?expand=0&rev=235
---
 sssd-2.3.0.tar.gz     |  3 ---
 sssd-2.3.0.tar.gz.asc | 11 ----------
 sssd-2.3.1.tar.gz     |  3 +++
 sssd-2.3.1.tar.gz.asc | 11 ++++++++++
 sssd.changes          | 18 ++++++++++++++++
 sssd.spec             | 50 ++++---------------------------------------
 6 files changed, 36 insertions(+), 60 deletions(-)
 delete mode 100644 sssd-2.3.0.tar.gz
 delete mode 100644 sssd-2.3.0.tar.gz.asc
 create mode 100644 sssd-2.3.1.tar.gz
 create mode 100644 sssd-2.3.1.tar.gz.asc

diff --git a/sssd-2.3.0.tar.gz b/sssd-2.3.0.tar.gz
deleted file mode 100644
index b3498f0..0000000
--- a/sssd-2.3.0.tar.gz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:f755a105433399fff0f5788ee04795e07299b9d7bf976d02c4910cb6dcbe3a99
-size 6797766
diff --git a/sssd-2.3.0.tar.gz.asc b/sssd-2.3.0.tar.gz.asc
deleted file mode 100644
index c24c0b7..0000000
--- a/sssd-2.3.0.tar.gz.asc
+++ /dev/null
@@ -1,11 +0,0 @@
------BEGIN PGP SIGNATURE-----
-
-iQEzBAABCAAdFiEEGkHcZ1BfiaMwgotmr/513ehQjhIFAl7DuF4ACgkQr/513ehQ
-jhIDgAf/bnoW75HQWBMS6xOEP4ncEVXDjv/0r9tRwXke4xy3HLfMAmvS069fVnHe
-dzpAquijN154qE7QArkfJtz8cuZl/IGuLFNp6W5UgVGifGgub4Uai+9wmpsO7Grb
-T/bd1d4c/6EYksEtAfLYUnzsmVTcSvIMVvPpPkWbdfoAsbFbkMmi0rZvlxjdMtHl
-hsJYsIGZbkugsNkUV5V4xPBz9b87CMbF9F7DikstJPhzlMeXGY9aVVnWlW8X/yMJ
-BUmj2BE1jr7G0lLHVVb90tWXYvjCKzq/klxs7CPV7+4X3e3yoxLKz9HyukLx+xCo
-Vlwn/XW6xksNeRTUs6S+yL7LKZJ2Sw==
-=h1Bc
------END PGP SIGNATURE-----
diff --git a/sssd-2.3.1.tar.gz b/sssd-2.3.1.tar.gz
new file mode 100644
index 0000000..86c1748
--- /dev/null
+++ b/sssd-2.3.1.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ef8b047e6d0452a585862dffd16db725ac828e0d3fb594a8dea6d2f24a61ad17
+size 7186526
diff --git a/sssd-2.3.1.tar.gz.asc b/sssd-2.3.1.tar.gz.asc
new file mode 100644
index 0000000..408e594
--- /dev/null
+++ b/sssd-2.3.1.tar.gz.asc
@@ -0,0 +1,11 @@
+-----BEGIN PGP SIGNATURE-----
+
+iQEzBAABCAAdFiEEGkHcZ1BfiaMwgotmr/513ehQjhIFAl8azN8ACgkQr/513ehQ
+jhImOAf/VArQnnz5rqDrYXal9brM4KnKwnb9RuVCA7JQssMRr2XALEWvTgcsNWHz
+EV8UD1Mw4SqIy6P3xckRz4dblEuI63KehpS8fudFyOVnSDPO2XkIE9hZqIrMuCvl
+f6l/sW8j4eaFGBELTXQKOl07O6ca5B9olJ7dFK2IrmhIYcVaCHyPOyGPT2t8Z3An
+DNcij2UHHup0ZkcYDiZIrWkrF5vvKHy1eWuxyvrbAA+GME7J47R3bzSWbjB+rdBJ
+/uYU5OqNLzul425BGQzDnJ92Gtfh/aj57Q0F/wpJ78Hb9KYA0G+m8mdzs0At8pv7
+VH7798VOLqeOXmUK5SLgl7oKS2ecug==
+=jv4k
+-----END PGP SIGNATURE-----
diff --git a/sssd.changes b/sssd.changes
index 09b2798..818b2dc 100644
--- a/sssd.changes
+++ b/sssd.changes
@@ -1,3 +1,21 @@
+-------------------------------------------------------------------
+Fri Jul 24 16:57:58 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
+
+- Update to release 2.3.1
+  * Domains can be now explicitly enabled or disabled using
+    enable option in domain section. This can be especially used
+    in configuration snippets.
+  * New configuration options memcache_size_passwd,
+    memcache_size_group, memcache_size_initgroups that can be
+    used to control memory cache size.
+  * Fixed several regressions in GPO processing introduced in
+    sssd-2.3.0
+  * Fixed regression in PAM responder: failures in cache only
+    lookups are no longer considered fatal.
+  * Fixed regression in proxy provider: pwfield=x is now default
+    value only for sssd-shadowutils target.
+- sssd-wbclient is obsolete and no longer shipped
+
 -------------------------------------------------------------------
 Tue May 19 11:32:22 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
 
diff --git a/sssd.spec b/sssd.spec
index fa21feb..9c6f1cd 100644
--- a/sssd.spec
+++ b/sssd.spec
@@ -18,15 +18,15 @@
 %define _buildshell /bin/bash
 
 Name:           sssd
-Version:        2.3.0
+Version:        2.3.1
 Release:        0
 Summary:        System Security Services Daemon
 License:        GPL-3.0-or-later and LGPL-3.0-or-later
 Group:          System/Daemons
 URL:            https://pagure.io/SSSD/sssd
 #Git-Clone:	https://pagure.io/SSSD/sssd
-Source:         https://github.com/SSSD/sssd/releases/download/sssd-2_3_0/%name-%version.tar.gz
-Source2:        https://github.com/SSSD/sssd/releases/download/sssd-2_3_0/%name-%version.tar.gz.asc
+Source:         https://github.com/SSSD/sssd/releases/download/sssd-2_3_1/%name-%version.tar.gz
+Source2:        https://github.com/SSSD/sssd/releases/download/sssd-2_3_1/%name-%version.tar.gz.asc
 Source3:        baselibs.conf
 Source5:        %name.keyring
 Patch1:         krb-noversion.diff
@@ -180,32 +180,6 @@ Requires:       sssd = %version
 The packages contains commandline tools for managing users and groups using
 the "local" id provider of the System Security Services Daemon (sssd).
 
-%package wbclient
-Summary:        SSSD's implementation of the Winbind pipe protocol
-License:        LGPL-3.0-or-later
-Group:          System/Libraries
-
-%description wbclient
-libwbclient is a plugin for the Samba client, though it has been
-implemented as a regular shared library requested via DT_NEEDED.
-
-sssd-wbclient implements the libwbclient API for Samba daemons and
-utilities. The main purpose is to map Active Directory users and
-groups identified by their SID to POSIX users and groups identified
-by their POSIX UIDs and GIDs respectively.
-
-%package wbclient-devel
-Summary:        Development files for SSSD winbind
-License:        LGPL-3.0-or-later
-Group:          Development/Libraries/C and C++
-Requires:       %name-wbclient = %version
-
-%description wbclient-devel
-sssd-wbclient implements the libwbclient API for Samba daemons and
-utilities. The main purpose is to map Active Directory users and
-groups identified by their SID to POSIX users and groups identified
-by their POSIX UIDs and GIDs respectively.
-
 %package winbind-idmap
 Summary:        The sss idmap backend for Winbind
 Group:          System/Libraries
@@ -433,10 +407,6 @@ ln -sfv service "$b/%_sbindir/rcsssd-ssh"
 ln -sfv service "$b/%_sbindir/rcsssd-sudo"
 
 mkdir -pv "$b/%sssdstatedir/mc"
-mkdir -pv "$b/%_sysconfdir/ld.so.conf.d"
-cat >"$b/%_sysconfdir/ld.so.conf.d/sssd-wbclient.conf" <<-EOF
-	%_libdir/%name/modules
-EOF
 find "$b" -type f -name "*.la" -print -delete
 rm -Rfv "$b/usr/lib/debug/usr/lib/sssd/p11_child-1.16.2-0.x86_64.debug"
 %find_lang %name --all-name
@@ -603,6 +573,7 @@ rm -f /var/lib/sss/db/*.ldb
 %_libdir/krb5/
 %_libdir/%name/modules/sssd_krb5_localauth_plugin.so
 %_mandir/??/man8/sssd_krb5_locator_plugin.8*
+%_mandir/??/man8/pam_sss.8*
 %_mandir/man8/pam_sss.8*
 %_mandir/man8/sssd_krb5_locator_plugin.8*
 
@@ -691,19 +662,6 @@ rm -f /var/lib/sss/db/*.ldb
 %_mandir/??/man8/sss_*.8*
 %_mandir/man8/sss_*.8*
 
-%files wbclient
-%config %_sysconfdir/ld.so.conf.d/sssd-wbclient.conf
-%dir %_libdir/sssd/
-%dir %_libdir/sssd/modules/
-%_libdir/sssd/modules/libwbclient.so.*
-
-%files wbclient-devel
-%_includedir/wbclient_sssd.h
-%dir %_libdir/sssd/
-%dir %_libdir/sssd/modules/
-%_libdir/sssd/modules/libwbclient.so
-%_libdir/pkgconfig/wbclient_sssd.pc
-
 %files winbind-idmap
 %_libdir/samba/
 %_mandir/man8/idmap_sss.8*