• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * heimdal2.c:
3  * This file is automatically generated; please do not edit it.
4  */
5 
6 #include <stdlib.h>
7 
8 #define N_(a) a
9 
10 static const char * const text[] = {
11 	N_("$Id: kadm_err.et,v 1.5 1998/01/16 23:11:27 joda Exp $"),
12 	N_("Cannot fetch local realm"),
13 	N_("Unable to fetch credentials"),
14 	N_("Bad key supplied"),
15 	N_("Can't encrypt data"),
16 	N_("Cannot encode/decode authentication info"),
17 	N_("Principal attempting change is in wrong realm"),
18 	N_("Packet is too large"),
19 	N_("Version number is incorrect"),
20 	N_("Checksum does not match"),
21 	N_("Unsealing private data failed"),
22 	N_("Unsupported operation"),
23 	N_("Could not find administrating host"),
24 	N_("Administrating host name is unknown"),
25 	N_("Could not find service name in services database"),
26 	N_("Could not create socket"),
27 	N_("Could not connect to server"),
28 	N_("Could not fetch local socket address"),
29 	N_("Could not fetch master key"),
30 	N_("Could not verify master key"),
31 	N_("Entry already exists in database"),
32 	N_("Database store error"),
33 	N_("Database read error"),
34 	N_("Insufficient access to perform requested operation"),
35 	N_("Data is available for return to client"),
36 	N_("No such entry in the database"),
37 	N_("Memory exhausted"),
38 	N_("Could not fetch system hostname"),
39 	N_("Could not bind port"),
40 	N_("Length mismatch problem"),
41 	N_("Illegal use of wildcard"),
42 	N_("Database is locked or in use--try again later"),
43 	N_("Insecure password rejected"),
44 	N_("Cleartext password and DES key did not match"),
45 	N_("Invalid principal for change srvtab request"),
46 	N_("Attempt do delete immutable principal"),
47 	N_("Reserved kadm error (36)"),
48 	N_("Reserved kadm error (37)"),
49 	N_("Reserved kadm error (38)"),
50 	N_("Reserved kadm error (39)"),
51 	N_("Reserved kadm error (40)"),
52 	N_("Reserved kadm error (41)"),
53 	N_("Reserved kadm error (42)"),
54 	N_("Reserved kadm error (43)"),
55 	N_("Reserved kadm error (44)"),
56 	N_("Reserved kadm error (45)"),
57 	N_("Reserved kadm error (46)"),
58 	N_("Reserved kadm error (47)"),
59 	N_("Reserved kadm error (48)"),
60 	N_("Reserved kadm error (49)"),
61 	N_("Reserved kadm error (50)"),
62 	N_("Reserved kadm error (51)"),
63 	N_("Reserved kadm error (52)"),
64 	N_("Reserved kadm error (53)"),
65 	N_("Reserved kadm error (54)"),
66 	N_("Reserved kadm error (55)"),
67 	N_("Reserved kadm error (56)"),
68 	N_("Reserved kadm error (57)"),
69 	N_("Reserved kadm error (58)"),
70 	N_("Reserved kadm error (59)"),
71 	N_("Reserved kadm error (60)"),
72 	N_("Reserved kadm error (61)"),
73 	N_("Reserved kadm error (62)"),
74 	N_("Reserved kadm error (63)"),
75 	N_("Null passwords are not allowed"),
76 	N_("Password is too short"),
77 	N_("Too few character classes in password"),
78 	N_("Password is in the password dictionary"),
79     0
80 };
81 
82 struct error_table {
83     char const * const * msgs;
84     long base;
85     int n_msgs;
86 };
87 struct et_list {
88     struct et_list *next;
89     const struct error_table * table;
90 };
91 extern struct et_list *_et_list;
92 
93 const struct error_table et_kadm_error_table = { text, -1783126272L, 68 };
94 
95 static struct et_list link = { 0, 0 };
96 
97 void initialize_kadm_error_table_r(struct et_list **list);
98 void initialize_kadm_error_table(void);
99 
initialize_kadm_error_table(void)100 void initialize_kadm_error_table(void) {
101     initialize_kadm_error_table_r(&_et_list);
102 }
103 
104 /* For Heimdal compatibility */
initialize_kadm_error_table_r(struct et_list ** list)105 void initialize_kadm_error_table_r(struct et_list **list)
106 {
107     struct et_list *et, **end;
108 
109     for (end = list, et = *list; et; end = &et->next, et = et->next)
110         if (et->table->msgs == text)
111             return;
112     et = malloc(sizeof(struct et_list));
113     if (et == 0) {
114         if (!link.table)
115             et = &link;
116         else
117             return;
118     }
119     et->table = &et_kadm_error_table;
120     et->next = 0;
121     *end = et;
122 }
123