- added tdb_flags option to tdb_open()
authorAndrew Tridgell <tridge@samba.org>
Sun, 2 Jan 2000 23:00:27 +0000 (23:00 +0000)
committerAndrew Tridgell <tridge@samba.org>
Sun, 2 Jan 2000 23:00:27 +0000 (23:00 +0000)
commit9a781a8c6de9513ba5f4cafef41379fae96807c1
treed9bd28fba6ccdaabe43d2183200310cb6bc4d283
parent321983bb6b68b5fe18f1021dc5851ce3bb0de625
- added tdb_flags option to tdb_open()
- added TDB_CLEAR_IF_FIRST flag to clear the database if this is the
  first attached process. Useful for non-persistent databases like our
  locking area (this will also make upgrades to new database layouts easier)
- use lock_path() in a couple of places
- leave connections database open while smbd running
- cleaned up some tdb code a little, using macros for constants
(This used to be commit 00e9da3ca577527db392aced62f02c69cfee8f4f)
12 files changed:
source3/include/proto.h
source3/locking/locking.c
source3/nmbd/nmbd_namelistdb.c
source3/nmbd/nmbd_winsserver.c
source3/smbd/connection.c
source3/tdb/tdb.c
source3/tdb/tdb.h
source3/tdb/tdbtest.c
source3/tdb/tdbtool.c
source3/tdb/tdbtorture.c
source3/utils/status.c
source3/web/statuspage.c