Lines Matching refs:host
98 while read host services
100 if [[ "$host" == "#*" ]]
105 if [[ "$host" != "localhost" ]]
107 hostkeytab="/var/run/${host}.keytab"
109 kt_transfer_command[num_keytabs]="scp $hostkeytab ${host}:/etc/krb5/krb5.keytab"
113 if [[ "$host" == "localhost" ]]
120 # add service to $host's keytab
121 kadmin.local -q "addprinc -randkey $service/$host"
122 kadmin.local -q "ktadd -k $hostkeytab $service/$host"
123 print "\nAdded $service/$host to $hostkeytab"