mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-28 10:08:24 +00:00
2e567b748d
sssd integrates the functionality of pam_krb5 and pam_ldap/nss_ldap with caching and additional features. This project provides a set of daemons to manage access to remote directories and authentication mechanisms, it provides an NSS and PAM interface toward the system and a pluggable backend system to connect to multiple different account sources. It is also the basis to provide client auditing and policy services for projects like FreeIPA. sssd also features caching, which can allow for offline use to assist laptop users. WWW: https://fedorahosted.org/sssd/ PR: ports/161555 Submitted by: Andrew Elble <aweits@rit.edu>
33 lines
492 B
Bash
33 lines
492 B
Bash
#!/bin/sh
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
# PROVIDE: sssd
|
|
# REQUIRE: DAEMON
|
|
# BEFORE: LOGIN
|
|
# KEYWORD: shutdown
|
|
|
|
# Add the following lines to /etc/rc.conf to enable `sssd':
|
|
#
|
|
# sssd_enable="YES"
|
|
#
|
|
# See sssd(8) for sssd_flags
|
|
#
|
|
|
|
. /etc/rc.subr
|
|
|
|
name="sssd"
|
|
rcvar=`set_rcvar`
|
|
|
|
command="%%PREFIX%%/sbin/$name"
|
|
sssd_flags="-D"
|
|
pidfile="/var/run/$name.pid"
|
|
required_files="%%PREFIX%%/etc/$name/$name.conf"
|
|
|
|
# read configuration and set defaults
|
|
load_rc_config "$name"
|
|
: ${sssd_enable="NO"}
|
|
|
|
run_rc_command "$1"
|