Age | Commit message (Collapse) | Author | Files | Lines |
|
metze
(This used to be commit 71ccac56c21635e7f6eb8d558230f637f50149ad)
|
|
caller doesn't have to worry about the constraint of only opening a
database a single time in a process. These wrappers will ensure that
only a single open is done, and will auto-close when the last instance
is gone.
When you are finished with a database pointer, use talloc_free() to
close it.
note that this code does not take account of the threads process
model, and does not yet take account of symlinks or hard links to tdb
files.
(This used to be commit 04e1171996612ddb15f84134cadded68f0d173b2)
|
|
they have been broken for 4 years (ever since they were added) and
have been never used, which makes them prime candidates for
destruction.
(This used to be commit 0b53ab85aae4569c04495f07c18a65fd6b47bf4c)
|
|
Spotted by Taj Khattra <taj.khattra@gmail.com>.
Jeremy.
(This used to be commit a7d92301bbf45cb9e475e4876fdbb37644ad5871)
|
|
(This used to be commit 56ecda2178e33508c55c6195ccec41c06e099d6f)
|
|
(This used to be commit 0d5af5b70bd010e7107b18f73a4b899e05c4f025)
|
|
convert a ... varargs function to a va_list by just a cast!!)
also mark the tdb log function with PRINTF_ATTRIBUTE() and fixed some
bad format errors in tdb.c that jim found.
(This used to be commit c26c92eb8f538748fcbb2ae5a0a8a02bffbbbf86)
|
|
(This used to be commit 17a53eaac2d0d76413c8bb27a6f1c80536ccf3a7)
|
|
metze
(This used to be commit ecdb0b442659e80ca91d5ec5b505224c68a97c5a)
|
|
NOTE: tdbbackup and tdbtool seems to be broken...
NOTE: I also added SMB_EXT_LIB(GDBM,...)
because that is needed by tdbtest
metze
(This used to be commit e66630662d4203ccecbb20962e83dbf50a2c056f)
|
|
Jeremy.
(This used to be commit b43320ee5c9ac14c330e61ae62e0786b088e04fa)
|
|
(This used to be commit 6c15d5f31bdb2559656c96ae7f01f99d1ab9cb36)
|
|
- #include <stdint.h>
- uint_t isn't a valid type, change back to unsigned int
(This used to be commit f690325565d2393bba3cb9f6e7cdf3753cbd4423)
|
|
metze
(This used to be commit 4c1c9f59ccea8b6cd7edf3bad8acb9cd8c772670)
|
|
metze
(This used to be commit 57151e80eb1090281401930c8fe25b20a8cf3a38)
|
|
metze
(This used to be commit 18062d2ed9fc9224c43143c10efbf2f6f1f5bbe0)
|
|
metze
(This used to be commit b5378803fdcb3b3afe7c2932a38828e83470f61a)
|
|
metze
(This used to be commit 2986c5f08c8f0c26a2ea7b6ce20aae025183109f)
|
|
metze
(This used to be commit af6f1f8a01bebbecd99bc8c066519e89966e65e3)
|
|
metze
(This used to be commit f3b1d3bdc74f08ee2a1d22102d57bff94f71f5a5)
|
|
metze
(This used to be commit 0e5517d937a2eb7cf707991d1c7498c1ab456095)
|
|
like in ldb
also fix the makefile to let it compile the tools fine
metze
(This used to be commit e3191b54ea583913a9fd21eeb4e57d82e996c847)
|
|
metze
(This used to be commit bacab322ce89979f0ad0811cd15b73d81eceb69d)
|
|
system. I'd like to get rid of DOM_SID completely soon
(This used to be commit e306e27cf333e176195a47b19e3de591b4a59650)
|
|
CatchSignal fn from lib/signal changing it's name to TdbCatchSignal
(This used to be commit e1afaa1e9c8de5615030015b1360529b450d2047)
|
|
- remove tdb logging helper functions out of LIBTDB subsystem
- build libtdb shared lib with 'make library_libtdb'
the libs are not usable for now,
tridge: please remove the dependecy of CatchSignal() and smb_panic()
from libtdb
maybe use function pointers in the TDB_CONTEXT
then run make library_libtdb
and then make build/tests/trivial.o
and then gcc -o trivial -L./bin -ltdb
and then gcc -o trivial -L./bin -lldb
metze
(This used to be commit 520b9762161d9b5d5223b42910494af80fd5c1e3)
|
|
situation where we are continually increasing the size of a record
(such as ldb index records) this reduces the resulting tdb size by a
factor of over 100x, due to reductions in fragmentation. It appears to
have no noticable effect on the speed in other cases.
(This used to be commit b61d7f8bbc0c01d648ce204ffb6ea657e0b04c03)
|
|
in general I prefer the struct form for Samba4 structures. I think its
clearer.
(This used to be commit 63b26557744ce4cbf5c9419f752fbd63ed8bfec6)
|
|
(This used to be commit 0e845ecd49841c620f7f9c5ba6c5bfbb0c572032)
|
|
(This used to be commit b881b72cb9cb5a4a8ad27b621e8cbe9dcfa7ba7f)
|
|
(This used to be commit 51409e2a417fb0673f59e5c823d7fe54b21e6f76)
|
|
doesn't exist then fail the store"
(This used to be commit 6aec1457f8772cf81b88a0a00cc2ad7c16cd0d87)
|
|
data to their traverse function
(This used to be commit 76bf816485bf869c293791659da5dff2425d2d32)
|
|
(This used to be commit 6505efc7e9bfcdae3e370d8557328470608b87ca)
|
|
don't cause fragmented pdus (I'll add fragments shortly)
* change data_blob_talloc() to not zero memory when the 2nd argument
is NULL. The zeroing just masks bugs, and can't even allow a DOS
attack
* modified pidl to ensure that [ref] arguments to the out side of
functions are allocated when parsing the in side. This allows rpc
backends to assume that [ref] variables are all setup. Doesn't work
correctly for [ref] arrays yet
* changed DLIST_ADD_END() to take the type instead of a tmp
variable. This means you don't need to declare a silly tmp variable in
the caller
(This used to be commit 46e0a358198eeb9af1907ee2a29025d3ab23b6d1)
|
|
* updated tdb to latest version from Samba3
* removed some extraneous ';' in tdbutil.c (Thanks to Erlend Aasland
for pointing this out)
(This used to be commit f3eaf270e57d8d2e2157a6a36e260860c7f71c19)
|
|
(This used to be commit 02d068ba7d81d6db25122144981c63f74ad44025)
|
|
(This used to be commit b0510b5428b3461aeb9bbe3cc95f62fc73e2b97f)
|