2 * WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
4 * Openvision retains the copyright to derivative works of
5 * this source code. Do *NOT* create a derivative of this
6 * source code before consulting with your legal department.
7 * Do *NOT* integrate *ANY* of this source code into another
8 * product before consulting with your legal department.
10 * For further information, read the top-level Openvision
11 * copyright which is contained in the top-level MIT Kerberos
14 * WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
20 * Copyright 1993 OpenVision Technologies, Inc., All Rights Reserved
26 static char *rcsid
= "$Header$";
27 #include <kadm5/admin.h>
29 #include "server_internal.h"
32 kadm5_free_principal_ent(void *server_handle
,
33 kadm5_principal_ent_t val
)
35 kadm5_server_handle_t handle
= server_handle
;
37 CHECK_HANDLE(server_handle
);
41 krb5_free_principal(handle
->context
, val
->principal
);
43 krb5_free_principal(handle
->context
, val
->mod_name
);
46 /* XXX free key_data and tl_data */
48 if (handle
->api_version
== KADM5_API_VERSION_1
)