10Sstevel@tonic-gate #pragma ident "%Z%%M% %I% %E% SMI" 20Sstevel@tonic-gate 30Sstevel@tonic-gate /* 40Sstevel@tonic-gate * WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING 50Sstevel@tonic-gate * 60Sstevel@tonic-gate * Openvision retains the copyright to derivative works of 70Sstevel@tonic-gate * this source code. Do *NOT* create a derivative of this 80Sstevel@tonic-gate * source code before consulting with your legal department. 90Sstevel@tonic-gate * Do *NOT* integrate *ANY* of this source code into another 100Sstevel@tonic-gate * product before consulting with your legal department. 110Sstevel@tonic-gate * 120Sstevel@tonic-gate * For further information, read the top-level Openvision 130Sstevel@tonic-gate * copyright which is contained in the top-level MIT Kerberos 140Sstevel@tonic-gate * copyright. 150Sstevel@tonic-gate * 160Sstevel@tonic-gate * WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING 170Sstevel@tonic-gate * 180Sstevel@tonic-gate */ 190Sstevel@tonic-gate 200Sstevel@tonic-gate 210Sstevel@tonic-gate /* 220Sstevel@tonic-gate * Copyright 1993 OpenVision Technologies, Inc., All Rights Reserved. 23*2881Smp153739 * 240Sstevel@tonic-gate */ 250Sstevel@tonic-gate 260Sstevel@tonic-gate /* String table of messages for kadm5_create */ 270Sstevel@tonic-gate /* 280Sstevel@tonic-gate * I18n HACK. We define gettext(s) to be s so that we can extract the 290Sstevel@tonic-gate * strings here to the .po file. At the end of this file we will undef 300Sstevel@tonic-gate * gettext. 310Sstevel@tonic-gate */ 320Sstevel@tonic-gate 330Sstevel@tonic-gate #define gettext(s) s 340Sstevel@tonic-gate 350Sstevel@tonic-gate char *str_PARSE_NAME = gettext("while parsing admin principal name."); 360Sstevel@tonic-gate 370Sstevel@tonic-gate char *str_HISTORY_PARSE_NAME = 380Sstevel@tonic-gate gettext("while parsing admin history principal name."); 390Sstevel@tonic-gate 400Sstevel@tonic-gate char *str_ADMIN_PRINC_EXISTS = 410Sstevel@tonic-gate gettext("Warning! Admin principal already exists."); 420Sstevel@tonic-gate 430Sstevel@tonic-gate char *str_CHANGEPW_PRINC_EXISTS = 440Sstevel@tonic-gate gettext("Warning! Changepw principal already exists."); 450Sstevel@tonic-gate 460Sstevel@tonic-gate char *str_HISTORY_PRINC_EXISTS = 470Sstevel@tonic-gate gettext("Warning! Admin history principal already exists."); 480Sstevel@tonic-gate 490Sstevel@tonic-gate char *str_ADMIN_PRINC_WRONG_ATTRS = 500Sstevel@tonic-gate gettext("Warning! Admin principal has incorrect attributes.\n" 510Sstevel@tonic-gate "\tDISALLOW_TGT should be set, and max_life should be three hours.\n" 520Sstevel@tonic-gate "\tThis program will leave them as-is, but beware!."); 530Sstevel@tonic-gate 540Sstevel@tonic-gate char *str_CHANGEPW_PRINC_WRONG_ATTRS = 550Sstevel@tonic-gate gettext("Warning! Changepw principal has incorrect attributes.\n" 560Sstevel@tonic-gate "\tDISALLOW_TGT and PW_CHANGE_SERVICE should both be set, and " 570Sstevel@tonic-gate "max_life should be five minutes.\n" 580Sstevel@tonic-gate "\tThis program will leave them as-is, but beware!."); 590Sstevel@tonic-gate 600Sstevel@tonic-gate char *str_HISTORY_PRINC_WRONG_ATTRS = 610Sstevel@tonic-gate gettext("Warning! Admin history principal has incorrect attributes.\n" 620Sstevel@tonic-gate "\tDISALLOW_ALL_TIX should be set.\n" 630Sstevel@tonic-gate "\tThis program will leave it as-is, but beware!."); 640Sstevel@tonic-gate 650Sstevel@tonic-gate char *str_CREATED_PRINC_DB = 660Sstevel@tonic-gate gettext("%s: Admin principal database created " 670Sstevel@tonic-gate "(or it already existed).\n"); /* whoami */ 680Sstevel@tonic-gate 690Sstevel@tonic-gate char *str_CREATED_POLICY_DB = 700Sstevel@tonic-gate gettext("%s: Admin policy database created " 710Sstevel@tonic-gate "(or it already existed).\n"); /* whoami */ 720Sstevel@tonic-gate 730Sstevel@tonic-gate char *str_RANDOM_KEY = 740Sstevel@tonic-gate gettext("while calling random key for %s."); /* principal name */ 750Sstevel@tonic-gate 760Sstevel@tonic-gate char *str_ENCRYPT_KEY = 770Sstevel@tonic-gate gettext("while calling encrypt key for %s."); /* principal name */ 780Sstevel@tonic-gate 790Sstevel@tonic-gate char *str_PUT_PRINC = 800Sstevel@tonic-gate gettext("while storing %s in Kerberos database."); /* principal name */ 810Sstevel@tonic-gate 820Sstevel@tonic-gate char *str_CREATING_POLICY_DB = 830Sstevel@tonic-gate gettext("while creating/opening admin policy database."); 840Sstevel@tonic-gate 850Sstevel@tonic-gate char *str_CLOSING_POLICY_DB = gettext("while closing admin policy database."); 860Sstevel@tonic-gate 870Sstevel@tonic-gate char *str_CREATING_PRINC_DB = 880Sstevel@tonic-gate gettext("while creating/opening admin principal database."); 890Sstevel@tonic-gate 900Sstevel@tonic-gate char *str_CLOSING_PRINC_DB = 910Sstevel@tonic-gate gettext("while closing admin principal database."); 920Sstevel@tonic-gate 930Sstevel@tonic-gate char *str_CREATING_PRINC_ENTRY = 940Sstevel@tonic-gate gettext("while creating admin principal " 950Sstevel@tonic-gate "database entry for %s."); /* princ_name */ 960Sstevel@tonic-gate 970Sstevel@tonic-gate char *str_A_PRINC = gettext("a principal"); 980Sstevel@tonic-gate 990Sstevel@tonic-gate char *str_UNPARSE_PRINC = gettext("while unparsing principal."); 1000Sstevel@tonic-gate 1010Sstevel@tonic-gate char *str_CREATED_PRINC = 1020Sstevel@tonic-gate gettext("%s: Created %s principal.\n"); /* whoami, princ_name */ 1030Sstevel@tonic-gate 1040Sstevel@tonic-gate char *str_INIT_KDB = gettext("while initializing kdb."); 1050Sstevel@tonic-gate 106*2881Smp153739 char *str_NO_KDB = 1070Sstevel@tonic-gate gettext("while initializing kdb.\nThe Kerberos KDC database " 1080Sstevel@tonic-gate "needs to exist in /krb5.\nIf you haven't run " 1090Sstevel@tonic-gate "kdb5_create you need to do so before running this command."); 1100Sstevel@tonic-gate 1110Sstevel@tonic-gate 1120Sstevel@tonic-gate char *str_INIT_RANDOM_KEY = 1130Sstevel@tonic-gate gettext("while initializing random key generator."); 1140Sstevel@tonic-gate 115*2881Smp153739 char *str_TOO_MANY_ADMIN_PRINC = 1160Sstevel@tonic-gate gettext("while fetching admin princ. Can only have one admin principal."); 1170Sstevel@tonic-gate 118*2881Smp153739 char *str_TOO_MANY_CHANGEPW_PRINC = 1190Sstevel@tonic-gate gettext("while fetching changepw princ. " 1200Sstevel@tonic-gate "Can only have one changepw principal."); 1210Sstevel@tonic-gate 122*2881Smp153739 char *str_TOO_MANY_HIST_PRINC = 1230Sstevel@tonic-gate gettext("while fetching history princ. " 1240Sstevel@tonic-gate "Can only have one history principal."); 1250Sstevel@tonic-gate 1260Sstevel@tonic-gate char *str_WHILE_DESTROYING_ADMIN_SESSION = 1270Sstevel@tonic-gate gettext("while closing session with admin server and destroying tickets."); 1280Sstevel@tonic-gate 1290Sstevel@tonic-gate #undef gettext 130