diff options
author | markm <markm@FreeBSD.org> | 2001-07-28 19:57:57 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 2001-07-28 19:57:57 +0000 |
commit | 22aa258b312537f376d9431e0630e07a16311393 (patch) | |
tree | b639a98544e15e39ec93b1ee170d9d607308dac9 /etc/rc.d | |
parent | 3d58155b67c8fd75436d63fdedc5d6220be0e563 (diff) | |
download | FreeBSD-src-22aa258b312537f376d9431e0630e07a16311393.zip FreeBSD-src-22aa258b312537f376d9431e0630e07a16311393.tar.gz |
Upgraded launchpad for kerberos. Noe kerberos IV OR kerberos 5
may be started at boot for kerberos servers.
Diffstat (limited to 'etc/rc.d')
-rw-r--r-- | etc/rc.d/netoptions | 35 | ||||
-rw-r--r-- | etc/rc.d/network1 | 35 | ||||
-rw-r--r-- | etc/rc.d/network2 | 35 | ||||
-rw-r--r-- | etc/rc.d/network3 | 35 | ||||
-rw-r--r-- | etc/rc.d/routing | 35 |
5 files changed, 130 insertions, 45 deletions
diff --git a/etc/rc.d/netoptions b/etc/rc.d/netoptions index 413dc4f..86db5ea 100644 --- a/etc/rc.d/netoptions +++ b/etc/rc.d/netoptions @@ -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 diff --git a/etc/rc.d/network1 b/etc/rc.d/network1 index 413dc4f..86db5ea 100644 --- a/etc/rc.d/network1 +++ b/etc/rc.d/network1 @@ -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 diff --git a/etc/rc.d/network2 b/etc/rc.d/network2 index 413dc4f..86db5ea 100644 --- a/etc/rc.d/network2 +++ b/etc/rc.d/network2 @@ -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 diff --git a/etc/rc.d/network3 b/etc/rc.d/network3 index 413dc4f..86db5ea 100644 --- a/etc/rc.d/network3 +++ b/etc/rc.d/network3 @@ -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 diff --git a/etc/rc.d/routing b/etc/rc.d/routing index 413dc4f..86db5ea 100644 --- a/etc/rc.d/routing +++ b/etc/rc.d/routing @@ -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 |