- 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)
commit00e9da3ca577527db392aced62f02c69cfee8f4f
tree177cd4e8fd76bc9a298f4458e39911d277919f64
parent88a146ab04d65fc306569044dc00907a374fac51
- 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
12 files changed:
source/include/proto.h
source/locking/locking.c
source/nmbd/nmbd_namelistdb.c
source/nmbd/nmbd_winsserver.c
source/smbd/connection.c
source/tdb/tdb.c
source/tdb/tdb.h
source/tdb/tdbtest.c
source/tdb/tdbtool.c
source/tdb/tdbtorture.c
source/utils/status.c
source/web/statuspage.c