1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00

8 Commits

Author SHA1 Message Date
Andrew Tridgell
8ec815920d added TDB_INTERNAL, TDB_NOLOCK and TDB_NOMMAP flags.
TDB_INTERNAL replaces the old method of passing a null filename
-
Andrew Tridgell
90b574296e added TDB_MODIFY flag - patch from from luke -
Tim Potter
8cbc7dfa03 Updated docs for tdb_traverse. -
Andrew Tridgell
2a152998a1 improved the error checking -
Andrew Tridgell
c199ec9543 updated docs -
Andrew Tridgell
efb4fbcca8 expanded the tdb documentation -
Andrew Tridgell
4951755413 first cut at using the tdb code for the connections structure, the
SWAT status page and smbstatus. It made the code _much_ simpler, I
wish we'd done a database module a long time ago!
-
Andrew Tridgell
c89d29cc5e first pass at the database code for Samba. This also includes a test
suite and a very simple tool for manuipulating the databases.

the main code is in tdb/tdb.c and includes both mmap and file based
IO. All databases auto-expand and allow multiple simultaneous writers.

the next step is using this new capability in lots of places in Samba
where we have existing ad-hoc databases
-