2 * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
3 * Use is subject to license terms.
6 #pragma ident "%Z%%M% %I% %E% SMI"
10 kpws_error_table(long errorno
) {
14 return(dgettext(TEXT_DOMAIN
,
15 "Usage: kpasswd [principal_name]."));
17 return(dgettext(TEXT_DOMAIN
,
18 "Kerberos principal name %s is not recognized."));
20 return(dgettext(TEXT_DOMAIN
,
21 "while reading principal name from credential cache."));
23 return(dgettext(TEXT_DOMAIN
,
24 "Old Kerberos password is incorrect. Please try again."));
26 return(dgettext(TEXT_DOMAIN
,
27 "Cannot establish a session with the Kerberos "
28 "administrative server for realm %s. %s."));
30 return(dgettext(TEXT_DOMAIN
,
31 "New passwords do not match - password not changed.\n"));
33 return(dgettext(TEXT_DOMAIN
,
34 "Kerberos password changed.\n"));
36 return(dgettext(TEXT_DOMAIN
,
37 "Password not changed."));
39 return(dgettext(TEXT_DOMAIN
,
40 "when parsing name %s."));
42 return(dgettext(TEXT_DOMAIN
,
43 "when unparsing name."));
45 return(dgettext(TEXT_DOMAIN
,
46 "Unable to identify user from password file."));
48 return(dgettext(TEXT_DOMAIN
,
49 "Changing password for %s."));
51 return(dgettext(TEXT_DOMAIN
,
54 return(dgettext(TEXT_DOMAIN
,
55 "while reading new password."));
57 return(dgettext(TEXT_DOMAIN
,
58 "You must type a password. "
59 "Passwords must be at least one character long."));
61 return(dgettext(TEXT_DOMAIN
,
62 "while trying to change password."));
64 return(dgettext(TEXT_DOMAIN
,
65 "while closing session with admin server and "
66 "destroying tickets."));
68 return(dgettext(TEXT_DOMAIN
,
69 "while freeing admin principal entry"));
71 return(dgettext(TEXT_DOMAIN
,
72 "while freeing admin policy entry"));
74 return(dgettext(TEXT_DOMAIN
,
75 "Could not get password policy information for principal %s."));
77 return(dgettext(TEXT_DOMAIN
,
78 "%s's password is controlled by the policy %s which\n"
79 "requires a minimum of %u characters from at least %u classes \n"
80 "(the five classes are lowercase, uppercase, numbers, punctuation,\n"
81 "and all other characters)."));
83 return("unknown error");