73 lines
2.2 KiB
Diff
73 lines
2.2 KiB
Diff
From 4299bd81279830e48b93f163049179aff14d1402 Mon Sep 17 00:00:00 2001
|
|
From: Sumit Bose <sbose@redhat.com>
|
|
Date: Mon, 5 Feb 2024 08:58:56 +0100
|
|
Subject: [PATCH] sssd package fix
|
|
|
|
---
|
|
dbus/realm-dbus-constants.h | 1 +
|
|
service/realm-sssd-ad.c | 3 +++
|
|
service/realmd-redhat-authconfig.conf | 5 ++++-
|
|
service/realmd-redhat.conf | 5 ++++-
|
|
4 files changed, 12 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/dbus/realm-dbus-constants.h b/dbus/realm-dbus-constants.h
|
|
index d2c2a8b..e49034b 100644
|
|
--- a/dbus/realm-dbus-constants.h
|
|
+++ b/dbus/realm-dbus-constants.h
|
|
@@ -78,6 +78,7 @@ G_BEGIN_DECLS
|
|
#define REALM_DBUS_IDENTIFIER_IPA "ipa"
|
|
#define REALM_DBUS_IDENTIFIER_FREEIPA "freeipa"
|
|
#define REALM_DBUS_IDENTIFIER_SSSD "sssd"
|
|
+#define REALM_DBUS_IDENTIFIER_SSSD_AD "sssd-ad"
|
|
#define REALM_DBUS_IDENTIFIER_SAMBA "samba"
|
|
#define REALM_DBUS_IDENTIFIER_ADCLI "adcli"
|
|
#define REALM_DBUS_IDENTIFIER_EXAMPLE "example"
|
|
diff --git a/service/realm-sssd-ad.c b/service/realm-sssd-ad.c
|
|
index 096b6c5..64bb488 100644
|
|
--- a/service/realm-sssd-ad.c
|
|
+++ b/service/realm-sssd-ad.c
|
|
@@ -46,18 +46,21 @@ typedef struct {
|
|
|
|
static const gchar *ADCLI_PACKAGES[] = {
|
|
REALM_DBUS_IDENTIFIER_SSSD,
|
|
+ REALM_DBUS_IDENTIFIER_SSSD_AD,
|
|
REALM_DBUS_IDENTIFIER_ADCLI,
|
|
NULL
|
|
};
|
|
|
|
static const gchar *SAMBA_PACKAGES[] = {
|
|
REALM_DBUS_IDENTIFIER_SSSD,
|
|
+ REALM_DBUS_IDENTIFIER_SSSD_AD,
|
|
REALM_DBUS_IDENTIFIER_SAMBA,
|
|
NULL
|
|
};
|
|
|
|
static const gchar *ALL_PACKAGES[] = {
|
|
REALM_DBUS_IDENTIFIER_SSSD,
|
|
+ REALM_DBUS_IDENTIFIER_SSSD_AD,
|
|
REALM_DBUS_IDENTIFIER_ADCLI,
|
|
REALM_DBUS_IDENTIFIER_SAMBA,
|
|
NULL
|
|
diff --git a/service/realmd-redhat.conf b/service/realmd-redhat.conf
|
|
index 2b11c30..12ec3c3 100644
|
|
--- a/service/realmd-redhat.conf
|
|
+++ b/service/realmd-redhat.conf
|
|
@@ -13,10 +13,13 @@ oddjob = /usr/sbin/oddjobd
|
|
oddjob-mkhomedir = /usr/libexec/oddjob/mkhomedir
|
|
|
|
[sssd-packages]
|
|
-sssd = /usr/sbin/sssd
|
|
+sssd-common = /usr/sbin/sssd
|
|
oddjob = /usr/sbin/oddjobd
|
|
oddjob-mkhomedir = /usr/libexec/oddjob/mkhomedir
|
|
|
|
+[sssd-ad-packages]
|
|
+sssd-ad = /usr/libexec/sssd/gpo_child
|
|
+
|
|
[adcli-packages]
|
|
adcli = /usr/sbin/adcli
|
|
|
|
--
|
|
2.43.0
|
|
|