1/* 2 * Copyright (c) 1997 - 2000 Kungliga Tekniska H�gskolan 3 * (Royal Institute of Technology, Stockholm, Sweden). 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 20 unchanged lines hidden (view full) --- 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 */ 33 34#include "kadmin_locl.h" 35#include <kadm5/private.h> 36 |
37RCSID("$Id: load.c,v 1.36 2000/02/16 16:05:28 assar Exp $"); |
38 39struct entry { 40 char *principal; 41 char *key; 42 char *max_life; 43 char *max_renew; 44 char *created; 45 char *modified; --- 388 unchanged lines hidden (view full) --- 434 } 435 if (parse_integer_alloc (&ent.max_renew, e.max_renew) == -1) { 436 fprintf (stderr, "%s:%d:error parsing lifetime (%s)\n", 437 filename, line, e.max_renew); 438 hdb_free_entry (context, &ent); 439 continue; 440 } 441 |
442 if (parse_hdbflags2int (&ent.flags, e.flags) != 1) { |
443 fprintf (stderr, "%s:%d:error parsing flags (%s)\n", 444 filename, line, e.flags); 445 hdb_free_entry (context, &ent); 446 continue; 447 } 448#if 0 449 ALLOC(ent.etypes); 450 parse_etypes(e.etypes, &ent.etypes->val, &ent.etypes->len); --- 35 unchanged lines hidden --- |