Files
heimdal/kdc
Russ Allbery 3d715adc21 Rename the database after closing it in hpropd
If a Berkeley DB database is used as the underlying database, renaming
the database before closing it can produce error messages like the
following on close:

/var/lib/heimdal-kdc/heimdal~.db: unable to flush: No such file or directory

since the underlying database library caches the old file name.  There
is a rename() method in the Berkeley DB API, but it also invalidates
the database handle and requires that it be reopened.  Since the
hdb_rename implementation does not require that the database be open,
close the database before renaming it to avoid this problem.

Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2010-02-02 13:27:48 -08:00
..
2008-12-11 04:51:39 +00:00
2009-11-22 06:42:39 -08:00
2009-12-01 16:42:28 -05:00
2009-11-22 00:27:45 -08:00
2009-11-22 06:54:11 -08:00
2009-11-22 06:51:45 -08:00
2010-01-27 21:57:32 -08:00
2008-09-13 09:21:03 +00:00
2008-09-13 08:53:55 +00:00
2008-09-13 09:21:03 +00:00
2009-07-03 04:25:46 +00:00
2009-11-22 00:26:57 -08:00
2009-11-22 00:28:33 -08:00
2009-07-03 04:26:00 +00:00
2009-12-01 16:43:39 -05:00
2009-11-23 20:36:54 -08:00
2008-09-13 08:53:55 +00:00
2009-11-24 22:19:37 -08:00
2009-12-01 02:56:58 -05:00
2009-11-22 00:26:15 -08:00
2009-11-24 22:19:37 -08:00
2009-11-03 23:51:11 -08:00
2009-12-01 16:44:08 -05:00
2008-09-13 09:21:03 +00:00
2009-11-22 00:24:55 -08:00
2008-09-13 09:21:03 +00:00
2008-09-13 09:21:03 +00:00
2009-10-19 09:32:10 -07:00
2009-10-19 09:32:15 -07:00