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 * $Header: /afs/athena.mit.edu/astaff/project/krbdev/.cvsroot/src/kadmin/\ 25 * dbutil/string_table.c,v 1.3 1996/08/05 18:38:26 bjaspan Exp $ 26 */ 27 28 #if !defined(lint) && !defined(__CODECENTER__) 29 static char *rcsid = "$Header: /afs/athena.mit.edu/astaff/project/krbdev/" 30 ".cvsroot/src/kadmin/dbutil/string_table.c,v 1.3 " 31 "1996/08/05 18:38:26 bjaspan Exp $"; 32 33 #endif 34 35 /* String table of messages for kadm5_create */ 36 /* 37 * I18n HACK. We define gettext(s) to be s so that we can extract the 38 * strings here to the .po file. At the end of this file we will undef 39 * gettext. 40 */ 41 42 #define gettext(s) s 43 44 char *str_INITING_KCONTEXT = 45 gettext("while initializing the kerberos context"); 46 47 char *str_PARSE_NAME = gettext("while parsing admin principal name."); 48 49 char *str_HISTORY_PARSE_NAME = 50 gettext("while parsing admin history principal name."); 51 52 char *str_ADMIN_PRINC_EXISTS = 53 gettext("Warning! Admin principal already exists."); 54 55 char *str_CHANGEPW_PRINC_EXISTS = 56 gettext("Warning! Changepw principal already exists."); 57 58 char *str_HISTORY_PRINC_EXISTS = 59 gettext("Warning! Admin history principal already exists."); 60 61 char *str_ADMIN_PRINC_WRONG_ATTRS = 62 gettext("Warning! Admin principal has incorrect attributes.\n" 63 "\tDISALLOW_TGT should be set, and max_life should be three hours.\n" 64 "\tThis program will leave them as-is, but beware!."); 65 66 char *str_CHANGEPW_PRINC_WRONG_ATTRS = 67 gettext("Warning! Changepw principal has incorrect attributes.\n" 68 "\tDISALLOW_TGT and PW_CHANGE_SERVICE should both be set, and " 69 "max_life should be five minutes.\n" 70 "\tThis program will leave them as-is, but beware!."); 71 72 char *str_HISTORY_PRINC_WRONG_ATTRS = 73 gettext("Warning! Admin history principal has incorrect attributes.\n" 74 "\tDISALLOW_ALL_TIX should be set.\n" 75 "\tThis program will leave it as-is, but beware!."); 76 77 char *str_CREATED_PRINC_DB = 78 gettext("%s: Admin principal database created " 79 "(or it already existed).\n"); /* whoami */ 80 81 char *str_CREATED_POLICY_DB = 82 gettext("%s: Admin policy database created " 83 "(or it already existed).\n"); /* whoami */ 84 85 char *str_RANDOM_KEY = 86 gettext("while calling random key for %s."); /* principal name */ 87 88 char *str_ENCRYPT_KEY = 89 gettext("while calling encrypt key for %s."); /* principal name */ 90 91 char *str_PUT_PRINC = 92 gettext("while storing %s in Kerberos database."); /* principal name */ 93 94 char *str_CREATING_POLICY_DB = 95 gettext("while creating/opening admin policy database."); 96 97 char *str_CLOSING_POLICY_DB = gettext("while closing admin policy database."); 98 99 char *str_CREATING_PRINC_DB = 100 gettext("while creating/opening admin principal database."); 101 102 char *str_CLOSING_PRINC_DB = 103 gettext("while closing admin principal database."); 104 105 char *str_CREATING_PRINC_ENTRY = 106 gettext("while creating admin principal " 107 "database entry for %s."); /* princ_name */ 108 109 char *str_A_PRINC = gettext("a principal"); 110 111 char *str_UNPARSE_PRINC = gettext("while unparsing principal."); 112 113 char *str_CREATED_PRINC = 114 gettext("%s: Created %s principal.\n"); /* whoami, princ_name */ 115 116 char *str_INIT_KDB = gettext("while initializing kdb."); 117 118 char *str_NO_KDB = 119 gettext("while initializing kdb.\nThe Kerberos KDC database " 120 "needs to exist in /krb5.\nIf you haven't run " 121 "kdb5_create you need to do so before running this command."); 122 123 124 char *str_INIT_RANDOM_KEY = 125 gettext("while initializing random key generator."); 126 127 char *str_TOO_MANY_ADMIN_PRINC = 128 gettext("while fetching admin princ. Can only have one admin principal."); 129 130 char *str_TOO_MANY_CHANGEPW_PRINC = 131 gettext("while fetching changepw princ. " 132 "Can only have one changepw principal."); 133 134 char *str_TOO_MANY_HIST_PRINC = 135 gettext("while fetching history princ. " 136 "Can only have one history principal."); 137 138 char *str_WHILE_DESTROYING_ADMIN_SESSION = 139 gettext("while closing session with admin server and destroying tickets."); 140 141 #undef gettext 142