summaryrefslogtreecommitdiffstats
path: root/source/tdb/tdbtool.c
Commit message (Collapse)AuthorAgeFilesLines
* sync with SAMBA_2_2 for 2.2.6rc1Gerald Carter2002-10-091-0/+1
|
* merging for 2.2.6pre1Gerald Carter2002-07-271-16/+16
|
* Start of merge to 2_2_RELEASE branch for release.Jeremy Allison2002-04-301-2/+1
| | | | Jeremy.
* Move over to RELEASE branch.Jeremy Allison2002-02-011-38/+120
| | | | Jeremy.
* Sync-up with SAMBA_2_2 branch.Jeremy Allison2001-10-111-0/+7
| | | | Jeremy.
* Syncup getting ready for release.Jeremy Allison2001-07-061-0/+2
| | | | Jeremy.
* lib/debug.c: Compiler fixes.Jeremy Allison2001-02-121-6/+15
| | | | | | | | libsmb/nmblib.c: dos2unix fix. printing/nt_printing.c: Exit code fixes. printing/printing.c: debug fixes. tdb/tdbtool.c: Updates from JohnR. Jeremy.
* Mega-merge for fixes made in appliance-head.Jeremy Allison2001-01-271-10/+73
| | | | | | | | | | | | | | | | nmbd/nmbd.c: smbd/server.c: Inherited signal fix from John Reilly. printing/nt_printing.c: printing/printing.c: rpc_server/srv_spoolss_nt.c: Fix for PCL drivers not being able to save printer properties. printing/printfsp.c: smbd/close.c: Fix to allow cleanup of spool files on connection drop. tdb/tdb.c: malloc fix from Tim Potter. tdb/tdbtool.c: Free list viewer from John. smbd/lanman.c: Fix to stop a buffer overrun in Win9x from corrupting it's own parameter list. Sigh.... buffer overruns are-us (MS). Jeremy.
* Fixed tdb_next_lock bug where it was failing when traversing the end ofJeremy Allison2000-12-071-0/+29
| | | | | one hashchain and the next hashchain was empty. Jeremy.
* lib/messages.c: Use strlen for message length.Jeremy Allison2000-12-021-0/+3
| | | | | tdb/tdb.c tdb/tdbtool.c: Added print free list command. Jeremy.
* Fixes from Damian at Cisco to tidy up some tdbtool issues.Jeremy Allison2000-10-051-4/+15
| | | | Jeremy.
* dump in a binary formatAndrew Tridgell2000-04-241-3/+45
|
* Added standard shell command thing using '!' as first character.Tim Potter2000-03-131-41/+49
|
* Modifications to tdb_traverse() arguments to remove compile warnings.Tim Potter2000-02-281-1/+7
|
* 1) added void* state argument to tdb_traverse. guess what! there wereLuke Leighton2000-02-041-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.
* don't require readlineAndrew Tridgell2000-01-071-1/+13
|
* - added tdb_flags option to tdb_open()Andrew Tridgell2000-01-021-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
* fixed more locking bugs - all seems OK nowAndrew Tridgell1999-12-241-3/+1
|
* first pass at the database code for Samba. This also includes a testAndrew Tridgell1999-12-211-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