summaryrefslogtreecommitdiff
path: root/security/mit-krb5/files/kadmind.sh
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2005-04-10 07:15:24 +0000
committerjlam <jlam@pkgsrc.org>2005-04-10 07:15:24 +0000
commit46c042ccc91bc09c5ca50bbdfca2bcfc28cb055c (patch)
treece29f8948c4e3fa1c8cfe4f6c603de6cb15e5a42 /security/mit-krb5/files/kadmind.sh
parentdab326651c3113f82dae0872b8f2c75b538bc1b5 (diff)
downloadpkgsrc-46c042ccc91bc09c5ca50bbdfca2bcfc28cb055c.tar.gz
Updated security/mit-krb5 to krb5-1.4. Changes from version 1.3.6 include:
* Merged Athena telnetd changes for creating a new option for requiring encryption. * Add implementation of the RPCSEC_GSS authentication flavor to the RPC library. * The kadmind4 backwards-compatibility admin server and the v5passwdd backwards-compatibility password-changing server have been removed. * Thread safety for krb5 libraries. * Yarrow code now uses AES. * Merged Athena changes to allow ftpd to require encrypted passwords. * Incorporate gss_krb5_set_allowable_enctypes() and gss_krb5_export_lucid_sec_context(), which are needed for NFSv4. * Fix heap buffer overflow in password history mechanism. [MITKRB5-SA-2004-004]
Diffstat (limited to 'security/mit-krb5/files/kadmind.sh')
-rw-r--r--security/mit-krb5/files/kadmind.sh15
1 files changed, 4 insertions, 11 deletions
diff --git a/security/mit-krb5/files/kadmind.sh b/security/mit-krb5/files/kadmind.sh
index a4f4cc1fb65..57209823caa 100644
--- a/security/mit-krb5/files/kadmind.sh
+++ b/security/mit-krb5/files/kadmind.sh
@@ -1,24 +1,17 @@
#!@RCD_SCRIPTS_SHELL@
#
-# $NetBSD: kadmind.sh,v 1.1.1.1 2004/03/30 18:07:18 jlam Exp $
+# $NetBSD: kadmind.sh,v 1.2 2005/04/10 07:15:25 jlam Exp $
#
# PROVIDE: kadmind
# REQUIRE: kdc
# BEFORE: SERVERS
-if [ -f /etc/rc.subr ]; then
- . /etc/rc.subr
-fi
+. /etc/rc.subr
name="kadmind"
rcvar=$name
command="@PREFIX@/sbin/${name}"
required_files="@PKG_SYSCONFDIR@/krb5.conf @MIT_KRB5_STATEDIR@/krb5kdc/kdc.conf"
-if [ -f /etc/rc.subr ]; then
- load_rc_config $name
- run_rc_command "$1"
-else
- @ECHO@ -n " ${name}"
- ${command} ${kadmind_flags}
-fi
+load_rc_config $name
+run_rc_command "$1"