summaryrefslogtreecommitdiff
path: root/source4/ntvfs/common/opendb_tdb.c
AgeCommit message (Collapse)AuthorFilesLines
2011-06-20tdb_fetch_compat: use instead of tdb_fetch.Rusty Russell1-1/+1
This is a noop for tdb1. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-06-20tdb_compat.h: divert every tdb build and includes to tdb_compatRusty Russell1-1/+1
We change all the headers and wscript files to use tdb_compat; this means we have one place to decide whether to use TDB1 or TDB2. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-05-06lib/util Move source3 tdb_wrap_open() into the common code.Andrew Bartlett1-1/+1
This #if _SAMBA_BUILD == 3 is very unfortunate, as it means that in the top level build, these options are not available for these databases. However, having two different tdb_wrap lists is a worse fate, so this will do for now. Andrew Bartlett
2011-05-03s4-messaging Rename messaging -> imessagingAndrew Bartlett1-6/+6
This avoid symbol and structure conflicts between Samba3 and Samba4, and chooses a less generic name. Andrew Bartlett
2011-02-28Use <tdb.h> to include tdb, so the system include file gets used when ↵Jelmer Vernooij1-1/+1
building against system tdb.
2010-05-18Finish removal of iconv_convenience in public API's.Jelmer Vernooij1-2/+2
2009-02-02s4:ntvfs/common: s/private/private_dataStefan Metzmacher1-4/+4
metze
2008-09-16Fix last few includes to use new tdb location.Jelmer Vernooij1-1/+1
2008-06-03opendb: add write time handlingStefan Metzmacher1-6/+45
metze (This used to be commit 3868d8ce630c71e2c70aae442fcdbd68ba1eb708)
2008-03-27Fix references to ntvfs share configAndrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit 4e4152dfd70145a7a00bc42effcd07b607204926)
2008-03-27Make oplocks a per-share option.Andrew Bartlett1-2/+1
This even goes via the share options system (a very odd layer of indirection). Andrew Bartlett (This used to be commit f2c65f9907760b8852b70c53637388f08751ba88)
2008-03-12opendb_tdb: use sys_lease to setup kernel oplocksStefan Metzmacher1-8/+38
metze (This used to be commit e473068bddfaa9028ab8ee49291035313b35fed3)
2008-03-12opendb: pass down a pointer to the fd in odb_open_file()Stefan Metzmacher1-1/+3
This prepares kernel oplock support. metze (This used to be commit 9db9b6d85d80a8aaa8bd432afaef9bb634d7364d)
2008-03-08opendb_tdb: keep struct opendb_file arround for the lifetime of struct odb_lockStefan Metzmacher1-135/+109
That means we only have to parse the record once and as the tdb record is locked the in memory copy is always the same as the one in the tdb. metze (This used to be commit 0641a43cd6fd081cac0275f5bde2ad70fa6a71bb)
2008-03-08opendb_tdb: correctly initialize modified to falseStefan Metzmacher1-1/+1
Otherwise this variable would never change its value... metze (This used to be commit 5b13a564b8459c3134a43e1d4b4a791e33108b1b)
2008-03-07opendb: force odb_can_open() before odb_open_file()Stefan Metzmacher1-54/+66
Now there's only odb_can_open() which handles the share_access rules. And odb_open_file() only adds the new opendb_entry into the database and calculates the granted oplock level. metze (This used to be commit db0853ae4fead34ef382bbfcfe2f46453ab8b73b)
2008-03-07opendb_tdb: pass down struct messaging_context directly to ↵Stefan Metzmacher1-5/+8
odb_oplock_break_send() metze (This used to be commit c993b07f7d5caf290ccb9ca81961aa35a3ed1f02)
2008-03-06opendb: add allow_level_II_oplock parameter to odb_open_file()Stefan Metzmacher1-11/+21
Not all clients support a fallback to level II oplocks. metze (This used to be commit 146f1fe0b67ca0805f0e71358abc57da0c0579a9)
2008-02-29opendb: add odb_get_path()Stefan Metzmacher1-0/+20
metze (This used to be commit 02071f151a22257d31f8a8b254625e2067e7b94d)
2008-02-28opendb: only return delete_on_close on odb_get_delete_on_close()Stefan Metzmacher1-13/+3
metze (This used to be commit e699633db2d377a9077ff490208da277e250239b)
2008-02-28opendb: return the path that should be deleted in odb_close_file()Stefan Metzmacher1-2/+13
That means the last close returns the path name if the delete_on_close flag is set. metze (This used to be commit fc27730bad24e8dddaa2e7f754a16811e38a2f60)
2008-02-27opendb_tdb: EXCLUSIVE oplock use the same matching logicStefan Metzmacher1-3/+21
metze (This used to be commit 48e703d5a6b8a7b273d0bf15fc6198ef25b0a7c4)
2008-02-26opendb_tdb: with break_to_none attribute only opens also break oplocksStefan Metzmacher1-2/+9
metze (This used to be commit c475353e34154eb13e35cc8b6cf553e3986f8677)
2008-02-26opendb: unify the parameters of odb_open_file() and odb_can_open()Stefan Metzmacher1-10/+3
metze (This used to be commit e6b708a52b0eada3fd374b66292ded3b0f6ce217)
2008-02-26opendb: pass down open_disposition and break_to_none to odb_open_file()Stefan Metzmacher1-4/+3
metze (This used to be commit aaaa26ae5e810495f313dfada771a8de86cedbd4)
2008-02-26opendb_tdb: only file->delete_on_close == true should give DELETE_PENDINGStefan Metzmacher1-2/+5
metze (This used to be commit 5b12157e0f0f1cf6ea90503a72b56ab2032cb6e5)
2008-02-26opendb_tdb: move sharemode, oplock logic into odb_tdb_open_can_internal()Stefan Metzmacher1-89/+102
metze (This used to be commit 65cfe71b2617598f8e38d04537cfc9ce44a36680)
2008-02-26opendb_tdb: add force break to none logicStefan Metzmacher1-2/+7
metze (This used to be commit fbfe953ba347a902297bd8eae900ca70efd2db01)
2008-02-26opendb_tdb: attribute only opens doesn't conflict with BATCH oplocksStefan Metzmacher1-2/+35
metze (This used to be commit 7872b05abe7532676c4cc25620b96ea5d59117d2)
2008-02-26opendb_tdb: grant level2 oplocksStefan Metzmacher1-9/+23
metze (This used to be commit 57f1b9d11cfcac3b5fdee1ad9e4ba81d0859c8dc)
2008-02-26opendb: add odb_break_oplocks() functionStefan Metzmacher1-1/+39
This send breaks to none to all level2 holders metze (This used to be commit bd3654500b14e4ed8d4a8bb25ff9da5035a16a8b)
2008-02-25opendb: add odb_update_oplock() callStefan Metzmacher1-2/+43
metze (This used to be commit df576d69c6981a4879a0e9447069fcfacb3588db)
2008-02-25opendb: send also the oplock break level on MSG_NTVFS_OPLOCK_BREAKStefan Metzmacher1-5/+23
metze (This used to be commit 49402007f6e9e02a29792344c088e40d1a9b7acf)
2008-02-25opendb: add odb_get_key() function to get the key back from a struct odb_lockStefan Metzmacher1-0/+7
metze (This used to be commit 11f35a2a4d383b506ced35ba06120f9531bac70c)
2008-01-05r26670: Janitorial: Remove global_loadparm uses.Jelmer Vernooij1-2/+2
(This used to be commit 13cc6ca1d3c2b5899bdd02c4c7306a92baa260f5)
2008-01-01r26639: librpc: Pass iconv convenience on from RPC connection to NDR ↵Jelmer Vernooij1-1/+1
library, so it can be overridden by OpenChange. (This used to be commit 2f29f80e07adef1f020173f2cd6d947d0ef505ce)
2008-01-01r26638: libndr: Require explicitly specifying iconv_convenience for ↵Jelmer Vernooij1-1/+1
ndr_struct_push_blob(). (This used to be commit 61ad78ac98937ef7a9aa32075a91a1c95b7606b3)
2007-12-21r26431: Require ndr_push creators to specify a iconv_convenience context.Jelmer Vernooij1-1/+1
(This used to be commit 7352206f4450fdf881b95bda064cedd9d2477e4c)
2007-12-21r26353: Remove use of global_loadparm.Jelmer Vernooij1-1/+1
(This used to be commit 17637e4490e42db6cdef619286c4d5a0982e9d1a)
2007-12-21r26003: Split up DB_WRAP, as first step in an attempt to sanitize dependencies.Jelmer Vernooij1-1/+1
(This used to be commit 56dfcb4f2f8e74c9d8b2fe3a0df043781188a555)
2007-12-21r25920: ndr: change NTSTAUS into enum ndr_err_code (samba4 callers)Stefan Metzmacher1-8/+12
lib/messaging/ lib/registry/ lib/ldb-samba/ librpc/rpc/ auth/auth_winbind.c auth/gensec/ auth/kerberos/ dsdb/repl/ dsdb/samdb/ dsdb/schema/ torture/ cluster/ctdb/ kdc/ ntvfs/ipc/ torture/rap/ ntvfs/ utils/getntacl.c ntptr/ smb_server/ libcli/wrepl/ wrepl_server/ libcli/cldap/ libcli/dgram/ libcli/ldap/ libcli/raw/ libcli/nbt/ libnet/ winbind/ rpc_server/ metze (This used to be commit 6223c7fddc972687eb577e04fc1c8e0604c35435)
2007-10-10r25554: Convert last instances of BOOL, True and False to the standard types.Jelmer Vernooij1-8/+8
(This used to be commit 566aa14139510788548a874e9213d91317f83ca9)
2007-10-10r25430: Add the loadparm context to all parametric options.Jelmer Vernooij1-1/+1
(This used to be commit fd697d77c9fe67a00939a1f04b35c451316fff58)
2007-10-10r25035: Fix some more warnings, use service pointer rather than service ↵Jelmer Vernooij1-1/+1
number in more places. (This used to be commit df9cebcb97e20564359097148665bd519f31bc6f)
2007-10-10r25026: Move param/param.h out of includes.hJelmer Vernooij1-0/+1
(This used to be commit abe8349f9b4387961ff3665d8c589d61cd2edf31)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell1-3/+2
There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10r21807: modularise the opendb code, so different backends can beAndrew Tridgell1-0/+622
implemented. This will allow for a ctdb opendb backend. (This used to be commit 6b91ca0968209ad17489341c78d9610607cc8320)