Age | Commit message (Collapse) | Author | Files | Lines |
|
This involved replacing the CHECK_NTQUOTA_HANDLE_OK macro by a function.
(This used to be commit 5595cdf837edb82db69a3e57bcf3108be7feeeb8)
|
|
(This used to be commit 4c31cc0b62f532eafdc44398b29b773ad8cb0646)
|
|
(This used to be commit e895e44cc7d675d128430fb53c138e5e8736e59f)
|
|
No functional change, this is a preparation for more current_user ref removal
(This used to be commit dcaedf345e62ab74ea87f0a3fa1e3199c75c5445)
|
|
fsp_belongs_conn only used the vuid struct member anyway, and this is available
in the smb_request structure as well.
(This used to be commit 64e9372ab997739d46669c0cc4a4c6edb11d5e64)
|
|
check_fsp only used the vuid struct member anyway, and this is available in the
smb_request structure as well.
(This used to be commit 8d364c4c3311b406847158fc37e9208d298cf8ba)
|
|
Up to now, the bool return value was silently ignored.
Michael
(This used to be commit c65d425fec964bc0b8778b596615a8bcce0378aa)
|
|
Michael
(This used to be commit a8ef8870beb91fcd2745aa59de6c59b49ea00e39)
|
|
Michael
(This used to be commit 0f5c13e5735990f4325f98156a7dc410276372fe)
|
|
This is a first testparm/lp_load test that runs testparm on a couple
of configuration files. The main purpose for now is to test the options
that have special handlers (to check whether the handlers succeed).
In particular, all the Macro expansions that are available via
alloc_sub_basic() are tested with the include handler. This is to
catch such crashbugs as #5548 where %m expansion led to a segfault.
The tests now are very simple. Just check if testparm completes
successfully on the given config files. This can (and should) be
elaborated in the future.
Michael
(This used to be commit eb28146d40b8a8bc2c20b8d222abf191ea178d5a)
|
|
This is now used to test rpc and local access depending on
command line parameters.
Michael
(This used to be commit 73c17b630317b5019e5d5f2b989b8de081a73e07)
|
|
(This used to be commit fdc03c0a5ba0da4fbc4610880e06150c11d4c737)
|
|
(This used to be commit a227181e8d2ed0824a323a3d4b4cfda5e438f8ce)
|
|
(This used to be commit 05a66980a9b5a7c6222ceb038d819d23fd172186)
|
|
(This used to be commit 407136abdf45ad832382dba44e1c9a3b4f253f09)
|
|
Without this the changed checks in can_delete_file_in_directory give DELETE
access where there is none. So we can end up granting the ntcreate&x preparing
the unlink where we should not, which leads to a NT_STATUS_ACCESS_DENIED at
close time later, which in turn does *not* give the access denied error message
in the Windows GUI.
can_delete_file_in_directory will grant access now by looking at the directory
permissions.
(This used to be commit 51b5364c2afb3a18df4bec2bc1624760ccc01676)
|
|
With at least NFSv4 ACLs around the write permission for the owner is a bogus
check if we can delete a file in a directory. Like in Windows, there are two
ways which can grant us such: First, the DELETE permission on the file itself,
or if that does not help, the DELETE_CHILD permission on the directory. It
might be a bit more code that runs, but essentially we should end up with the
same set of syscalls in the non-acl case.
(This used to be commit daa9b056645a45edfb3a70e3536011ebe5678970)
|
|
Did not measure it, but I think a single write is better than a read and a
conditional branch
(This used to be commit abe1bed665ad8d1dbf9177dcbb9344b25df9594c)
|
|
(This used to be commit 2eef2c682c18ad37b78214c755b9dd7c8b607cb8)
|
|
(This used to be commit 4f50cb63e9b565ae0747127baa651a1a1874298b)
|
|
Jeremy.
(This used to be commit 8b26afdcddc75d3b9a97309757a97314b406cb59)
|
|
(This used to be commit 0e84e3bb800cec2b63df4692afbf9c40850b108f)
|
|
This reverts commit b1afb31f3cadd4749bf6e3eb5d8935588bf8ebfc.
This one is very strange: I need to investigate why valgrind showed it as
leaking, and why in my initial tests this did not fail.
(cherry picked from commit 24730f5981efb920811e7929a9483bd72bb0984c)
(This used to be commit b1e8e5d173cdaa3fb9c1fb1d9aacf8e665bc5d61)
|
|
In alloc_sub_basic, when expanding '%m', substitute "" instead of
NULL for remote_machine when this is NULL. Else a NULL string
is returned.
Michael
(This used to be commit c65b456c6a145d15b7fd27a2a3440a0709fc3277)
|
|
Michael
(This used to be commit 7d5fb873bde0a84de522650945effeaf602c759e)
|
|
This is not needed anymore since user_can_access_file_acl() ist used.
Michael
(This used to be commit 3c349f773a52e3de693d3bb79f5060c9f1e01e41)
|
|
This is a security descriptor level function only.
Michael
(This used to be commit 5931540fa1681f026fed42df387d17e43c493c47)
|
|
Michael
(This used to be commit b9f6904044889328ded229b7ff04d31218f4fef8)
|
|
Michael
(This used to be commit 6d7f64c3481d3aa7ec6b0d468f3d6218f62cd92e)
|
|
Remove the user from BUILTIN\Administrators at the end of the tests.
Note: BUILTIN\Administrators is not deletet at the end because that
functionality is not implemented.
Michael
(This used to be commit 1734f9305a38eff05f0147d9c7391ef34085e7b2)
|
|
It breaks RPC-SAMBA3-GETUSERNAME for reasons I have not quite
understood yet. Somhow loosing rights fails when the user
belogns to BUILTIN\Administrators at some point.
Michael
(This used to be commit 9fe99c69f35b005b66c1eacb5d999cc73f1bb521)
|
|
Thanks to "No Body is Perfect" from gmail, whoever that is :-)
Volker
(cherry picked from commit 679d8dfa390601f777bfb43c02cd921eae5edcf4)
(This used to be commit b8e1d62b8e8f724b855c8ab9801abee0b2791e36)
|
|
Guenther
(This used to be commit 2351b0845ca78707901daca6a6d0425959c6f28e)
|
|
Guenther
(This used to be commit ad105177686da823ef9cce1c1bedaf0f84a49b8c)
|
|
Guenther
(This used to be commit 32a66131eb56e1c66b89e348141047c6b98cf35e)
|
|
Guenther
(This used to be commit 0bd69df7704789888eba2a07aba505dce037c4eb)
|
|
Guenther
(This used to be commit 383636aaca0e59fef8a010ba697e5edf9ce2648b)
|
|
Guenther
(This used to be commit 12669b12c25a64b02c0e49b3ef96cf317992b18c)
|
|
Guenther
(This used to be commit 4fd6bc61d0034659c5a89bf2eae188a04a3b41eb)
|
|
Guenther
(This used to be commit 2b82779a401dd1d14f5842872ac37b2454efc92b)
|
|
Guenther
(This used to be commit 76877680a8a6400bc2d3b5e3b788b7d5fc683850)
|
|
Guenther
(This used to be commit 1262ab1843a8a8cb794f6bbfb113bd2d99ffba22)
|
|
Guenther
(This used to be commit 78bc98cb55e36ef175f9c0f6fcd943781a514005)
|
|
Guenther
(This used to be commit 782ab0f1c1c0957a1111a76c2c1ea7bd99d38311)
|
|
Guenther
(This used to be commit 8dd1a5fabffaea847a348d1467a75d005a16b0bd)
|
|
Guenther
(This used to be commit e0b117200441f842fbc11cc817ab2cde4d63a22e)
|
|
Guenther
(This used to be commit 7e7f07ec59d23e909809ed32adc8fc399826310d)
|
|
Guenther
(This used to be commit cb7ace209c2051ae02647188715fa6ee324c2bf6)
|
|
Guenther
(This used to be commit ec86852fc6ce2d88ad5835c8fcb337c68fd6f6bc)
|
|
Guenther
(This used to be commit d20353d30c2e08a6c6d67ae8b8c2faa26004249c)
|