summaryrefslogtreecommitdiff
path: root/source4/ntvfs/common
AgeCommit message (Collapse)AuthorFilesLines
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 Tridgell3-100/+67
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 Tridgell9-27/+18
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-10r22082: merged the ctdb changes from bzrAndrew Tridgell3-3/+7
added opendb ctdb backend from ronnie (This used to be commit b0da25cb79f860bfa14ba7a8419c7996d936292b)
2007-10-10r21807: modularise the opendb code, so different backends can beAndrew Tridgell5-458/+693
implemented. This will allow for a ctdb opendb backend. (This used to be commit 6b91ca0968209ad17489341c78d9610607cc8320)
2007-10-10r21669: Fix --enable-dso buildJelmer Vernooij1-0/+1
(This used to be commit 7cf9d07c88b0c81777bb9363d445ac657982a366)
2007-10-10r20983: Two no-mem error returnsVolker Lendecke1-0/+5
(This used to be commit 79a0cd3a1bbd3d4ef0c335f398fa8bb8e82c8624)
2007-10-10r20972: "private" -> "private_data"Volker Lendecke1-17/+17
(This used to be commit 8cbcd3d1cbb0661b1767bb7ace0804cf9a573e34)
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 Tridgell3-17/+3
(This used to be commit c9080c54872f107d1e42e77261df50a5d55d294f)
2007-10-10r20899: fix the build and compiler warningsStefan Metzmacher1-0/+5
metze (This used to be commit eec93720aced2b4cdad9f6f5a4f6e23587128357)
2007-10-10r20897: fix compiler warningsStefan Metzmacher4-1/+30
metze (This used to be commit 5ac562e1e0e8de03c8bcd083a1822b31667c5e21)
2007-10-10r20894: the new brlock.c is needed (seems a svn rename + new file didn't makeAndrew Tridgell1-0/+132
it in one commit) (This used to be commit 3315e877ab6504569e2869b52d989fc821982a3b)
2007-10-10r20891: enable multiple brlock backends. The tdb backend is the default. TheAndrew Tridgell3-54/+125
prototype ctdb backend is in cluster/ctdb/brlock_ctdb.c (This used to be commit 84d0e5316299931dc26f2a7b86962d2fffcc4b71)
2007-10-10r20653: If this is the wrong way to fix the build, I apologize. But these ↵Volker Lendecke3-0/+3
includes are necessary in my environment to get through make. Volker (This used to be commit 47e80da39f27a7e7aa6f85d6333f2d1772292ec9)
2007-10-10r20646: first preparations for cluster enablement. This changes "Andrew Tridgell3-15/+15
uint32_t server_id to struct server_id server_id; which allows a server ID to have an node number. The node number will be zero in non-clustered case. This is the most basic hook needed for clustering, and ctdb. (This used to be commit 2365abaa991d57d68c6ebe9be608e01c907102eb)
2007-10-10r19428: moved tdbutil.c from lib/tdb/common/ to lib/util/util_tdb.cAndrew Tridgell1-1/+1
tdbutil.c is Samba specific, so should not be part of the generic tdb library (This used to be commit 979dd24f5e44605fc1603b690913b8c31be7478f)
2007-10-10r17930: Merge noinclude branch:Jelmer Vernooij2-2/+1
* Move dlinklist.h, smb.h to subsystem-specific directories * Clean up ads.h and move what is left of it to dsdb/ (only place where it's used) (This used to be commit f7afa1cb77f3cfa7020b57de12e6003db7cfcc42)
2007-10-10r17206: Add a modular API for share configuration.Simo Sorce2-4/+8
Commit the classic backwards compatible module which is the default one (This used to be commit a89cc346b9296cb49929898d257a064a6c2bae86)
2007-10-10r15854: more talloc_set_destructor() typesafe fixesAndrew Tridgell2-4/+2
(This used to be commit 61c6100617589ac6df4f527877241464cacbf8b3)
2007-10-10r15797: fixed a notify bug, where a notify_remove() is beyond the current maxAndrew Tridgell1-0/+5
depth (This used to be commit 2ebcfcc6dadd4a420431c733bb12fe7719057fd6)
2007-10-10r15734: This is a major change to the NTVFS subsystem:Stefan Metzmacher1-11/+11
- to use a struct ntvfs_handle instead of a uint16_t fnum. (to make it independend from the frontend protocol) - the allocation of handles now is provided by the frontend (smbsrv_*) via callbacks and not by each backend module - this also makes sure that file handles are only passed to the ntvfs subsystem when the tcon and session matches, so modules can rely on this and need to check this. - this allows multiple modules in the ntvfs module chain to allocate file handles. This can be used for virtual files like "\\$Extend\\$Quota:$Q:$INDEX_ALLOCATION"... - also this will make SMB2 with 128 bit file handles possible metze (This used to be commit 287fc1c22d670f6e568014b420f7f4cb31dc7958)
2007-10-10r15614: the byte range locking error handling caches the last failed lockStefan Metzmacher1-43/+89
per file handle and not per tree connect metze (This used to be commit 5d825261c0b8341f0a7f0f6d96d83807352566f4)
2007-10-10r15613: the snum doesn't identify the tcon, but the brl_context pointer doesStefan Metzmacher1-10/+9
metze (This used to be commit 5e256f4b78441269de2e53c9582f3237e4220f6c)
2007-10-10r15612: look at the lock_type and not at the notify_ptr being NULL or notStefan Metzmacher1-2/+3
metze (This used to be commit 7fa6d736913af2d1d2215ca1a04ed8763ccb3d45)
2007-10-10r15328: Move some functions around, remove dependencies.Jelmer Vernooij1-1/+0
Remove some autogenerated headers (which had prototypes now autogenerated by pidl) Remove ndr_security.h from a few places - it's no longer necessary (This used to be commit c19c2b51d3e1ad347120b06a22bda5ec586c22e8)
2007-10-10r15207: Introduce PRIVATE_DEPENDENCIES and PUBLIC_DEPENDENCIES as replacementJelmer Vernooij1-1/+1
for REQUIRED_SUBSYSTEMS. (This used to be commit adc8a019b6da256f104abed1b82bfde6998a2ac9)
2007-10-10r15048: started on the server side implementation of oplocks. The code is notAndrew Tridgell1-22/+83
functional yet, I'm committing so it doesn't diverge too much from other peoples work. It is disabled by default. (This used to be commit ba0b8a218dfe1ef6cdf7de724fb30650301369dd)
2007-10-10r14993: Make subsystems againJelmer Vernooij1-4/+1
(This used to be commit d55b040bd280c86423f2a620dfc0341accb23cc4)
2007-10-10r14966: make more functions _PUBLIC_Stefan Metzmacher1-19/+19
metze (This used to be commit 193f7da254cce40ab30fda9e99b8cd07e0b0a0a8)
2007-10-10r14964: - move sidmap code from ntvfs_common to SAMDBStefan Metzmacher4-574/+43
- make ntvfs_common a library - create sys_notify library metze (This used to be commit a3e1d56cf7b688c515f5d6d4d43e0b24c2261d15)
2007-10-10r14960: don't declare variables mid-functionAndrew Tridgell1-1/+2
(This used to be commit 4537de9289ce025a240fe46a708434c195138d20)
2007-10-10r14959: allow change notify to be disabled completely usingAndrew Tridgell1-0/+19
notify:enable=False (This used to be commit 2a8f093105f3047a3697f29aadcc9c48c6ac88e1)
2007-10-10r14956: change the notify search to be much more efficient by using aAndrew Tridgell1-83/+167
per-depth bisection search. This makes the notify_trigger() call log(N) which makes us scale well for large numbers of outstanding notifies (This used to be commit 16fd00925fdbf77e7a403ad501bf6ea429404c76)
2007-10-10r14951: - remove unused var 'path'Stefan Metzmacher1-12/+7
- fix compiler warning metze (This used to be commit 4d7de8b251e006a469adf2793dae422e128844c5)
2007-10-10r14945: allow the notify backend to be specified per shareAndrew Tridgell1-2/+2
(This used to be commit 467027e7730a3bc56f152df7e2ec272905e19584)
2007-10-10r14939: don't use a void pointerStefan Metzmacher1-1/+1
metze (This used to be commit 03906b2b13c000ad9683f6bb1e336075655e1367)
2007-10-10r14920: allow a notify backend to separately specify if it has handled theAndrew Tridgell1-21/+40
given mask for the current directory and sub-directories. This allows us to setup the less efficient internal handling for subdirectories, while using the kernel inotify service for the current directory if available. It also allows inotify to handle only some of the filter bits, leaving the other filter bits for the user space handler. (This used to be commit 7c3d989fa44c7f57853a825337159f476d7dff80)
2007-10-10r14918: cleaner handling of systems without inotifyAndrew Tridgell1-24/+33
(This used to be commit cf17ff15b15942f0ce068dd0a94b3b565a9b93cb)
2007-10-10r14877: added support for the kernel inotify mechanism. This passes basicAndrew Tridgell1-48/+89
tests, but still needs some more work to ensure we correctly cope with events that may generate both a system inotify event and a internal notify event. The system inotify events won't handle recursion, and don't understand things like streams. This also adds the ntvfs/sysdep/ directory, which is meant for system dependent code that is not tied to a particular ntvfs backend. The inotify code is a good example of that. (This used to be commit eadadbb44adb3c4081d6ff1d85a9b850a0227059)
2007-10-10r14860: create libcli/security/security.hStefan Metzmacher1-1/+1
metze (This used to be commit 9ec706238c173992dc938d537bdf1103bf519dbf)
2007-10-10r14838: fix the build. Looks like I still haven't quite got the hang of theAndrew Tridgell1-1/+1
new dependency/proto system :-) (This used to be commit 63ae3f21e3471895ba83df1c2fdc4147090f7fdb)
2007-10-10r14835: split out the config rules for the ntvfs/common/ directoryAndrew Tridgell1-0/+13
(This used to be commit 33495d19cf0263f6df5ec935f51c68bde84b1d01)
2007-10-10r14822: if we use the snum used by the lp_* functions instead of the wire TID,Stefan Metzmacher1-10/+10
then don't use tid as name... metze (This used to be commit d41d48caf209fec9f5f04d38d75277b1cfeed22f)
2007-10-10r14805: use tdb_lock_bystring() to prevent race conditions in notify add/removeAndrew Tridgell1-5/+56
(This used to be commit a6be44f78ca2eaecbf0b6d8598addba5a11ae966)
2007-10-10r14803: copy with the root directory, which has /. on the end of the pathAndrew Tridgell1-0/+17
(This used to be commit 16742cd28621d205f21c855e5635be1dfc3f2b69)
2007-10-10r14800: use tdb_get_seqnum() in the change notify code to avoid reloading theAndrew Tridgell1-2/+13
notify record if the tdb has not changed. This makes the notify_trigger() call much faster, which is important as it is called on just about every file operation (This used to be commit d09b8761bfda7dfbb4c7a5c4a4f4359ba01923a3)
2007-10-10r14797: added checking of the filter in notify requestsAndrew Tridgell1-5/+9
(This used to be commit 1db0a5a7f4c1ff915d91bc15d8e40cc90a78961d)
2007-10-10r14755: the change notify code now passes most of the RAW-NOTIFY test. StillAndrew Tridgell1-4/+3
more work to do though (This used to be commit 4d234b37e528137b5c00f6bbb84c2d6939fea324)