xref: /minix3/crypto/external/bsd/heimdal/include/kadm5-private.h (revision ebfedea0ce5bbe81e252ddf32d732e40fb633fae)
1*ebfedea0SLionel Sambuc /* This is a generated file */
2*ebfedea0SLionel Sambuc #ifndef __kadm5_private_h__
3*ebfedea0SLionel Sambuc #define __kadm5_private_h__
4*ebfedea0SLionel Sambuc 
5*ebfedea0SLionel Sambuc #include <stdarg.h>
6*ebfedea0SLionel Sambuc 
7*ebfedea0SLionel Sambuc kadm5_ret_t
8*ebfedea0SLionel Sambuc _kadm5_acl_check_permission (
9*ebfedea0SLionel Sambuc 	kadm5_server_context */*context*/,
10*ebfedea0SLionel Sambuc 	unsigned /*op*/,
11*ebfedea0SLionel Sambuc 	krb5_const_principal /*princ*/);
12*ebfedea0SLionel Sambuc 
13*ebfedea0SLionel Sambuc kadm5_ret_t
14*ebfedea0SLionel Sambuc _kadm5_acl_init (kadm5_server_context */*context*/);
15*ebfedea0SLionel Sambuc 
16*ebfedea0SLionel Sambuc kadm5_ret_t
17*ebfedea0SLionel Sambuc _kadm5_bump_pw_expire (
18*ebfedea0SLionel Sambuc 	kadm5_server_context */*context*/,
19*ebfedea0SLionel Sambuc 	hdb_entry */*ent*/);
20*ebfedea0SLionel Sambuc 
21*ebfedea0SLionel Sambuc krb5_error_code
22*ebfedea0SLionel Sambuc _kadm5_c_get_cred_cache (
23*ebfedea0SLionel Sambuc 	krb5_context /*context*/,
24*ebfedea0SLionel Sambuc 	const char */*client_name*/,
25*ebfedea0SLionel Sambuc 	const char */*server_name*/,
26*ebfedea0SLionel Sambuc 	const char */*password*/,
27*ebfedea0SLionel Sambuc 	krb5_prompter_fct /*prompter*/,
28*ebfedea0SLionel Sambuc 	const char */*keytab*/,
29*ebfedea0SLionel Sambuc 	krb5_ccache /*ccache*/,
30*ebfedea0SLionel Sambuc 	krb5_ccache */*ret_cache*/);
31*ebfedea0SLionel Sambuc 
32*ebfedea0SLionel Sambuc kadm5_ret_t
33*ebfedea0SLionel Sambuc _kadm5_c_init_context (
34*ebfedea0SLionel Sambuc 	kadm5_client_context **/*ctx*/,
35*ebfedea0SLionel Sambuc 	kadm5_config_params */*params*/,
36*ebfedea0SLionel Sambuc 	krb5_context /*context*/);
37*ebfedea0SLionel Sambuc 
38*ebfedea0SLionel Sambuc kadm5_ret_t
39*ebfedea0SLionel Sambuc _kadm5_client_recv (
40*ebfedea0SLionel Sambuc 	kadm5_client_context */*context*/,
41*ebfedea0SLionel Sambuc 	krb5_data */*reply*/);
42*ebfedea0SLionel Sambuc 
43*ebfedea0SLionel Sambuc kadm5_ret_t
44*ebfedea0SLionel Sambuc _kadm5_client_send (
45*ebfedea0SLionel Sambuc 	kadm5_client_context */*context*/,
46*ebfedea0SLionel Sambuc 	krb5_storage */*sp*/);
47*ebfedea0SLionel Sambuc 
48*ebfedea0SLionel Sambuc kadm5_ret_t
49*ebfedea0SLionel Sambuc _kadm5_connect (void */*handle*/);
50*ebfedea0SLionel Sambuc 
51*ebfedea0SLionel Sambuc kadm5_ret_t
52*ebfedea0SLionel Sambuc _kadm5_error_code (kadm5_ret_t /*code*/);
53*ebfedea0SLionel Sambuc 
54*ebfedea0SLionel Sambuc int
55*ebfedea0SLionel Sambuc _kadm5_exists_keys (
56*ebfedea0SLionel Sambuc 	Key */*keys1*/,
57*ebfedea0SLionel Sambuc 	int /*len1*/,
58*ebfedea0SLionel Sambuc 	Key */*keys2*/,
59*ebfedea0SLionel Sambuc 	int /*len2*/);
60*ebfedea0SLionel Sambuc 
61*ebfedea0SLionel Sambuc void
62*ebfedea0SLionel Sambuc _kadm5_free_keys (
63*ebfedea0SLionel Sambuc 	krb5_context /*context*/,
64*ebfedea0SLionel Sambuc 	int /*len*/,
65*ebfedea0SLionel Sambuc 	Key */*keys*/);
66*ebfedea0SLionel Sambuc 
67*ebfedea0SLionel Sambuc void
68*ebfedea0SLionel Sambuc _kadm5_init_keys (
69*ebfedea0SLionel Sambuc 	Key */*keys*/,
70*ebfedea0SLionel Sambuc 	int /*len*/);
71*ebfedea0SLionel Sambuc 
72*ebfedea0SLionel Sambuc kadm5_ret_t
73*ebfedea0SLionel Sambuc _kadm5_marshal_params (
74*ebfedea0SLionel Sambuc 	krb5_context /*context*/,
75*ebfedea0SLionel Sambuc 	kadm5_config_params */*params*/,
76*ebfedea0SLionel Sambuc 	krb5_data */*out*/);
77*ebfedea0SLionel Sambuc 
78*ebfedea0SLionel Sambuc kadm5_ret_t
79*ebfedea0SLionel Sambuc _kadm5_privs_to_string (
80*ebfedea0SLionel Sambuc 	uint32_t /*privs*/,
81*ebfedea0SLionel Sambuc 	char */*string*/,
82*ebfedea0SLionel Sambuc 	size_t /*len*/);
83*ebfedea0SLionel Sambuc 
84*ebfedea0SLionel Sambuc HDB *
85*ebfedea0SLionel Sambuc _kadm5_s_get_db (void */*server_handle*/);
86*ebfedea0SLionel Sambuc 
87*ebfedea0SLionel Sambuc kadm5_ret_t
88*ebfedea0SLionel Sambuc _kadm5_s_init_context (
89*ebfedea0SLionel Sambuc 	kadm5_server_context **/*ctx*/,
90*ebfedea0SLionel Sambuc 	kadm5_config_params */*params*/,
91*ebfedea0SLionel Sambuc 	krb5_context /*context*/);
92*ebfedea0SLionel Sambuc 
93*ebfedea0SLionel Sambuc kadm5_ret_t
94*ebfedea0SLionel Sambuc _kadm5_set_keys (
95*ebfedea0SLionel Sambuc 	kadm5_server_context */*context*/,
96*ebfedea0SLionel Sambuc 	hdb_entry */*ent*/,
97*ebfedea0SLionel Sambuc 	const char */*password*/);
98*ebfedea0SLionel Sambuc 
99*ebfedea0SLionel Sambuc kadm5_ret_t
100*ebfedea0SLionel Sambuc _kadm5_set_keys2 (
101*ebfedea0SLionel Sambuc 	kadm5_server_context */*context*/,
102*ebfedea0SLionel Sambuc 	hdb_entry */*ent*/,
103*ebfedea0SLionel Sambuc 	int16_t /*n_key_data*/,
104*ebfedea0SLionel Sambuc 	krb5_key_data */*key_data*/);
105*ebfedea0SLionel Sambuc 
106*ebfedea0SLionel Sambuc kadm5_ret_t
107*ebfedea0SLionel Sambuc _kadm5_set_keys3 (
108*ebfedea0SLionel Sambuc 	kadm5_server_context */*context*/,
109*ebfedea0SLionel Sambuc 	hdb_entry */*ent*/,
110*ebfedea0SLionel Sambuc 	int /*n_keys*/,
111*ebfedea0SLionel Sambuc 	krb5_keyblock */*keyblocks*/);
112*ebfedea0SLionel Sambuc 
113*ebfedea0SLionel Sambuc kadm5_ret_t
114*ebfedea0SLionel Sambuc _kadm5_set_keys_randomly (
115*ebfedea0SLionel Sambuc 	kadm5_server_context */*context*/,
116*ebfedea0SLionel Sambuc 	hdb_entry */*ent*/,
117*ebfedea0SLionel Sambuc 	krb5_keyblock **/*new_keys*/,
118*ebfedea0SLionel Sambuc 	int */*n_keys*/);
119*ebfedea0SLionel Sambuc 
120*ebfedea0SLionel Sambuc kadm5_ret_t
121*ebfedea0SLionel Sambuc _kadm5_set_modifier (
122*ebfedea0SLionel Sambuc 	kadm5_server_context */*context*/,
123*ebfedea0SLionel Sambuc 	hdb_entry */*ent*/);
124*ebfedea0SLionel Sambuc 
125*ebfedea0SLionel Sambuc kadm5_ret_t
126*ebfedea0SLionel Sambuc _kadm5_setup_entry (
127*ebfedea0SLionel Sambuc 	kadm5_server_context */*context*/,
128*ebfedea0SLionel Sambuc 	hdb_entry_ex */*ent*/,
129*ebfedea0SLionel Sambuc 	uint32_t /*mask*/,
130*ebfedea0SLionel Sambuc 	kadm5_principal_ent_t /*princ*/,
131*ebfedea0SLionel Sambuc 	uint32_t /*princ_mask*/,
132*ebfedea0SLionel Sambuc 	kadm5_principal_ent_t /*def*/,
133*ebfedea0SLionel Sambuc 	uint32_t /*def_mask*/);
134*ebfedea0SLionel Sambuc 
135*ebfedea0SLionel Sambuc kadm5_ret_t
136*ebfedea0SLionel Sambuc _kadm5_string_to_privs (
137*ebfedea0SLionel Sambuc 	const char */*s*/,
138*ebfedea0SLionel Sambuc 	uint32_t* /*privs*/);
139*ebfedea0SLionel Sambuc 
140*ebfedea0SLionel Sambuc kadm5_ret_t
141*ebfedea0SLionel Sambuc _kadm5_unmarshal_params (
142*ebfedea0SLionel Sambuc 	krb5_context /*context*/,
143*ebfedea0SLionel Sambuc 	krb5_data */*in*/,
144*ebfedea0SLionel Sambuc 	kadm5_config_params */*params*/);
145*ebfedea0SLionel Sambuc 
146*ebfedea0SLionel Sambuc kadm5_ret_t
147*ebfedea0SLionel Sambuc kadm5_c_chpass_principal (
148*ebfedea0SLionel Sambuc 	void */*server_handle*/,
149*ebfedea0SLionel Sambuc 	krb5_principal /*princ*/,
150*ebfedea0SLionel Sambuc 	const char */*password*/);
151*ebfedea0SLionel Sambuc 
152*ebfedea0SLionel Sambuc kadm5_ret_t
153*ebfedea0SLionel Sambuc kadm5_c_chpass_principal_with_key (
154*ebfedea0SLionel Sambuc 	void */*server_handle*/,
155*ebfedea0SLionel Sambuc 	krb5_principal /*princ*/,
156*ebfedea0SLionel Sambuc 	int /*n_key_data*/,
157*ebfedea0SLionel Sambuc 	krb5_key_data */*key_data*/);
158*ebfedea0SLionel Sambuc 
159*ebfedea0SLionel Sambuc kadm5_ret_t
160*ebfedea0SLionel Sambuc kadm5_c_create_principal (
161*ebfedea0SLionel Sambuc 	void */*server_handle*/,
162*ebfedea0SLionel Sambuc 	kadm5_principal_ent_t /*princ*/,
163*ebfedea0SLionel Sambuc 	uint32_t /*mask*/,
164*ebfedea0SLionel Sambuc 	const char */*password*/);
165*ebfedea0SLionel Sambuc 
166*ebfedea0SLionel Sambuc kadm5_ret_t
167*ebfedea0SLionel Sambuc kadm5_c_delete_principal (
168*ebfedea0SLionel Sambuc 	void */*server_handle*/,
169*ebfedea0SLionel Sambuc 	krb5_principal /*princ*/);
170*ebfedea0SLionel Sambuc 
171*ebfedea0SLionel Sambuc kadm5_ret_t
172*ebfedea0SLionel Sambuc kadm5_c_destroy (void */*server_handle*/);
173*ebfedea0SLionel Sambuc 
174*ebfedea0SLionel Sambuc kadm5_ret_t
175*ebfedea0SLionel Sambuc kadm5_c_flush (void */*server_handle*/);
176*ebfedea0SLionel Sambuc 
177*ebfedea0SLionel Sambuc kadm5_ret_t
178*ebfedea0SLionel Sambuc kadm5_c_get_principal (
179*ebfedea0SLionel Sambuc 	void */*server_handle*/,
180*ebfedea0SLionel Sambuc 	krb5_principal /*princ*/,
181*ebfedea0SLionel Sambuc 	kadm5_principal_ent_t /*out*/,
182*ebfedea0SLionel Sambuc 	uint32_t /*mask*/);
183*ebfedea0SLionel Sambuc 
184*ebfedea0SLionel Sambuc kadm5_ret_t
185*ebfedea0SLionel Sambuc kadm5_c_get_principals (
186*ebfedea0SLionel Sambuc 	void */*server_handle*/,
187*ebfedea0SLionel Sambuc 	const char */*expression*/,
188*ebfedea0SLionel Sambuc 	char ***/*princs*/,
189*ebfedea0SLionel Sambuc 	int */*count*/);
190*ebfedea0SLionel Sambuc 
191*ebfedea0SLionel Sambuc kadm5_ret_t
192*ebfedea0SLionel Sambuc kadm5_c_get_privs (
193*ebfedea0SLionel Sambuc 	void */*server_handle*/,
194*ebfedea0SLionel Sambuc 	uint32_t */*privs*/);
195*ebfedea0SLionel Sambuc 
196*ebfedea0SLionel Sambuc kadm5_ret_t
197*ebfedea0SLionel Sambuc kadm5_c_init_with_creds (
198*ebfedea0SLionel Sambuc 	const char */*client_name*/,
199*ebfedea0SLionel Sambuc 	krb5_ccache /*ccache*/,
200*ebfedea0SLionel Sambuc 	const char */*service_name*/,
201*ebfedea0SLionel Sambuc 	kadm5_config_params */*realm_params*/,
202*ebfedea0SLionel Sambuc 	unsigned long /*struct_version*/,
203*ebfedea0SLionel Sambuc 	unsigned long /*api_version*/,
204*ebfedea0SLionel Sambuc 	void **/*server_handle*/);
205*ebfedea0SLionel Sambuc 
206*ebfedea0SLionel Sambuc kadm5_ret_t
207*ebfedea0SLionel Sambuc kadm5_c_init_with_creds_ctx (
208*ebfedea0SLionel Sambuc 	krb5_context /*context*/,
209*ebfedea0SLionel Sambuc 	const char */*client_name*/,
210*ebfedea0SLionel Sambuc 	krb5_ccache /*ccache*/,
211*ebfedea0SLionel Sambuc 	const char */*service_name*/,
212*ebfedea0SLionel Sambuc 	kadm5_config_params */*realm_params*/,
213*ebfedea0SLionel Sambuc 	unsigned long /*struct_version*/,
214*ebfedea0SLionel Sambuc 	unsigned long /*api_version*/,
215*ebfedea0SLionel Sambuc 	void **/*server_handle*/);
216*ebfedea0SLionel Sambuc 
217*ebfedea0SLionel Sambuc kadm5_ret_t
218*ebfedea0SLionel Sambuc kadm5_c_init_with_password (
219*ebfedea0SLionel Sambuc 	const char */*client_name*/,
220*ebfedea0SLionel Sambuc 	const char */*password*/,
221*ebfedea0SLionel Sambuc 	const char */*service_name*/,
222*ebfedea0SLionel Sambuc 	kadm5_config_params */*realm_params*/,
223*ebfedea0SLionel Sambuc 	unsigned long /*struct_version*/,
224*ebfedea0SLionel Sambuc 	unsigned long /*api_version*/,
225*ebfedea0SLionel Sambuc 	void **/*server_handle*/);
226*ebfedea0SLionel Sambuc 
227*ebfedea0SLionel Sambuc kadm5_ret_t
228*ebfedea0SLionel Sambuc kadm5_c_init_with_password_ctx (
229*ebfedea0SLionel Sambuc 	krb5_context /*context*/,
230*ebfedea0SLionel Sambuc 	const char */*client_name*/,
231*ebfedea0SLionel Sambuc 	const char */*password*/,
232*ebfedea0SLionel Sambuc 	const char */*service_name*/,
233*ebfedea0SLionel Sambuc 	kadm5_config_params */*realm_params*/,
234*ebfedea0SLionel Sambuc 	unsigned long /*struct_version*/,
235*ebfedea0SLionel Sambuc 	unsigned long /*api_version*/,
236*ebfedea0SLionel Sambuc 	void **/*server_handle*/);
237*ebfedea0SLionel Sambuc 
238*ebfedea0SLionel Sambuc kadm5_ret_t
239*ebfedea0SLionel Sambuc kadm5_c_init_with_skey (
240*ebfedea0SLionel Sambuc 	const char */*client_name*/,
241*ebfedea0SLionel Sambuc 	const char */*keytab*/,
242*ebfedea0SLionel Sambuc 	const char */*service_name*/,
243*ebfedea0SLionel Sambuc 	kadm5_config_params */*realm_params*/,
244*ebfedea0SLionel Sambuc 	unsigned long /*struct_version*/,
245*ebfedea0SLionel Sambuc 	unsigned long /*api_version*/,
246*ebfedea0SLionel Sambuc 	void **/*server_handle*/);
247*ebfedea0SLionel Sambuc 
248*ebfedea0SLionel Sambuc kadm5_ret_t
249*ebfedea0SLionel Sambuc kadm5_c_init_with_skey_ctx (
250*ebfedea0SLionel Sambuc 	krb5_context /*context*/,
251*ebfedea0SLionel Sambuc 	const char */*client_name*/,
252*ebfedea0SLionel Sambuc 	const char */*keytab*/,
253*ebfedea0SLionel Sambuc 	const char */*service_name*/,
254*ebfedea0SLionel Sambuc 	kadm5_config_params */*realm_params*/,
255*ebfedea0SLionel Sambuc 	unsigned long /*struct_version*/,
256*ebfedea0SLionel Sambuc 	unsigned long /*api_version*/,
257*ebfedea0SLionel Sambuc 	void **/*server_handle*/);
258*ebfedea0SLionel Sambuc 
259*ebfedea0SLionel Sambuc kadm5_ret_t
260*ebfedea0SLionel Sambuc kadm5_c_modify_principal (
261*ebfedea0SLionel Sambuc 	void */*server_handle*/,
262*ebfedea0SLionel Sambuc 	kadm5_principal_ent_t /*princ*/,
263*ebfedea0SLionel Sambuc 	uint32_t /*mask*/);
264*ebfedea0SLionel Sambuc 
265*ebfedea0SLionel Sambuc kadm5_ret_t
266*ebfedea0SLionel Sambuc kadm5_c_randkey_principal (
267*ebfedea0SLionel Sambuc 	void */*server_handle*/,
268*ebfedea0SLionel Sambuc 	krb5_principal /*princ*/,
269*ebfedea0SLionel Sambuc 	krb5_keyblock **/*new_keys*/,
270*ebfedea0SLionel Sambuc 	int */*n_keys*/);
271*ebfedea0SLionel Sambuc 
272*ebfedea0SLionel Sambuc kadm5_ret_t
273*ebfedea0SLionel Sambuc kadm5_c_rename_principal (
274*ebfedea0SLionel Sambuc 	void */*server_handle*/,
275*ebfedea0SLionel Sambuc 	krb5_principal /*source*/,
276*ebfedea0SLionel Sambuc 	krb5_principal /*target*/);
277*ebfedea0SLionel Sambuc 
278*ebfedea0SLionel Sambuc kadm5_ret_t
279*ebfedea0SLionel Sambuc kadm5_log_create (
280*ebfedea0SLionel Sambuc 	kadm5_server_context */*context*/,
281*ebfedea0SLionel Sambuc 	hdb_entry */*ent*/);
282*ebfedea0SLionel Sambuc 
283*ebfedea0SLionel Sambuc kadm5_ret_t
284*ebfedea0SLionel Sambuc kadm5_log_delete (
285*ebfedea0SLionel Sambuc 	kadm5_server_context */*context*/,
286*ebfedea0SLionel Sambuc 	krb5_principal /*princ*/);
287*ebfedea0SLionel Sambuc 
288*ebfedea0SLionel Sambuc kadm5_ret_t
289*ebfedea0SLionel Sambuc kadm5_log_end (kadm5_server_context */*context*/);
290*ebfedea0SLionel Sambuc 
291*ebfedea0SLionel Sambuc kadm5_ret_t
292*ebfedea0SLionel Sambuc kadm5_log_foreach (
293*ebfedea0SLionel Sambuc 	kadm5_server_context */*context*/,
294*ebfedea0SLionel Sambuc 	void (*/*func*/)(kadm5_server_context *server_context, uint32_t ver, time_t timestamp, enum kadm_ops op, uint32_t len, krb5_storage *, void *),
295*ebfedea0SLionel Sambuc 	void */*ctx*/);
296*ebfedea0SLionel Sambuc 
297*ebfedea0SLionel Sambuc kadm5_ret_t
298*ebfedea0SLionel Sambuc kadm5_log_get_version (
299*ebfedea0SLionel Sambuc 	kadm5_server_context */*context*/,
300*ebfedea0SLionel Sambuc 	uint32_t */*ver*/);
301*ebfedea0SLionel Sambuc 
302*ebfedea0SLionel Sambuc kadm5_ret_t
303*ebfedea0SLionel Sambuc kadm5_log_get_version_fd (
304*ebfedea0SLionel Sambuc 	int /*fd*/,
305*ebfedea0SLionel Sambuc 	uint32_t */*ver*/);
306*ebfedea0SLionel Sambuc 
307*ebfedea0SLionel Sambuc krb5_storage *
308*ebfedea0SLionel Sambuc kadm5_log_goto_end (int /*fd*/);
309*ebfedea0SLionel Sambuc 
310*ebfedea0SLionel Sambuc kadm5_ret_t
311*ebfedea0SLionel Sambuc kadm5_log_init (kadm5_server_context */*context*/);
312*ebfedea0SLionel Sambuc 
313*ebfedea0SLionel Sambuc kadm5_ret_t
314*ebfedea0SLionel Sambuc kadm5_log_modify (
315*ebfedea0SLionel Sambuc 	kadm5_server_context */*context*/,
316*ebfedea0SLionel Sambuc 	hdb_entry */*ent*/,
317*ebfedea0SLionel Sambuc 	uint32_t /*mask*/);
318*ebfedea0SLionel Sambuc 
319*ebfedea0SLionel Sambuc kadm5_ret_t
320*ebfedea0SLionel Sambuc kadm5_log_nop (kadm5_server_context */*context*/);
321*ebfedea0SLionel Sambuc 
322*ebfedea0SLionel Sambuc kadm5_ret_t
323*ebfedea0SLionel Sambuc kadm5_log_previous (
324*ebfedea0SLionel Sambuc 	krb5_context /*context*/,
325*ebfedea0SLionel Sambuc 	krb5_storage */*sp*/,
326*ebfedea0SLionel Sambuc 	uint32_t */*ver*/,
327*ebfedea0SLionel Sambuc 	time_t */*timestamp*/,
328*ebfedea0SLionel Sambuc 	enum kadm_ops */*op*/,
329*ebfedea0SLionel Sambuc 	uint32_t */*len*/);
330*ebfedea0SLionel Sambuc 
331*ebfedea0SLionel Sambuc kadm5_ret_t
332*ebfedea0SLionel Sambuc kadm5_log_reinit (kadm5_server_context */*context*/);
333*ebfedea0SLionel Sambuc 
334*ebfedea0SLionel Sambuc kadm5_ret_t
335*ebfedea0SLionel Sambuc kadm5_log_rename (
336*ebfedea0SLionel Sambuc 	kadm5_server_context */*context*/,
337*ebfedea0SLionel Sambuc 	krb5_principal /*source*/,
338*ebfedea0SLionel Sambuc 	hdb_entry */*ent*/);
339*ebfedea0SLionel Sambuc 
340*ebfedea0SLionel Sambuc kadm5_ret_t
341*ebfedea0SLionel Sambuc kadm5_log_replay (
342*ebfedea0SLionel Sambuc 	kadm5_server_context */*context*/,
343*ebfedea0SLionel Sambuc 	enum kadm_ops /*op*/,
344*ebfedea0SLionel Sambuc 	uint32_t /*ver*/,
345*ebfedea0SLionel Sambuc 	uint32_t /*len*/,
346*ebfedea0SLionel Sambuc 	krb5_storage */*sp*/);
347*ebfedea0SLionel Sambuc 
348*ebfedea0SLionel Sambuc kadm5_ret_t
349*ebfedea0SLionel Sambuc kadm5_log_set_version (
350*ebfedea0SLionel Sambuc 	kadm5_server_context */*context*/,
351*ebfedea0SLionel Sambuc 	uint32_t /*vno*/);
352*ebfedea0SLionel Sambuc 
353*ebfedea0SLionel Sambuc const char *
354*ebfedea0SLionel Sambuc kadm5_log_signal_socket (krb5_context /*context*/);
355*ebfedea0SLionel Sambuc 
356*ebfedea0SLionel Sambuc kadm5_ret_t
357*ebfedea0SLionel Sambuc kadm5_log_signal_socket_info (
358*ebfedea0SLionel Sambuc 	krb5_context /*context*/,
359*ebfedea0SLionel Sambuc 	int /*server_end*/,
360*ebfedea0SLionel Sambuc 	struct addrinfo **/*ret_addrs*/);
361*ebfedea0SLionel Sambuc 
362*ebfedea0SLionel Sambuc kadm5_ret_t
363*ebfedea0SLionel Sambuc kadm5_log_truncate (kadm5_server_context */*server_context*/);
364*ebfedea0SLionel Sambuc 
365*ebfedea0SLionel Sambuc kadm5_ret_t
366*ebfedea0SLionel Sambuc kadm5_s_chpass_principal (
367*ebfedea0SLionel Sambuc 	void */*server_handle*/,
368*ebfedea0SLionel Sambuc 	krb5_principal /*princ*/,
369*ebfedea0SLionel Sambuc 	const char */*password*/);
370*ebfedea0SLionel Sambuc 
371*ebfedea0SLionel Sambuc kadm5_ret_t
372*ebfedea0SLionel Sambuc kadm5_s_chpass_principal_cond (
373*ebfedea0SLionel Sambuc 	void */*server_handle*/,
374*ebfedea0SLionel Sambuc 	krb5_principal /*princ*/,
375*ebfedea0SLionel Sambuc 	const char */*password*/);
376*ebfedea0SLionel Sambuc 
377*ebfedea0SLionel Sambuc kadm5_ret_t
378*ebfedea0SLionel Sambuc kadm5_s_chpass_principal_with_key (
379*ebfedea0SLionel Sambuc 	void */*server_handle*/,
380*ebfedea0SLionel Sambuc 	krb5_principal /*princ*/,
381*ebfedea0SLionel Sambuc 	int /*n_key_data*/,
382*ebfedea0SLionel Sambuc 	krb5_key_data */*key_data*/);
383*ebfedea0SLionel Sambuc 
384*ebfedea0SLionel Sambuc kadm5_ret_t
385*ebfedea0SLionel Sambuc kadm5_s_create_principal (
386*ebfedea0SLionel Sambuc 	void */*server_handle*/,
387*ebfedea0SLionel Sambuc 	kadm5_principal_ent_t /*princ*/,
388*ebfedea0SLionel Sambuc 	uint32_t /*mask*/,
389*ebfedea0SLionel Sambuc 	const char */*password*/);
390*ebfedea0SLionel Sambuc 
391*ebfedea0SLionel Sambuc kadm5_ret_t
392*ebfedea0SLionel Sambuc kadm5_s_create_principal_with_key (
393*ebfedea0SLionel Sambuc 	void */*server_handle*/,
394*ebfedea0SLionel Sambuc 	kadm5_principal_ent_t /*princ*/,
395*ebfedea0SLionel Sambuc 	uint32_t /*mask*/);
396*ebfedea0SLionel Sambuc 
397*ebfedea0SLionel Sambuc kadm5_ret_t
398*ebfedea0SLionel Sambuc kadm5_s_delete_principal (
399*ebfedea0SLionel Sambuc 	void */*server_handle*/,
400*ebfedea0SLionel Sambuc 	krb5_principal /*princ*/);
401*ebfedea0SLionel Sambuc 
402*ebfedea0SLionel Sambuc kadm5_ret_t
403*ebfedea0SLionel Sambuc kadm5_s_destroy (void */*server_handle*/);
404*ebfedea0SLionel Sambuc 
405*ebfedea0SLionel Sambuc kadm5_ret_t
406*ebfedea0SLionel Sambuc kadm5_s_flush (void */*server_handle*/);
407*ebfedea0SLionel Sambuc 
408*ebfedea0SLionel Sambuc kadm5_ret_t
409*ebfedea0SLionel Sambuc kadm5_s_get_principal (
410*ebfedea0SLionel Sambuc 	void */*server_handle*/,
411*ebfedea0SLionel Sambuc 	krb5_principal /*princ*/,
412*ebfedea0SLionel Sambuc 	kadm5_principal_ent_t /*out*/,
413*ebfedea0SLionel Sambuc 	uint32_t /*mask*/);
414*ebfedea0SLionel Sambuc 
415*ebfedea0SLionel Sambuc kadm5_ret_t
416*ebfedea0SLionel Sambuc kadm5_s_get_principals (
417*ebfedea0SLionel Sambuc 	void */*server_handle*/,
418*ebfedea0SLionel Sambuc 	const char */*expression*/,
419*ebfedea0SLionel Sambuc 	char ***/*princs*/,
420*ebfedea0SLionel Sambuc 	int */*count*/);
421*ebfedea0SLionel Sambuc 
422*ebfedea0SLionel Sambuc kadm5_ret_t
423*ebfedea0SLionel Sambuc kadm5_s_get_privs (
424*ebfedea0SLionel Sambuc 	void */*server_handle*/,
425*ebfedea0SLionel Sambuc 	uint32_t */*privs*/);
426*ebfedea0SLionel Sambuc 
427*ebfedea0SLionel Sambuc kadm5_ret_t
428*ebfedea0SLionel Sambuc kadm5_s_init_with_creds (
429*ebfedea0SLionel Sambuc 	const char */*client_name*/,
430*ebfedea0SLionel Sambuc 	krb5_ccache /*ccache*/,
431*ebfedea0SLionel Sambuc 	const char */*service_name*/,
432*ebfedea0SLionel Sambuc 	kadm5_config_params */*realm_params*/,
433*ebfedea0SLionel Sambuc 	unsigned long /*struct_version*/,
434*ebfedea0SLionel Sambuc 	unsigned long /*api_version*/,
435*ebfedea0SLionel Sambuc 	void **/*server_handle*/);
436*ebfedea0SLionel Sambuc 
437*ebfedea0SLionel Sambuc kadm5_ret_t
438*ebfedea0SLionel Sambuc kadm5_s_init_with_creds_ctx (
439*ebfedea0SLionel Sambuc 	krb5_context /*context*/,
440*ebfedea0SLionel Sambuc 	const char */*client_name*/,
441*ebfedea0SLionel Sambuc 	krb5_ccache /*ccache*/,
442*ebfedea0SLionel Sambuc 	const char */*service_name*/,
443*ebfedea0SLionel Sambuc 	kadm5_config_params */*realm_params*/,
444*ebfedea0SLionel Sambuc 	unsigned long /*struct_version*/,
445*ebfedea0SLionel Sambuc 	unsigned long /*api_version*/,
446*ebfedea0SLionel Sambuc 	void **/*server_handle*/);
447*ebfedea0SLionel Sambuc 
448*ebfedea0SLionel Sambuc kadm5_ret_t
449*ebfedea0SLionel Sambuc kadm5_s_init_with_password (
450*ebfedea0SLionel Sambuc 	const char */*client_name*/,
451*ebfedea0SLionel Sambuc 	const char */*password*/,
452*ebfedea0SLionel Sambuc 	const char */*service_name*/,
453*ebfedea0SLionel Sambuc 	kadm5_config_params */*realm_params*/,
454*ebfedea0SLionel Sambuc 	unsigned long /*struct_version*/,
455*ebfedea0SLionel Sambuc 	unsigned long /*api_version*/,
456*ebfedea0SLionel Sambuc 	void **/*server_handle*/);
457*ebfedea0SLionel Sambuc 
458*ebfedea0SLionel Sambuc kadm5_ret_t
459*ebfedea0SLionel Sambuc kadm5_s_init_with_password_ctx (
460*ebfedea0SLionel Sambuc 	krb5_context /*context*/,
461*ebfedea0SLionel Sambuc 	const char */*client_name*/,
462*ebfedea0SLionel Sambuc 	const char */*password*/,
463*ebfedea0SLionel Sambuc 	const char */*service_name*/,
464*ebfedea0SLionel Sambuc 	kadm5_config_params */*realm_params*/,
465*ebfedea0SLionel Sambuc 	unsigned long /*struct_version*/,
466*ebfedea0SLionel Sambuc 	unsigned long /*api_version*/,
467*ebfedea0SLionel Sambuc 	void **/*server_handle*/);
468*ebfedea0SLionel Sambuc 
469*ebfedea0SLionel Sambuc kadm5_ret_t
470*ebfedea0SLionel Sambuc kadm5_s_init_with_skey (
471*ebfedea0SLionel Sambuc 	const char */*client_name*/,
472*ebfedea0SLionel Sambuc 	const char */*keytab*/,
473*ebfedea0SLionel Sambuc 	const char */*service_name*/,
474*ebfedea0SLionel Sambuc 	kadm5_config_params */*realm_params*/,
475*ebfedea0SLionel Sambuc 	unsigned long /*struct_version*/,
476*ebfedea0SLionel Sambuc 	unsigned long /*api_version*/,
477*ebfedea0SLionel Sambuc 	void **/*server_handle*/);
478*ebfedea0SLionel Sambuc 
479*ebfedea0SLionel Sambuc kadm5_ret_t
480*ebfedea0SLionel Sambuc kadm5_s_init_with_skey_ctx (
481*ebfedea0SLionel Sambuc 	krb5_context /*context*/,
482*ebfedea0SLionel Sambuc 	const char */*client_name*/,
483*ebfedea0SLionel Sambuc 	const char */*keytab*/,
484*ebfedea0SLionel Sambuc 	const char */*service_name*/,
485*ebfedea0SLionel Sambuc 	kadm5_config_params */*realm_params*/,
486*ebfedea0SLionel Sambuc 	unsigned long /*struct_version*/,
487*ebfedea0SLionel Sambuc 	unsigned long /*api_version*/,
488*ebfedea0SLionel Sambuc 	void **/*server_handle*/);
489*ebfedea0SLionel Sambuc 
490*ebfedea0SLionel Sambuc kadm5_ret_t
491*ebfedea0SLionel Sambuc kadm5_s_modify_principal (
492*ebfedea0SLionel Sambuc 	void */*server_handle*/,
493*ebfedea0SLionel Sambuc 	kadm5_principal_ent_t /*princ*/,
494*ebfedea0SLionel Sambuc 	uint32_t /*mask*/);
495*ebfedea0SLionel Sambuc 
496*ebfedea0SLionel Sambuc kadm5_ret_t
497*ebfedea0SLionel Sambuc kadm5_s_randkey_principal (
498*ebfedea0SLionel Sambuc 	void */*server_handle*/,
499*ebfedea0SLionel Sambuc 	krb5_principal /*princ*/,
500*ebfedea0SLionel Sambuc 	krb5_keyblock **/*new_keys*/,
501*ebfedea0SLionel Sambuc 	int */*n_keys*/);
502*ebfedea0SLionel Sambuc 
503*ebfedea0SLionel Sambuc kadm5_ret_t
504*ebfedea0SLionel Sambuc kadm5_s_rename_principal (
505*ebfedea0SLionel Sambuc 	void */*server_handle*/,
506*ebfedea0SLionel Sambuc 	krb5_principal /*source*/,
507*ebfedea0SLionel Sambuc 	krb5_principal /*target*/);
508*ebfedea0SLionel Sambuc 
509*ebfedea0SLionel Sambuc #endif /* __kadm5_private_h__ */
510