Lines Matching refs:host
101 while read host services
103 if [[ "$host" == "#*" ]]
108 if [[ "$host" != "localhost" ]]
110 hostkeytab="/var/run/${host}.keytab"
112 kt_transfer_command[num_keytabs]="scp $hostkeytab ${host}:/etc/krb5/krb5.keytab"
116 if [[ "$host" == "localhost" ]]
123 # add service to $host's keytab
124 kadmin.local -q "addprinc -randkey $service/$host"
125 kadmin.local -q "ktadd -k $hostkeytab $service/$host"
126 print "\nAdded $service/$host to $hostkeytab"