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