summaryrefslogtreecommitdiff
path: root/source4/ntvfs/common/brlock_tdb.c
AgeCommit message (Collapse)AuthorFilesLines
2011-09-05s4:ntvfs: s/== PROTOCOL_SMB2/>= PROTOCOL_SMB2_02/Stefan Metzmacher1-1/+1
metze
2011-06-20tdb_fetch_compat: use instead of tdb_fetch.Rusty Russell1-6/+6
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-08s4-ntvfs: Rename brl_*() -> brlock_*() to avoid conflict with brlock_init in s3Andrew Bartlett1-1/+1
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-5/+5
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.
2011-02-15s4: Don't grant level II oplock to a file with byte-range locks.Pavel Shilovsky1-1/+28
Signed-off-by: Pavel Shilovsky <piastry@etersoft.ru> Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Tue Feb 15 11:09:17 CET 2011 on sn-devel-104
2009-11-27s4-ntvfs: move valid lock range test from smb2 layer to generic codeAndrew Tridgell1-0/+19
win7 also fails invalid lock ranges on SMB
2008-12-29s4: Revert "r24284: change brlock_tdb.c to use the dbwrap API. This actually ↵Stefan Metzmacher1-71/+100
makes the" This reverts commit 4792285282e2ec78ccb0ebc3cac6465d1d26ef10. Conflicts: source4/ntvfs/common/brlock_tdb.c source4/ntvfs/common/config.mk
2008-09-16Fix last few includes to use new tdb location.Jelmer Vernooij1-1/+1
2008-06-02smbpid needs to be 32 bit now to cope with SMB2Andrew Tridgell1-4/+4
(This used to be commit a2854fd6eaf097b5a9a562e0b8f1a599485fec42)
2007-12-21r26355: Eliminate global_loadparm in more places.Jelmer Vernooij1-1/+2
(This used to be commit 5d589a0d94bd76a9b4c9fc748854e8098ea43c4d)
2007-12-21r26228: Store loadparm context in auth context, move more loadparm_contexts ↵Jelmer Vernooij1-1/+2
up the call stack. (This used to be commit ba75f1613a9aac69dd5df94dd8a2b37820acd166)
2007-10-10r25554: Convert last instances of BOOL, True and False to the standard types.Jelmer Vernooij1-13/+13
(This used to be commit 566aa14139510788548a874e9213d91317f83ca9)
2007-10-10r24642: prevent recursion with fetch_lockedAndrew Tridgell1-10/+22
add a note about server_id exists checking (This used to be commit dd951b983c0cde2dd54c5370dc8d6440509b0559)
2007-10-10r24284: change brlock_tdb.c to use the dbwrap API. This actually makes theAndrew Tridgell1-94/+65
backend abstraction for brlock pointless, but I have left it in place for now. It would be useful for other clustering systems that can't map to dbwrap, and would also be useful if we wanted to keep the remote function call capabilities in ctdb instead of the less efficient fetch_locked() call in dbwrap (This used to be commit 912c014b7c131ab051ff6eb2db4e68cb6fbbeb14)
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-10r22863: in SMB2 mode we always need to return NT_STATUS_LOCK_NOT_GRANTEDStefan Metzmacher1-0/+6
metze (This used to be commit 83a61a2892539b2bcfbdaac7ca169c99f2b4503a)
2007-10-10r20947: fixed a bug in the unlock logic in the brlock tdb backendAndrew Tridgell1-28/+44
I'm very surprised this didn't show up earlier! (This used to be commit 5d9b1acf4f35d11c4730cbc9cadedb33c6ec08e8)
2007-10-10r20920: use cluster_tdb_tmp_open() in ntvfs backend codeAndrew Tridgell1-5/+1
(This used to be commit c9080c54872f107d1e42e77261df50a5d55d294f)
2007-10-10r20891: enable multiple brlock backends. The tdb backend is the default. TheAndrew Tridgell1-0/+706
prototype ctdb backend is in cluster/ctdb/brlock_ctdb.c (This used to be commit 84d0e5316299931dc26f2a7b86962d2fffcc4b71)