Lines Matching refs:service_princ
129 typeset service_princ getprincsubcommand anksubcommand ktaddsubcommand
137 service_princ=$(echo "${svc}/${listentry}")
138 getprincsubcommand="getprinc $service_princ"
139 anksubcommand="addprinc -randkey $service_princ"
140 ktaddsubcommand="ktadd $service_princ"
141 ktremsubcommand="ktrem $service_princ all"
153 egrep -s "$(gettext "add_principal: Principal or policy already exists while creating \"$service_princ@$realm\".")" $TMP_FILE
156 egrep -s "$(gettext "Principal \"$service_princ@$realm\" created.")" $TMP_FILE
160 printf "$(gettext "%s entry ADDED to KDC database").\n" $service_princ
163 printf "\n$(gettext "kadmin: add_principal of %s failed, exiting").\n" $service_princ >&2
167 printf "$(gettext "%s entry already exists in KDC database").\n" $service_princ >&2
171 egrep -s "$service_princ@$realm" $TMP_FILE
173 printf "$(gettext "%s entry already present in keytab").\n" $service_princ >&2
183 printf "\n$(gettext "kadmin: ktadd of %s failed, exiting").\n" $service_princ >&2
186 printf "$(gettext "%s entry ADDED to keytab").\n" $service_princ