git: 05e299ea60a9 - main - net-mgmt/realmd: Fixes for the FreeBSD default config

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Fri, 07 Jun 2024 06:44:10 UTC
The branch main has been updated by arrowd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=05e299ea60a90fe32b40b70829ee2d801f4106f0

commit 05e299ea60a90fe32b40b70829ee2d801f4106f0
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2024-06-07 06:43:35 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2024-06-07 06:43:35 +0000

    net-mgmt/realmd: Fixes for the FreeBSD default config
    
    Sponsored by:   Serenity Cybersecurity, LLC
---
 net-mgmt/realmd/Makefile                     | 1 +
 net-mgmt/realmd/files/realmd-freebsd.conf.in | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/net-mgmt/realmd/Makefile b/net-mgmt/realmd/Makefile
index fe3872c85e3f..f293d975151f 100644
--- a/net-mgmt/realmd/Makefile
+++ b/net-mgmt/realmd/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	realmd
 PORTVERSION=	0.17.1
+PORTREVISION=	1
 CATEGORIES=	net-mgmt
 
 MAINTAINER=	fluffy@FreeBSD.org
diff --git a/net-mgmt/realmd/files/realmd-freebsd.conf.in b/net-mgmt/realmd/files/realmd-freebsd.conf.in
index 5e0644b9fe1c..bacd7f540268 100644
--- a/net-mgmt/realmd/files/realmd-freebsd.conf.in
+++ b/net-mgmt/realmd/files/realmd-freebsd.conf.in
@@ -49,8 +49,8 @@ winbind-stop-service = /usr/sbin/service samba_server stop
 sssd-enable-service = /usr/sbin/service sssd enable
 sssd-disable-service = /usr/sbin/service sssd disable
 sssd-restart-service = /usr/sbin/service sssd restart
-sssd-stop-service = /usr/sbin/service sssd stop
-sssd-caches-flush = %%LOCALBASE%%/sbin/sss_cache --users --groups --netgroups --services --autofs-maps
+sssd-stop-service = /usr/sbin/service sssd onestop
+sssd-caches-flush = %%LOCALBASE%%/sbin/sss_cache --users --groups --netgroups --services
 
 [users]
 default-shell = /bin/sh