Set `changed_by' and free entry.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2258 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
		| @@ -94,7 +94,13 @@ doit(char *filename, int merge) | ||||
| 	ent.kvno = atoi(e.kvno); | ||||
| 	ent.max_life = atoi(e.max_life); | ||||
| 	ent.max_renew = atoi(e.max_renew); | ||||
| 	krb5_build_principal(context, &ent.changed_by, | ||||
| 			     0, | ||||
| 			     "" | ||||
| 			     "kadmin", | ||||
| 			     NULL); | ||||
| 	db->store(context, db, &ent); | ||||
| 	hdb_free_entry (context, &ent); | ||||
|     } | ||||
|     db->close(context, db); | ||||
|     fclose(f); | ||||
|   | ||||
| @@ -94,7 +94,13 @@ doit(char *filename, int merge) | ||||
| 	ent.kvno = atoi(e.kvno); | ||||
| 	ent.max_life = atoi(e.max_life); | ||||
| 	ent.max_renew = atoi(e.max_renew); | ||||
| 	krb5_build_principal(context, &ent.changed_by, | ||||
| 			     0, | ||||
| 			     "" | ||||
| 			     "kadmin", | ||||
| 			     NULL); | ||||
| 	db->store(context, db, &ent); | ||||
| 	hdb_free_entry (context, &ent); | ||||
|     } | ||||
|     db->close(context, db); | ||||
|     fclose(f); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Assar Westerlund
					Assar Westerlund