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