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