setup-for-mit revision 5864
dc0d8d65d35787d30a275895ccad8d8e1b58a5ednd# CDDL HEADER START
6ae232055d4d8a97267517c5e50074c2c819941and# The contents of this file are subject to the terms of the
dc0d8d65d35787d30a275895ccad8d8e1b58a5ednd# Common Development and Distribution License (the "License").
6ae232055d4d8a97267517c5e50074c2c819941and# You may not use this file except in compliance with the License.
a78048ccbdb6256da15e6b0e7e95355e480c2301nd# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
a78048ccbdb6256da15e6b0e7e95355e480c2301nd# See the License for the specific language governing permissions
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
pkg://solaris/security/kerberos-5 \
if ! $force
if [[ -n $master_kdc ]]
# kadmin/ktadd to add the service principal to the /etc/krb5/krb5.keytab
if [[ -z $master_kdc ]]
if [[ -n "$kt_config_file" ]]
if ! $force
print "Added $service/$fqdn to /etc/krb5/krb5.keytab"
print "\nAdded $service/$host to $hostkeytab"
done < $kt_config_file
if [[ -n "$crossrealm" ]]
print 'Enabled krb5 sec in /etc/nfssec.conf.'
print 'Copy /etc/nfssec.conf to all systems doing NFS sec=krb5*.'
cat <<-EOF
print ${kt_transfer_command[i]}