summaryrefslogtreecommitdiff
path: root/source4/ntvfs/common
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 Russell2-7/+7
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 Russell4-4/+4
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-06-09librpc/idr Use the Samba3 notify.idl in common.Andrew Bartlett1-1/+1
The extra fields in the structure that Samba4 does not use should not bother it. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-05-08s4-ntvfs: Rename brl_*() -> brlock_*() to avoid conflict with brlock_init in s3Andrew Bartlett3-11/+11
2011-05-06lib/util Move source3 tdb_wrap_open() into the common code.Andrew Bartlett3-3/+3
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 Bartlett6-25/+25
This avoid symbol and structure conflicts between Samba3 and Samba4, and chooses a less generic name. Andrew Bartlett
2011-03-19source4/ntvfs: Fix prototypes for all functions.Jelmer Vernooij1-0/+2
2011-02-28Use <tdb.h> to include tdb, so the system include file gets used when ↵Jelmer Vernooij4-4/+4
building against system tdb.
2011-02-15s4: Don't grant level II oplock to a file with byte-range locks.Pavel Shilovsky3-1/+41
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
2010-10-31s4: Remove the old perl/m4/make/mk-based build system.Jelmer Vernooij1-11/+0
The new waf-based build system now has all the same functionality, and the old build system has been broken for quite some time. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 31 02:01:44 UTC 2010 on sn-devel-104
2010-05-24s4:ntvfs rename notify.idl to s4_notify.idl until we can merge this IDLAndrew Bartlett1-1/+1
This IDL is almost common, but the source3 version has a hand-marshalled server_id. The s3compat build has problems with two different idl files of the same name. Andrew Bartlett
2010-05-18Finish removal of iconv_convenience in public API's.Jelmer Vernooij2-9/+6
2010-04-06s4-waf: removed the AUTOGENERATED markersAndrew Tridgell1-4/+0
we won't be using the mk -> wscript generator again
2010-04-06s4-waf: mark the wscript files as python so vim/emacs knows how to highlight ↵Andrew Tridgell1-0/+2
them
2010-04-06build: commit all the waf build files in the treeAndrew Tridgell1-0/+10
2010-02-13s4-ntvfs: use TYPESAFE_QSORT() in notify codeAndrew Tridgell1-3/+2
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
2009-02-02s4:ntvfs/common: s/private/private_dataStefan Metzmacher3-10/+10
metze
2008-12-29s4:lib/tevent: rename structsStefan Metzmacher1-1/+1
list="" list="$list event_context:tevent_context" list="$list fd_event:tevent_fd" list="$list timed_event:tevent_timer" for s in $list; do o=`echo $s | cut -d ':' -f1` n=`echo $s | cut -d ':' -f2` r=`git grep "struct $o" |cut -d ':' -f1 |sort -u` files=`echo "$r" | grep -v source3 | grep -v nsswitch | grep -v packaging4` for f in $files; do cat $f | sed -e "s/struct $o/struct $n/g" > $f.tmp mv $f.tmp $f done done metze
2008-12-29s4:cluster: remove old/broken ctdb codeStefan Metzmacher2-6/+1
We don't need a full copy of ctdb... If we want to readd cluster support, we should just use a ctdb client library. metze
2008-12-29s4: Revert "r24284: change brlock_tdb.c to use the dbwrap API. This actually ↵Stefan Metzmacher2-72/+101
makes the" This reverts commit 4792285282e2ec78ccb0ebc3cac6465d1d26ef10. Conflicts: source4/ntvfs/common/brlock_tdb.c source4/ntvfs/common/config.mk
2008-12-23Use 32-bit smbpid in interface as required by SMB2, in line withJelmer Vernooij2-5/+5
1bdd08227e7d046305705050f21f0f1b6dd6994a.
2008-10-11Fix include paths to new location of libutil.Jelmer Vernooij1-2/+2
2008-09-16Fix last few includes to use new tdb location.Jelmer Vernooij4-4/+4
2008-06-03Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-testAndrew Tridgell3-16/+68
(This used to be commit 9d74201e462f2f95ed5bd91200681db3bd2a9277)
2008-06-03opendb: add write time handlingStefan Metzmacher3-16/+68
metze (This used to be commit 3868d8ce630c71e2c70aae442fcdbd68ba1eb708)
2008-06-02smbpid needs to be 32 bit now to cope with SMB2Andrew Tridgell2-5/+5
(This used to be commit a2854fd6eaf097b5a9a562e0b8f1a599485fec42)
2008-05-18Fix a bunch of dependencies.Jelmer Vernooij1-1/+1
(This used to be commit a63f458462d207d215a6e4ef8e480b0c8daedf6a)
2008-05-18Fix a couple (well, little more than that..) of typos.Jelmer Vernooij1-1/+1
(This used to be commit a6b52119940a900fb0de3864b8bca94e2965cc24)
2008-05-18Create prototype headers from Makefile directory, without smb_build in the ↵Jelmer Vernooij1-1/+2
middle. (This used to be commit f4a77b96f9c17d853348b70794026e5b9e384942)
2008-05-18Use variables for source directory in a couple more places.Jelmer Vernooij1-1/+1
(This used to be commit c41bd3005f5f0b9cfd3709fc9217b4a401d265b4)
2008-04-17Explicitly require event context to be specified.Jelmer Vernooij1-0/+4
(This used to be commit a95a71fe45ef6a578569931a7c38061783d07db3)
2008-04-14Use _OBJ_FILES variables in a couple more places.Jelmer Vernooij1-11/+4
(This used to be commit 92856d5054106894b65cd1a1b5119c0facfc4cff)
2008-04-02Install public header files again and include required prototypes.Jelmer Vernooij2-15/+15
(This used to be commit 47ffbbf67435904754469544390b67d34c958343)
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 Metzmacher2-9/+42
metze (This used to be commit e473068bddfaa9028ab8ee49291035313b35fed3)
2008-03-12opendb: pass down a pointer to the fd in odb_open_file()Stefan Metzmacher3-4/+6
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 Metzmacher3-65/+72
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 Metzmacher3-12/+25
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 Metzmacher3-0/+29
metze (This used to be commit 02071f151a22257d31f8a8b254625e2067e7b94d)
2008-02-28Merge branch 'v4-0-trivial' into v4-0-testJelmer Vernooij1-4/+6
(This used to be commit 6cbb241c05539cc62526a366094c9c472e6422a5)
2008-02-28opendb: only return delete_on_close on odb_get_delete_on_close()Stefan Metzmacher3-18/+6
metze (This used to be commit e699633db2d377a9077ff490208da277e250239b)
2008-02-28opendb: return the path that should be deleted in odb_close_file()Stefan Metzmacher3-5/+18
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-27Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivialJelmer Vernooij3-115/+314
(This used to be commit d96fcc52a70fd1236b767b1d88a39d78c4e8c48c)