Blame SOURCES/0001-switch-to-authselect.patch

688d36
From 32645f2fc1ddfb2eed7069fd749602619f26ed37 Mon Sep 17 00:00:00 2001
688d36
From: =?UTF-8?q?Pavel=20B=C5=99ezina?= <pbrezina@redhat.com>
688d36
Date: Mon, 19 Feb 2018 11:51:06 +0100
688d36
Subject: [PATCH] switch to authselect
688d36
688d36
---
688d36
 service/realmd-redhat.conf | 8 ++++----
688d36
 1 file changed, 4 insertions(+), 4 deletions(-)
688d36
688d36
diff --git a/service/realmd-redhat.conf b/service/realmd-redhat.conf
688d36
index e39fad525c716d1ed99715280cd5d497b9039427..26cf6147f352e1b48c3261fa42707d816428f879 100644
688d36
--- a/service/realmd-redhat.conf
688d36
+++ b/service/realmd-redhat.conf
688d36
@@ -23,15 +23,15 @@ adcli = /usr/sbin/adcli
688d36
 freeipa-client = /usr/sbin/ipa-client-install
688d36
 
688d36
 [commands]
688d36
-winbind-enable-logins = /usr/bin/sh -c "/usr/sbin/authconfig --update --enablewinbind --enablewinbindauth --enablemkhomedir --nostart && /usr/bin/systemctl enable oddjobd.service && /usr/bin/systemctl start oddjobd.service"
688d36
-winbind-disable-logins = /usr/sbin/authconfig --update --disablewinbind --disablewinbindauth --nostart
688d36
+winbind-enable-logins = /usr/bin/sh -c "/usr/bin/authselect select winbind with-mkhomedir --force && /usr/bin/systemctl enable oddjobd.service && /usr/bin/systemctl start oddjobd.service"
688d36
+winbind-disable-logins = /usr/bin/authselect select sssd with-mkhomedir
688d36
 winbind-enable-service = /usr/bin/systemctl enable winbind.service
688d36
 winbind-disable-service = /usr/bin/systemctl disable winbind.service
688d36
 winbind-restart-service = /usr/bin/systemctl restart winbind.service
688d36
 winbind-stop-service = /usr/bin/systemctl stop winbind.service
688d36
 
688d36
-sssd-enable-logins = /usr/bin/sh -c "/usr/sbin/authconfig --update --enablesssd --enablesssdauth --enablemkhomedir --nostart && /usr/bin/systemctl enable oddjobd.service && /usr/bin/systemctl start oddjobd.service"
688d36
-sssd-disable-logins = /usr/sbin/authconfig --update --disablesssdauth --nostart
688d36
+sssd-enable-logins = /usr/bin/sh -c "/usr/bin/authselect select sssd with-mkhomedir --force && /usr/bin/systemctl enable oddjobd.service && /usr/bin/systemctl start oddjobd.service"
688d36
+sssd-disable-logins = /usr/bin/authselect select sssd with-mkhomedir
688d36
 sssd-enable-service = /usr/bin/systemctl enable sssd.service
688d36
 sssd-disable-service = /usr/bin/systemctl disable sssd.service
688d36
 sssd-restart-service = /usr/bin/systemctl restart sssd.service
688d36
-- 
688d36
2.9.3
688d36