xref: /titanic_50/usr/src/cmd/krb5/kadmin/dbutil/string_table.c (revision 5c51f1241dbbdf2656d0e10011981411ed0c9673)
1 #pragma ident	"%Z%%M%	%I%	%E% SMI"
2 
3 /*
4  * WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
5  *
6  *	Openvision retains the copyright to derivative works of
7  *	this source code.  Do *NOT* create a derivative of this
8  *	source code before consulting with your legal department.
9  *	Do *NOT* integrate *ANY* of this source code into another
10  *	product before consulting with your legal department.
11  *
12  *	For further information, read the top-level Openvision
13  *	copyright which is contained in the top-level MIT Kerberos
14  *	copyright.
15  *
16  * WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
17  *
18  */
19 
20 
21 /*
22  * Copyright 1993 OpenVision Technologies, Inc., All Rights Reserved.
23  *
24  */
25 
26 /* String table of messages for kadm5_create */
27 /*
28  * I18n HACK. We define gettext(s) to be s so that we can extract the
29  * strings here to the .po file. At the end of this file we will undef
30  * gettext.
31  */
32 
33 #define	gettext(s) s
34 
35 char *str_PARSE_NAME = gettext("while parsing admin principal name.");
36 
37 char *str_HISTORY_PARSE_NAME =
38 gettext("while parsing admin history principal name.");
39 
40 char *str_ADMIN_PRINC_EXISTS =
41 gettext("Warning! Admin principal already exists.");
42 
43 char *str_CHANGEPW_PRINC_EXISTS =
44 gettext("Warning! Changepw principal already exists.");
45 
46 char *str_HISTORY_PRINC_EXISTS =
47 gettext("Warning! Admin history principal already exists.");
48 
49 char *str_ADMIN_PRINC_WRONG_ATTRS =
50 gettext("Warning! Admin principal has incorrect attributes.\n"
51 	"\tDISALLOW_TGT should be set, and max_life should be three hours.\n"
52 	"\tThis program will leave them as-is, but beware!.");
53 
54 char *str_CHANGEPW_PRINC_WRONG_ATTRS =
55 gettext("Warning! Changepw principal has incorrect attributes.\n"
56 	"\tDISALLOW_TGT and PW_CHANGE_SERVICE should both be set, and "
57 	"max_life should be five minutes.\n"
58 	"\tThis program will leave them as-is, but beware!.");
59 
60 char *str_HISTORY_PRINC_WRONG_ATTRS =
61 gettext("Warning! Admin history principal has incorrect attributes.\n"
62 	"\tDISALLOW_ALL_TIX should be set.\n"
63 	"\tThis program will leave it as-is, but beware!.");
64 
65 char *str_CREATED_PRINC_DB =
66 gettext("%s: Admin principal database created "
67 	"(or it already existed).\n");	/* whoami */
68 
69 char *str_CREATED_POLICY_DB =
70 gettext("%s: Admin policy database created "
71 	"(or it already existed).\n");	/* whoami */
72 
73 char *str_RANDOM_KEY =
74 gettext("while calling random key for %s.");	/* principal name */
75 
76 char *str_ENCRYPT_KEY =
77 gettext("while calling encrypt key for %s.");	/* principal name */
78 
79 char *str_PUT_PRINC =
80 gettext("while storing %s in Kerberos database.");	/* principal name */
81 
82 char *str_CREATING_POLICY_DB =
83 gettext("while creating/opening admin policy database.");
84 
85 char *str_CLOSING_POLICY_DB = gettext("while closing admin policy database.");
86 
87 char *str_CREATING_PRINC_DB =
88 gettext("while creating/opening admin principal database.");
89 
90 char *str_CLOSING_PRINC_DB =
91 gettext("while closing admin principal database.");
92 
93 char *str_CREATING_PRINC_ENTRY =
94 gettext("while creating admin principal "
95 	"database entry for %s.");	/* princ_name */
96 
97 char *str_A_PRINC = gettext("a principal");
98 
99 char *str_UNPARSE_PRINC = gettext("while unparsing principal.");
100 
101 char *str_CREATED_PRINC =
102 gettext("%s: Created %s principal.\n");	/* whoami, princ_name */
103 
104 char *str_INIT_KDB = gettext("while initializing kdb.");
105 
106 char *str_NO_KDB =
107 gettext("while initializing kdb.\nThe Kerberos KDC database "
108 	"needs to exist in /krb5.\nIf you haven't run "
109 	"kdb5_create you need to do so before running this command.");
110 
111 
112 char *str_INIT_RANDOM_KEY =
113 gettext("while initializing random key generator.");
114 
115 char *str_TOO_MANY_ADMIN_PRINC =
116 gettext("while fetching admin princ. Can only have one admin principal.");
117 
118 char *str_TOO_MANY_CHANGEPW_PRINC =
119 gettext("while fetching changepw princ. "
120 	"Can only have one changepw principal.");
121 
122 char *str_TOO_MANY_HIST_PRINC =
123 gettext("while fetching history princ. "
124 	"Can only have one history principal.");
125 
126 char *str_WHILE_DESTROYING_ADMIN_SESSION =
127 gettext("while closing session with admin server and destroying tickets.");
128 
129 #undef gettext
130