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