* server_acl.c: Include <ctype.h> for tolower().
(acl_load_acl_file): Close acl file, even when acl_catchall_entry is
not set.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10226
dc483132-0cff-0310-8789-
dd5450dbe970
+Mon Oct 13 10:59:22 1997 Ezra Peisach <epeisach@mit.edu>
+
+ * server_init.c (kadm5_destroy): Call kadm5_free_config_params.
+
+ * server_acl.c: Include <ctype.h> for tolower().
+ (acl_load_acl_file): Close acl file, even when acl_catchall_entry is
+ not set.
+
Wed Aug 6 20:22:23 1997 Tom Yu <tlyu@mit.edu>
* Makefile.in: Add flags to conditionally compile with Hesiod.
#include "k5-int.h"
#include "server_acl.h"
#include <kadm5/server_internal.h>
+#include <ctype.h>
typedef struct _acl_op_table {
char ao_op;
aentpp = &(*aentpp)->ae_next;
}
+ fclose(afp);
+
if (acl_catchall_entry) {
strcpy(tmpbuf, acl_catchall_entry);
if (*aentpp = acl_parse_line(tmpbuf)) {
("> catchall acl entry (%s) load failed\n",
acl_catchall_entry));
}
- fclose(afp);
}
}
else {
adb_policy_close(handle);
krb5_db_fini(handle->context);
krb5_free_principal(handle->context, handle->current_caller);
+ kadm5_free_config_params(handle->context, &handle->params);
krb5_free_context(handle->context);
handle->magic_number = 0;
free(handle->lhandle);