1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-03 09:00:21 +00:00

Upgraded launchpad for kerberos. Noe kerberos IV OR kerberos 5

may be started at boot for kerberos servers.
This commit is contained in:
Mark Murray 2001-07-28 19:57:57 +00:00
parent 9567ba9dda
commit e7f2f42f1b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=80515
8 changed files with 194 additions and 66 deletions

View File

@ -124,10 +124,19 @@ named_program="named" # path to named, if you want a different one.
named_flags="" # Flags for named
#named_flags="-u bind -g bind" # Flags for named
kerberos_server_enable="NO" # Run a kerberos master server (or NO).
kadmind_server_enable="NO" # Run kadmind (or NO) -- do not run on
# a slave kerberos server
#
# kerberos. Do not run the admin daemons on slave servers
#
kerberos4_server_enable="NO" # Run a kerberos IV master server (or NO).
kerberos4_server="/usr/sbin/kerberos" # path to kerberos IV KDC
kadmind4_server_enable="NO" # Run kadmind (or NO)
kadmind4_server="/usr/sbin/kadmind" # path to kerberos IV admin daemon
kerberos5_server_enable="NO" # Run a kerberos 5 master server (or NO).
kerberos5_server="/usr/libexec/kdc" # path to kerberos 5 KDC
kadmind5_server_enable="NO" # Run kadmind (or NO)
kadmind5_server="/usr/libexec/k5admind" # path to kerberos 5 admin daemon
kerberos_stash="" # Is the kerberos master key stashed?
rwhod_enable="NO" # Run the rwho daemon (or NO).
rwhod_flags="" # Flags for rwhod
rarpd_enable="NO" # Run rarpd (or NO).

View File

@ -686,31 +686,48 @@ network_pass3() {
;;
esac
# Kerberos runs ONLY on the Kerberos server machine
case ${kerberos_server_enable} in
# Kerberos servers run ONLY on the Kerberos server machine
case ${kerberos4_server_enable} in
[Yy][Ee][Ss])
case ${kerberos_stash} in
[Yy][Ee][Ss])
stash_flag=-n
stash=-n
;;
*)
stash_flag=
stash=
;;
esac
echo -n ' kerberos'
kerberos ${stash_flag} >> /var/log/kerberos.log &
echo -n ' kerberosIV'
${kerberos4_server} ${stash} >> /var/log/kerberos.log &
case ${kadmind_server_enable} in
case ${kadmind4_server_enable} in
[Yy][Ee][Ss])
echo -n ' kadmind'
(sleep 20; kadmind ${stash_flag} >/dev/null 2>&1 &) &
echo -n ' kadmindIV'
(
sleep 20;
${kadmind4_server} ${stash} >/dev/null 2>&1 &
) &
;;
esac
unset stash_flag
;;
esac
case ${kerberos5_server_enable} in
[Yy][Ee][Ss])
echo -n ' kerberos5'
${kerberos5_server} &
case ${kadmind5_server_enable} in
[Yy][Ee][Ss])
echo -n ' kadmind5'
${kadmind5_server} &
;;
esac
;;
esac
case ${pppoed_enable} in
[Yy][Ee][Ss])
if [ -n "${pppoed_provider}" ]; then

View File

@ -686,31 +686,48 @@ network_pass3() {
;;
esac
# Kerberos runs ONLY on the Kerberos server machine
case ${kerberos_server_enable} in
# Kerberos servers run ONLY on the Kerberos server machine
case ${kerberos4_server_enable} in
[Yy][Ee][Ss])
case ${kerberos_stash} in
[Yy][Ee][Ss])
stash_flag=-n
stash=-n
;;
*)
stash_flag=
stash=
;;
esac
echo -n ' kerberos'
kerberos ${stash_flag} >> /var/log/kerberos.log &
echo -n ' kerberosIV'
${kerberos4_server} ${stash} >> /var/log/kerberos.log &
case ${kadmind_server_enable} in
case ${kadmind4_server_enable} in
[Yy][Ee][Ss])
echo -n ' kadmind'
(sleep 20; kadmind ${stash_flag} >/dev/null 2>&1 &) &
echo -n ' kadmindIV'
(
sleep 20;
${kadmind4_server} ${stash} >/dev/null 2>&1 &
) &
;;
esac
unset stash_flag
;;
esac
case ${kerberos5_server_enable} in
[Yy][Ee][Ss])
echo -n ' kerberos5'
${kerberos5_server} &
case ${kadmind5_server_enable} in
[Yy][Ee][Ss])
echo -n ' kadmind5'
${kadmind5_server} &
;;
esac
;;
esac
case ${pppoed_enable} in
[Yy][Ee][Ss])
if [ -n "${pppoed_provider}" ]; then

View File

@ -686,31 +686,48 @@ network_pass3() {
;;
esac
# Kerberos runs ONLY on the Kerberos server machine
case ${kerberos_server_enable} in
# Kerberos servers run ONLY on the Kerberos server machine
case ${kerberos4_server_enable} in
[Yy][Ee][Ss])
case ${kerberos_stash} in
[Yy][Ee][Ss])
stash_flag=-n
stash=-n
;;
*)
stash_flag=
stash=
;;
esac
echo -n ' kerberos'
kerberos ${stash_flag} >> /var/log/kerberos.log &
echo -n ' kerberosIV'
${kerberos4_server} ${stash} >> /var/log/kerberos.log &
case ${kadmind_server_enable} in
case ${kadmind4_server_enable} in
[Yy][Ee][Ss])
echo -n ' kadmind'
(sleep 20; kadmind ${stash_flag} >/dev/null 2>&1 &) &
echo -n ' kadmindIV'
(
sleep 20;
${kadmind4_server} ${stash} >/dev/null 2>&1 &
) &
;;
esac
unset stash_flag
;;
esac
case ${kerberos5_server_enable} in
[Yy][Ee][Ss])
echo -n ' kerberos5'
${kerberos5_server} &
case ${kadmind5_server_enable} in
[Yy][Ee][Ss])
echo -n ' kadmind5'
${kadmind5_server} &
;;
esac
;;
esac
case ${pppoed_enable} in
[Yy][Ee][Ss])
if [ -n "${pppoed_provider}" ]; then

View File

@ -686,31 +686,48 @@ network_pass3() {
;;
esac
# Kerberos runs ONLY on the Kerberos server machine
case ${kerberos_server_enable} in
# Kerberos servers run ONLY on the Kerberos server machine
case ${kerberos4_server_enable} in
[Yy][Ee][Ss])
case ${kerberos_stash} in
[Yy][Ee][Ss])
stash_flag=-n
stash=-n
;;
*)
stash_flag=
stash=
;;
esac
echo -n ' kerberos'
kerberos ${stash_flag} >> /var/log/kerberos.log &
echo -n ' kerberosIV'
${kerberos4_server} ${stash} >> /var/log/kerberos.log &
case ${kadmind_server_enable} in
case ${kadmind4_server_enable} in
[Yy][Ee][Ss])
echo -n ' kadmind'
(sleep 20; kadmind ${stash_flag} >/dev/null 2>&1 &) &
echo -n ' kadmindIV'
(
sleep 20;
${kadmind4_server} ${stash} >/dev/null 2>&1 &
) &
;;
esac
unset stash_flag
;;
esac
case ${kerberos5_server_enable} in
[Yy][Ee][Ss])
echo -n ' kerberos5'
${kerberos5_server} &
case ${kadmind5_server_enable} in
[Yy][Ee][Ss])
echo -n ' kadmind5'
${kadmind5_server} &
;;
esac
;;
esac
case ${pppoed_enable} in
[Yy][Ee][Ss])
if [ -n "${pppoed_provider}" ]; then

View File

@ -686,31 +686,48 @@ network_pass3() {
;;
esac
# Kerberos runs ONLY on the Kerberos server machine
case ${kerberos_server_enable} in
# Kerberos servers run ONLY on the Kerberos server machine
case ${kerberos4_server_enable} in
[Yy][Ee][Ss])
case ${kerberos_stash} in
[Yy][Ee][Ss])
stash_flag=-n
stash=-n
;;
*)
stash_flag=
stash=
;;
esac
echo -n ' kerberos'
kerberos ${stash_flag} >> /var/log/kerberos.log &
echo -n ' kerberosIV'
${kerberos4_server} ${stash} >> /var/log/kerberos.log &
case ${kadmind_server_enable} in
case ${kadmind4_server_enable} in
[Yy][Ee][Ss])
echo -n ' kadmind'
(sleep 20; kadmind ${stash_flag} >/dev/null 2>&1 &) &
echo -n ' kadmindIV'
(
sleep 20;
${kadmind4_server} ${stash} >/dev/null 2>&1 &
) &
;;
esac
unset stash_flag
;;
esac
case ${kerberos5_server_enable} in
[Yy][Ee][Ss])
echo -n ' kerberos5'
${kerberos5_server} &
case ${kadmind5_server_enable} in
[Yy][Ee][Ss])
echo -n ' kadmind5'
${kadmind5_server} &
;;
esac
;;
esac
case ${pppoed_enable} in
[Yy][Ee][Ss])
if [ -n "${pppoed_provider}" ]; then

View File

@ -686,31 +686,48 @@ network_pass3() {
;;
esac
# Kerberos runs ONLY on the Kerberos server machine
case ${kerberos_server_enable} in
# Kerberos servers run ONLY on the Kerberos server machine
case ${kerberos4_server_enable} in
[Yy][Ee][Ss])
case ${kerberos_stash} in
[Yy][Ee][Ss])
stash_flag=-n
stash=-n
;;
*)
stash_flag=
stash=
;;
esac
echo -n ' kerberos'
kerberos ${stash_flag} >> /var/log/kerberos.log &
echo -n ' kerberosIV'
${kerberos4_server} ${stash} >> /var/log/kerberos.log &
case ${kadmind_server_enable} in
case ${kadmind4_server_enable} in
[Yy][Ee][Ss])
echo -n ' kadmind'
(sleep 20; kadmind ${stash_flag} >/dev/null 2>&1 &) &
echo -n ' kadmindIV'
(
sleep 20;
${kadmind4_server} ${stash} >/dev/null 2>&1 &
) &
;;
esac
unset stash_flag
;;
esac
case ${kerberos5_server_enable} in
[Yy][Ee][Ss])
echo -n ' kerberos5'
${kerberos5_server} &
case ${kadmind5_server_enable} in
[Yy][Ee][Ss])
echo -n ' kadmind5'
${kadmind5_server} &
;;
esac
;;
esac
case ${pppoed_enable} in
[Yy][Ee][Ss])
if [ -n "${pppoed_provider}" ]; then

View File

@ -686,31 +686,48 @@ network_pass3() {
;;
esac
# Kerberos runs ONLY on the Kerberos server machine
case ${kerberos_server_enable} in
# Kerberos servers run ONLY on the Kerberos server machine
case ${kerberos4_server_enable} in
[Yy][Ee][Ss])
case ${kerberos_stash} in
[Yy][Ee][Ss])
stash_flag=-n
stash=-n
;;
*)
stash_flag=
stash=
;;
esac
echo -n ' kerberos'
kerberos ${stash_flag} >> /var/log/kerberos.log &
echo -n ' kerberosIV'
${kerberos4_server} ${stash} >> /var/log/kerberos.log &
case ${kadmind_server_enable} in
case ${kadmind4_server_enable} in
[Yy][Ee][Ss])
echo -n ' kadmind'
(sleep 20; kadmind ${stash_flag} >/dev/null 2>&1 &) &
echo -n ' kadmindIV'
(
sleep 20;
${kadmind4_server} ${stash} >/dev/null 2>&1 &
) &
;;
esac
unset stash_flag
;;
esac
case ${kerberos5_server_enable} in
[Yy][Ee][Ss])
echo -n ' kerberos5'
${kerberos5_server} &
case ${kadmind5_server_enable} in
[Yy][Ee][Ss])
echo -n ' kadmind5'
${kadmind5_server} &
;;
esac
;;
esac
case ${pppoed_enable} in
[Yy][Ee][Ss])
if [ -n "${pppoed_provider}" ]; then