Age | Commit message (Collapse) | Author | Files | Lines |
|
printing/printing.c: Cast tdb_delete to (tdb_traverse_func) to stop warning.
tmpfile gives mirror warning.
smbd/groupname.c: Remember to file_lines_free() on exit.
tdb/tdb.h: Add tdb_traverse_func typedef.
Jeremy
(This used to be commit 204ca1195c86499bd9beb273ce573db7a56ccead)
|
|
they are very useful for database versioning
(This used to be commit cc65914cdcceb1fdeeb5d6ec1cf2ea2f865c5092)
|
|
(This used to be commit 829e645f62ffa16041c0cc126174d6fe8f63a2f0)
|
|
(This used to be commit bbacdb834f9c8f8c34368664def42dabe78d90c9)
|
|
(This used to be commit 60ae73c257e84aa128954f0cf5cf59e7996c68d9)
|
|
(This used to be commit 110ec9923bd2ad729d63f129514f3f1de76de9c1)
|
|
(This used to be commit d64456b5889f0ee3a8c2108c13789540bfc3d90c)
|
|
associated with them. tdb can then be used as a hash table data
structure.
(This used to be commit b345c0a1058bcde7689bb9566535e9f1c46ee173)
|
|
(This used to be commit 2892f6e534d5084b50287bf3859be74d52978cb7)
|
|
(This used to be commit 8cbc7dfa031cb66d1f011705b6bd76d56c68cae5)
|
|
(This used to be commit 7faa70d254549e60520de1ed1112d41fe9a4d77c)
|
|
(This used to be commit 2d3e2f8877fb8eb21b4ccf4d7a56f1c625c71780)
|
|
with NULL tdb context.
(This used to be commit ba9f24c0964054f22cd8f0de32cfeacb88b4800c)
|
|
two places i found where it was appropriate to _use_ that third argument,
in locking.c and brlock.c! there was a static traverse_function and
i removed the static variable, typecast it to a void*, passed it to
tdb_traverse and re-cast it back to the traverse_function inside the
tdb_traverse function. this makes the use of tdb_traverse() reentrant,
which is never going to happen, i know, i just don't like to see
statics lying about when there's no need for them.
as i had to do in samba-tng, all uses of tdb_traverse modified to take
the new void* state argument.
2) disabled rpcclient: referring people to use SAMBA_TNG rpcclient.
i don't know how the other samba team members would react if i deleted
rpcclient from cvs main. damn, that code's so old, it's unreal.
20 rpcclient commands, instead of about 70 in SAMBA_TNG.
(This used to be commit 49d7f0afbc1c5425d53019e234d54ddf205c8e9a)
|
|
Jeremy.
(This used to be commit 82c99dc8d8bc79e88f0db651f04fc23508195a51)
|
|
(This used to be commit 77cf152c02b445f4b6e9de393936dd6e54e6f442)
|
|
(This used to be commit 2a152998a1489dead0edadb06f78b0ad6ede1a3a)
|
|
(This used to be commit bf9b1328c5843eb217eff4ca05645498de2def82)
|
|
(This used to be commit 2dbe70da8db548b3423c6c0de0f282fdf82f0fad)
|
|
- fixed a race condition in tdb_open()
(This used to be commit 21d4882f64a65ee1786231eb55b7768bb44921fd)
|
|
(This used to be commit 51ed6e8cec47642641e6b26682fd6f25624b19ae)
|
|
(This used to be commit 8767334d8a44db5cb8abf084d185dae6e32db062)
|
|
and doesn't seem to affect performance
(This used to be commit 1fb293732ed65deba6958000a9f6de7900e21f5c)
|
|
(This used to be commit c199ec9543d0d84bd5ea29078887684f708c9637)
|
|
- 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)
|
|
(This used to be commit 88a146ab04d65fc306569044dc00907a374fac51)
|
|
- prevent a free of an unallocated pointer
(This used to be commit b35b5c63886823bb8b8d8c5c29ccc7b315a7de30)
|
|
(This used to be commit 3b3fdd8661cc10057823be4c594e40ca615ca704)
|
|
(This used to be commit 584537961b6134a50089d37328a21c617bc6547b)
|
|
(This used to be commit 1f5dc924044fb54b10ac8884d4df1e15902de8be)
|
|
(This used to be commit ed7541668e9bc98ae9daf55f817d2de04345e660)
|
|
(This used to be commit c547ffa9e9ce68a77f63591b37b690a83a956348)
|
|
(This used to be commit efb4fbcca876ec661af0d72d4df2f04f36d4dd76)
|
|
instead of either sysv or mmap shared memory or lock files.
this means we can now completely remove
locking_shm.c
locking_slow.c
shmem.c
shmem_sysv.c
and lots of other things also got simpler
locking.c got a bit larger, but is much better compartmentalised now
(This used to be commit e48c2d9937eea0667b8cd3332e49c06314ef31e7)
|
|
SWAT status page and smbstatus. It made the code _much_ simpler, I
wish we'd done a database module a long time ago!
(This used to be commit 4951755413c11d4c5b9af4699a6e622056d52433)
|
|
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
(This used to be commit c89d29cc5e3b6d568928acace01144059f1668b3)
|