- if (!hash_lookup(machines, id1))
- printf("Hostaccess for non-existant host %d\n", id1);
- if (!strcmp(type, "USER") && !hash_lookup(users, id2))
- printf("Hostaccess for %d is non-existant user %d\n", id1, id2);
- else if (!strcmp(type, "LIST") && !hash_lookup(lists, id2))
- printf("Hostaccess for %d is non-existant list %d\n", id1, id2);
+ if (!hash_lookup(machines, id1)) {
+ printf("Hostaccess for non-existant host %d\n", id1);
+ printf("Not fixing this error\n");
+ }
+ if (!strcmp(type, "USER") && !hash_lookup(users, id2)) {
+ printf("Hostaccess for %d is non-existant user %d\n", id1, id2);
+ printf("Not fixing this error\n");
+ } else if (!strcmp(type, "LIST") && !hash_lookup(lists, id2)) {
+ printf("Hostaccess for %d is non-existant list %d\n", id1, id2);
+ printf("Not fixing this error\n");
+ }
+## }
+
+ dprintf("Checking palladium...\n");
+ sq1 = sq_create();
+## range of p is palladium
+## retrieve (id1 = p.mach_id) {
+ if (!hash_lookup(machines, id1)) {
+ sq_save_unique_data(sq1, id1);
+ }
+## }
+ generic_delete(sq1, show_pdm_mach, "palladium", "mach_id", 1);
+
+ dprintf("Checking krbmap...\n");
+ sq1 = sq_create();
+ sq2 = sq_create();
+## range of k is krbmap
+## retrieve (id1 = k.users_id, id2 = k.string_id) {
+ if (!hash_lookup(users, id1))
+ sq_save_unique_data(sq1, id1);
+ if (!string_check(id2))
+ sq_save_unique_data(sq2, id2);