17c478bd9Sstevel@tonic-gate /*
27c478bd9Sstevel@tonic-gate  * WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
37c478bd9Sstevel@tonic-gate  *
47c478bd9Sstevel@tonic-gate  *	Openvision retains the copyright to derivative works of
57c478bd9Sstevel@tonic-gate  *	this source code.  Do *NOT* create a derivative of this
67c478bd9Sstevel@tonic-gate  *	source code before consulting with your legal department.
77c478bd9Sstevel@tonic-gate  *	Do *NOT* integrate *ANY* of this source code into another
87c478bd9Sstevel@tonic-gate  *	product before consulting with your legal department.
97c478bd9Sstevel@tonic-gate  *
107c478bd9Sstevel@tonic-gate  *	For further information, read the top-level Openvision
117c478bd9Sstevel@tonic-gate  *	copyright which is contained in the top-level MIT Kerberos
127c478bd9Sstevel@tonic-gate  *	copyright.
137c478bd9Sstevel@tonic-gate  *
147c478bd9Sstevel@tonic-gate  * WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
157c478bd9Sstevel@tonic-gate  *
167c478bd9Sstevel@tonic-gate  */
177c478bd9Sstevel@tonic-gate 
187c478bd9Sstevel@tonic-gate 
197c478bd9Sstevel@tonic-gate /*
207c478bd9Sstevel@tonic-gate  * Copyright 1993 OpenVision Technologies, Inc., All Rights Reserved.
21*2a8bcb4eSToomas Soome  *
227c478bd9Sstevel@tonic-gate  */
237c478bd9Sstevel@tonic-gate 
247c478bd9Sstevel@tonic-gate /* String table of messages for kadm5_create */
257c478bd9Sstevel@tonic-gate /*
267c478bd9Sstevel@tonic-gate  * I18n HACK. We define gettext(s) to be s so that we can extract the
277c478bd9Sstevel@tonic-gate  * strings here to the .po file. At the end of this file we will undef
287c478bd9Sstevel@tonic-gate  * gettext.
297c478bd9Sstevel@tonic-gate  */
307c478bd9Sstevel@tonic-gate 
317c478bd9Sstevel@tonic-gate #define	gettext(s) s
327c478bd9Sstevel@tonic-gate 
337c478bd9Sstevel@tonic-gate char *str_PARSE_NAME = gettext("while parsing admin principal name.");
347c478bd9Sstevel@tonic-gate 
357c478bd9Sstevel@tonic-gate char *str_HISTORY_PARSE_NAME =
367c478bd9Sstevel@tonic-gate gettext("while parsing admin history principal name.");
377c478bd9Sstevel@tonic-gate 
387c478bd9Sstevel@tonic-gate char *str_ADMIN_PRINC_EXISTS =
397c478bd9Sstevel@tonic-gate gettext("Warning! Admin principal already exists.");
407c478bd9Sstevel@tonic-gate 
417c478bd9Sstevel@tonic-gate char *str_CHANGEPW_PRINC_EXISTS =
427c478bd9Sstevel@tonic-gate gettext("Warning! Changepw principal already exists.");
437c478bd9Sstevel@tonic-gate 
447c478bd9Sstevel@tonic-gate char *str_HISTORY_PRINC_EXISTS =
457c478bd9Sstevel@tonic-gate gettext("Warning! Admin history principal already exists.");
467c478bd9Sstevel@tonic-gate 
477c478bd9Sstevel@tonic-gate char *str_ADMIN_PRINC_WRONG_ATTRS =
487c478bd9Sstevel@tonic-gate gettext("Warning! Admin principal has incorrect attributes.\n"
497c478bd9Sstevel@tonic-gate 	"\tDISALLOW_TGT should be set, and max_life should be three hours.\n"
507c478bd9Sstevel@tonic-gate 	"\tThis program will leave them as-is, but beware!.");
517c478bd9Sstevel@tonic-gate 
527c478bd9Sstevel@tonic-gate char *str_CHANGEPW_PRINC_WRONG_ATTRS =
537c478bd9Sstevel@tonic-gate gettext("Warning! Changepw principal has incorrect attributes.\n"
547c478bd9Sstevel@tonic-gate 	"\tDISALLOW_TGT and PW_CHANGE_SERVICE should both be set, and "
557c478bd9Sstevel@tonic-gate 	"max_life should be five minutes.\n"
567c478bd9Sstevel@tonic-gate 	"\tThis program will leave them as-is, but beware!.");
577c478bd9Sstevel@tonic-gate 
587c478bd9Sstevel@tonic-gate char *str_HISTORY_PRINC_WRONG_ATTRS =
597c478bd9Sstevel@tonic-gate gettext("Warning! Admin history principal has incorrect attributes.\n"
607c478bd9Sstevel@tonic-gate 	"\tDISALLOW_ALL_TIX should be set.\n"
617c478bd9Sstevel@tonic-gate 	"\tThis program will leave it as-is, but beware!.");
627c478bd9Sstevel@tonic-gate 
637c478bd9Sstevel@tonic-gate char *str_CREATED_PRINC_DB =
647c478bd9Sstevel@tonic-gate gettext("%s: Admin principal database created "
657c478bd9Sstevel@tonic-gate 	"(or it already existed).\n");	/* whoami */
667c478bd9Sstevel@tonic-gate 
677c478bd9Sstevel@tonic-gate char *str_CREATED_POLICY_DB =
687c478bd9Sstevel@tonic-gate gettext("%s: Admin policy database created "
697c478bd9Sstevel@tonic-gate 	"(or it already existed).\n");	/* whoami */
707c478bd9Sstevel@tonic-gate 
717c478bd9Sstevel@tonic-gate char *str_RANDOM_KEY =
727c478bd9Sstevel@tonic-gate gettext("while calling random key for %s.");	/* principal name */
737c478bd9Sstevel@tonic-gate 
747c478bd9Sstevel@tonic-gate char *str_ENCRYPT_KEY =
757c478bd9Sstevel@tonic-gate gettext("while calling encrypt key for %s.");	/* principal name */
767c478bd9Sstevel@tonic-gate 
777c478bd9Sstevel@tonic-gate char *str_PUT_PRINC =
787c478bd9Sstevel@tonic-gate gettext("while storing %s in Kerberos database.");	/* principal name */
797c478bd9Sstevel@tonic-gate 
807c478bd9Sstevel@tonic-gate char *str_CREATING_POLICY_DB =
817c478bd9Sstevel@tonic-gate gettext("while creating/opening admin policy database.");
827c478bd9Sstevel@tonic-gate 
837c478bd9Sstevel@tonic-gate char *str_CLOSING_POLICY_DB = gettext("while closing admin policy database.");
847c478bd9Sstevel@tonic-gate 
857c478bd9Sstevel@tonic-gate char *str_CREATING_PRINC_DB =
867c478bd9Sstevel@tonic-gate gettext("while creating/opening admin principal database.");
877c478bd9Sstevel@tonic-gate 
887c478bd9Sstevel@tonic-gate char *str_CLOSING_PRINC_DB =
897c478bd9Sstevel@tonic-gate gettext("while closing admin principal database.");
907c478bd9Sstevel@tonic-gate 
917c478bd9Sstevel@tonic-gate char *str_CREATING_PRINC_ENTRY =
927c478bd9Sstevel@tonic-gate gettext("while creating admin principal "
937c478bd9Sstevel@tonic-gate 	"database entry for %s.");	/* princ_name */
947c478bd9Sstevel@tonic-gate 
957c478bd9Sstevel@tonic-gate char *str_A_PRINC = gettext("a principal");
967c478bd9Sstevel@tonic-gate 
977c478bd9Sstevel@tonic-gate char *str_UNPARSE_PRINC = gettext("while unparsing principal.");
987c478bd9Sstevel@tonic-gate 
997c478bd9Sstevel@tonic-gate char *str_CREATED_PRINC =
1007c478bd9Sstevel@tonic-gate gettext("%s: Created %s principal.\n");	/* whoami, princ_name */
1017c478bd9Sstevel@tonic-gate 
1027c478bd9Sstevel@tonic-gate char *str_INIT_KDB = gettext("while initializing kdb.");
1037c478bd9Sstevel@tonic-gate 
104*2a8bcb4eSToomas Soome char *str_NO_KDB =
1057c478bd9Sstevel@tonic-gate gettext("while initializing kdb.\nThe Kerberos KDC database "
1067c478bd9Sstevel@tonic-gate 	"needs to exist in /krb5.\nIf you haven't run "
1077c478bd9Sstevel@tonic-gate 	"kdb5_create you need to do so before running this command.");
1087c478bd9Sstevel@tonic-gate 
1097c478bd9Sstevel@tonic-gate 
1107c478bd9Sstevel@tonic-gate char *str_INIT_RANDOM_KEY =
1117c478bd9Sstevel@tonic-gate gettext("while initializing random key generator.");
1127c478bd9Sstevel@tonic-gate 
113*2a8bcb4eSToomas Soome char *str_TOO_MANY_ADMIN_PRINC =
1147c478bd9Sstevel@tonic-gate gettext("while fetching admin princ. Can only have one admin principal.");
1157c478bd9Sstevel@tonic-gate 
116*2a8bcb4eSToomas Soome char *str_TOO_MANY_CHANGEPW_PRINC =
1177c478bd9Sstevel@tonic-gate gettext("while fetching changepw princ. "
1187c478bd9Sstevel@tonic-gate 	"Can only have one changepw principal.");
1197c478bd9Sstevel@tonic-gate 
120*2a8bcb4eSToomas Soome char *str_TOO_MANY_HIST_PRINC =
1217c478bd9Sstevel@tonic-gate gettext("while fetching history princ. "
1227c478bd9Sstevel@tonic-gate 	"Can only have one history principal.");
1237c478bd9Sstevel@tonic-gate 
1247c478bd9Sstevel@tonic-gate char *str_WHILE_DESTROYING_ADMIN_SESSION =
1257c478bd9Sstevel@tonic-gate gettext("while closing session with admin server and destroying tickets.");
1267c478bd9Sstevel@tonic-gate 
1277c478bd9Sstevel@tonic-gate #undef gettext
128