summaryrefslogtreecommitdiff
path: root/source3/tdb/tdbtool.c
AgeCommit message (Collapse)AuthorFilesLines
2001-08-07Patch for having spaces in tdb keys, NULL termination fixes and otherTim Potter1-22/+87
stuff. From Andrew Esh <AEsh@tricord.com> (This used to be commit 78207d0fc8c4641fbd8f63f469c4135357edfad8)
2001-08-04Print an error message if database could not be opened.Volker Lendecke1-0/+7
Volker (This used to be commit b4f06c3ecf8af60352bc9e3af9c35c00827faad2)
2001-05-30added list function to tdbtoolAndrew Tridgell1-0/+2
(This used to be commit c20838c6358f02dea7967e28a5f23db70ff464f9)
2001-02-13It compiles for me now :-). rpc_server/srv_lsa.c - added fix to allow w2kJeremy Allison1-6/+15
clients to join a Samba domain - odd or even domain name length. Needs more testing. Jeremy. (This used to be commit 408672d38261e34cc3714200617b35464d88f931)
2001-01-29Changes from APPLIANCE_HEAD:David O'Neill1-10/+73
source/include/proto.h - make proto source/printing/nt_printing.c source/rpc_server/srv_spoolss_nt.c - Fix for the overwriting of printerdata entries when WinNT and Win2k are modifying printer parameters on PCL printers. Turns out that Win2k creates a printer with a NULL devmode entry and then expects to set it on *OPEN* (yes this is insane). So we cannot return a "default" devmode for a printer - and we must allow an open to set it. source/tdb/tdb.c - Show freelist in an easier format. Show total free. - When storing a new record, allocate memory for the key + data before the tdb_allocate() as if the malloc fails a (sparse) hole is left in the tdb. source/tdb/tdbtool.c - Show freelist in an easier format. Show total free. source/tdb/Makefile - cleaned up Makefile dependancies source/smbd/lanman.c - Fix for Win9x corrupting it's own parameter string. source/printing/printfsp.c source/printing/printing.c source/rpc_server/srv_spoolss_nt.c source/smbd/close.c - Added normal close parameter into print_fsp_end() which treats an abnormal close as error condition and deletes the spool file. (This used to be commit 025f7a092ad258ff774e3f5e53737f8210cc8af6)
2000-12-07Fixed bug with tdb_next_lock failing when reaching then end of a hashchainJeremy Allison1-0/+29
and the next hashchain is empty. Jeremy (This used to be commit f3b5e2a172a777e1c3bbf6ac72fe5c7cdb8324b3)
2000-12-02Added print_freelist command.Jeremy Allison1-0/+3
Jeremy. (This used to be commit ee89ca9e68abb23fc26cd1378e02e56d0d725e55)
2000-10-05Fixes from Damian at Cisco to tidy up some tdbtool issues.Jeremy Allison1-4/+15
Jeremy. (This used to be commit 623bfa6c935e2e3acb3145bfbd490758b34d2c70)
2000-04-24dump in a binary formatAndrew Tridgell1-3/+45
(This used to be commit 41af3232dba90832684ad8260ce0bb05e077cb02)
2000-03-13Added standard shell command thing using '!' as first character.Tim Potter1-41/+49
(This used to be commit 829e645f62ffa16041c0cc126174d6fe8f63a2f0)
2000-02-28Modifications to tdb_traverse() arguments to remove compile warnings.Tim Potter1-1/+7
(This used to be commit d64456b5889f0ee3a8c2108c13789540bfc3d90c)
2000-02-041) added void* state argument to tdb_traverse. guess what! there wereLuke Leighton1-5/+5
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)
2000-01-07don't require readlineAndrew Tridgell1-1/+13
(This used to be commit 2dbe70da8db548b3423c6c0de0f282fdf82f0fad)
2000-01-02- added tdb_flags option to tdb_open()Andrew Tridgell1-2/+3
- 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)
1999-12-24fixed more locking bugs - all seems OK nowAndrew Tridgell1-3/+1
(This used to be commit 584537961b6134a50089d37328a21c617bc6547b)
1999-12-21first pass at the database code for Samba. This also includes a testAndrew Tridgell1-0/+206
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)