Age | Commit message (Collapse) | Author | Files | Lines |
|
metze
(This used to be commit 587373b97b95a8e562c3a5a59a62abade4dfed2f)
|
|
metze
(This used to be commit 608e5cd881d64b8db9146dfc4b3a1778a93a0f8e)
|
|
metze
(This used to be commit 73f12be7c6a648d4d5336328a340510ac7b1d6de)
|
|
metze
(This used to be commit c78451ce0618de92321430d2b50f9a8172d283f4)
|
|
You just need SEC_FILE_WRITE_ATTRIBUTE to change
the filesize...
metze
(This used to be commit 27e39063a0b759c7bced1cc9d7a6cb9192820c70)
|
|
metze
(This used to be commit 6c34c7bc6801e470e5ec50aa93d0a07f7ad59314)
|
|
As 0 is NTCREATEX_DISP_SUPERSEDE and that's not what we want here.
metze
(This used to be commit 10c42e3d4ab71a71dfe620b40841dfe98f458c1a)
|
|
TODO: this is not complete, we need more tests to trigger this
metze
(This used to be commit 66ad1081f2be8a0caa16fb0d614b857a5bde751c)
|
|
metze
(This used to be commit 746e89ce2e74dbd2cea8f5575c403e4c61f82cb8)
|
|
This is needed to receive oplock breaks from other "processes"
metze
(This used to be commit dd56f55afdc0d114a0b0bceb0e4feb022919323a)
|
|
metze
(This used to be commit 56bd63a4236ebf360d3e805c8560df86759573f7)
|
|
metze
(This used to be commit 904159327b3cb80fbec6aa5a4feaa141190a3f3a)
|
|
metze
(This used to be commit 46500983fe2f63540a67e2e963ab264fa8a090d0)
|
|
And also handle NULL for lckp in the error path
without crashing.
metze
(This used to be commit 04eb1be0c67317067ee0ca70c731fef958cd513c)
|
|
pvfs_can_delete/rename()
If the caller asks for the odb_lock return it
also if we return NT_STATUS_SHARING_VIOLATION
or NT_STATUS_OPLOCK_NOT_GRANTED so that the caller
can add the pending notification.
metze
(This used to be commit daab9cb11eb540fae7ec3c024a586f5fd02cfc71)
|
|
metze
(This used to be commit 3b70331536d2402814db13a9f1f226a39373313a)
|
|
(This used to be commit 566aa14139510788548a874e9213d91317f83ca9)
|
|
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)
|
|
pvfs_close: failed to delete XXX
during the BASE-DELETE test. It was a real bug, and could result in a
delete on close triggering for a handle that had never fully opened.
(This used to be commit 398c3724b4cd8c8073c8a77f8b0568d6b3ce1e7d)
|
|
* 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)
|
|
so we don't need them on the pvfs_file struct.
also we don't need to check is the handle has the correct session
as this is job of the frontend server
metze
(This used to be commit c83501335f245ac73b9d53c12efee3d46b8c5b05)
|
|
existing opened files as it is for SMB.
metze
(This used to be commit bcf09a769e241de36abed17f22aa0534d87cf4ff)
|
|
metze
(This used to be commit 4f1afda488f2fb5cfcf98ef6a56157f954fdccfc)
|
|
(This used to be commit 61c6100617589ac6df4f527877241464cacbf8b3)
|
|
(This used to be commit f3274e8f78f28a51313e98934b208c2deb9ae9ea)
|
|
- 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)
|
|
per file handle and not per tree connect
metze
(This used to be commit 5d825261c0b8341f0a7f0f6d96d83807352566f4)
|
|
metze
(This used to be commit d76f3e2fb61317633876afc90c1cea1130e58dea)
|
|
metze
(This used to be commit bd2c899d83615066fbd1332495a4610eeea8f8ee)
|
|
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)
|
|
of w2k3. The behaviour is particularly tricky for rename.
(This used to be commit 4d3b8d95498a328ffc08ecb62d9531b6bfe4e2b5)
|
|
(This used to be commit 1db0a5a7f4c1ff915d91bc15d8e40cc90a78961d)
|
|
add the hooks in all the other places
(This used to be commit d1937589029ac2a75d15f006685769c44a274a65)
|
|
oplocks
(This used to be commit 182aee1a213c1219772895deed31e1ed8aed00c4)
|
|
It doesn't fully work yet, and doesn't yet have all the efficiency
that is planned, but it doesn't break anything and I wanted to get the
code in the tree to minimise the chance of collisions with the work
metze is doing.
(This used to be commit 1624ea88e6eef89caacc36e7513aa79df0d579b9)
|
|
make sure file and search handles are cleaned up
before anything else in the pvfs_state struct,
as there destructors reply on a valid pvfs_state struct
metze
(This used to be commit aaa5d377b9b6145a83c0e686c7fbb7b561ae8988)
|
|
but I don't to get the commit to large, to I'll do this tomorrow...
metze
(This used to be commit 10e627032d7d04f1ebf6efed248c426614f5aa6f)
|
|
try to include just the BASENAME.h files (containing only structs)
(This used to be commit 3dd477ca5147f28a962b8437e2611a8222d706bd)
|
|
so SMBexit() only closes files for the given user session and the given PID
can someone check if samba3 passes this test, please?
metze
(This used to be commit fd291ff003ed934b2163d9ad93af9ef2dd631e11)
|
|
- move it into the in/out substructs again
- allow file.path only on smb_fileinfo/smb_setfileinfo
metze
(This used to be commit be6d5298a2cdb7e7c61d70471bad445645af5963)
|
|
a union smb_file, to abtract
- const char *path fot qpathinfo and setpathinfo
- uint16_t fnum for SMB
- smb2_handle handle for SMB2
the idea is to later add a struct ntvfs_handle *ntvfs
so that the ntvfs subsystem don't need to know the difference between SMB and SMB2
metze
(This used to be commit 2ef3f5970901b5accdb50f0d0115b5d46b0c788f)
|
|
(for now we just do #define ntvfs_request smbsrv_request,
but it's the first step...)
- rename ntvfs_openfile() -> ntvfs_open()
- fix the talloc hierachie in some places in the ntvfs_map_*() code
metze
(This used to be commit ed9ed1f48f602354810937c0b0de850b44322191)
|
|
committed
that will teach me to run svn diff before committing ....
(This used to be commit ef6e30c72cf610728584dfab1755b47bfc53f01c)
|
|
test to pass. To try to make the code a bit more understandable, I
moved to using an IDL description of the opendb tdb record format.
One of the larger changes was to make directory opens and creates go
via the opendb code, so directory operations now obey all the share
mode restrictions, as well as delete on close semantics. I also
changed the period over which the opendb locks are held, to try to
minimise races due to two open operations happening at the same time.
(This used to be commit cd2602d05725e1734b0862131dd91601c6b6d51a)
|
|
(This used to be commit c722f665c90103f3ed57621c460e32ad33e7a8a3)
|
|
StrCaseCmp was sys_strcasecmp, while it is in fact strcasecmp_m!
(This used to be commit 200a8f6652cb2de7a8037a7a4c2a204b50aee2b1)
|
|
RAW-STREAMS to fail)
(This used to be commit c164ee5b19f6880b7b5df8d8fb96704350432862)
|
|
delete on close
(This used to be commit dada509f5e374872cded9035611c9d4fd9f4c4c7)
|
|
(This used to be commit 320ab3c93b05a79b77dbbb85e9b038bb07848ba5)
|
|
Volker
(This used to be commit 2c4fd3ff99a4ade613030b3eb47d0ed527a95be3)
|