| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
Guenther
(cherry picked from commit 2dfeb2d5970f52e4948e22a2a4e4f47479a550dc)
|
|
|
|
|
| |
Guenther
(cherry picked from commit 60222a78c00ad9d1d09789024184c430bff0f68b)
|
|
|
|
|
| |
Guenther
(cherry picked from commit 650077c22b2e67815c9a2fd8a1cc56986c0aaced)
|
|
|
|
|
| |
Guenther
(cherry picked from commit 704b0d35707483a8fbf89da55a2d161375e56b3a)
|
|
|
|
| |
(cherry picked from commit 7eea7edfd02778599771edd3356888c848578766)
|
|
|
|
|
| |
Guenther
(cherry picked from commit 7a3091a48b844bbad93c61a0570fd23bd87f76e1)
|
|
|
|
|
|
|
| |
other calls as well.
Guenther
(cherry picked from commit 332456f09bfea29e5a6558b5bd3b8c585892a3f5)
|
|
|
|
|
| |
Guenther
(cherry picked from commit 4260aadc2e00b6856d5cc2365ab751f3458472d5)
|
|
|
|
|
| |
Guenther
(cherry picked from commit e22e9c09d1cb9102180b2a5401d21f391894f1ac)
|
|
|
|
|
| |
Guenther
(cherry picked from commit 2edf2cef9cb43a65ce8ee8e8a782d248856030dd)
|
|
|
|
|
| |
Guenther
(cherry picked from commit c94cd674409f01d71bd9174829b1f05b95c50703)
|
|
|
|
|
| |
Guenther
(cherry picked from commit e00a25dbba3daf06c744f998967c27c8a539e558)
|
|
|
|
|
| |
Guenther
(cherry picked from commit b5e5124439b0215c2a82bf816f364661b4ba7785)
|
|
|
|
|
| |
Guenther
(cherry picked from commit ec3f80f86daa392a42c75edaee0865b6127347b1)
|
|
|
|
|
| |
Guenther
(cherry picked from commit 1cbbda7adcd6a5558fa259261c527aff6fc82477)
|
|
|
|
|
| |
Guenther
(cherry picked from commit aed5272422f7842ac7aad6be5eadf813bdaf90d6)
|
|
|
|
|
| |
Guenther
(cherry picked from commit 299190ee53bc024abb832dfd6a832c4a756b99ee)
|
|
|
|
|
| |
Guenther
(cherry picked from commit 6f466b2aeca8b3052dd8cf59ec1560bb23fe9c93)
|
|
|
|
|
| |
Guenther
(cherry picked from commit bfcff837ebde5b4d726bfccd62d72e5d062adbc0)
|
|
|
|
|
| |
Guenther
(cherry picked from commit d5b7884b8e0ab5a92b9c69c4d1a812689f8d183e)
|
|
|
|
|
|
|
|
| |
Do not just start decoding/setting passwords when fields_present
do not indicate there is a password to be set.
Guenther
(cherry picked from commit 90786ee2012e038b3ea5f5600903e7c208c6083b)
|
|
|
|
|
| |
Guenther
(cherry picked from commit fb575f6ce7915a41079afc8762fbf83e256c6631)
|
|
|
|
|
| |
Guenther
(cherry picked from commit d444a0d29c35715f5e1cf48d26f3d4064d93ff68)
|
|
|
|
|
| |
Guenther
(cherry picked from commit 85a2c0607e25b8a3ca91c50f71f4d649d29bd0e3)
|
|
|
|
|
| |
Guenther
(cherry picked from commit 584249dfffe5ed9efd67bfc598413d5d19eb80cf)
|
|
|
|
|
| |
Guenther
(cherry picked from commit 9b0f3359fc7cb27c5e4726b87ae4035e1908736a)
|
|
|
|
|
| |
Guenther
(cherry picked from commit e273479c7bdb57bbfaaae997a32fb3f2d8f7f896)
|
|
|
|
|
| |
Guenther
(cherry picked from commit 11a4ccc2b0f54324bbed2360fa48055fa43fee6d)
|
|
|
|
|
|
|
|
| |
This fixes bug #5883.
Karolin
(cherry picked from commit b4a4e635246b88277b235fa343eda48bd4bb4ce3)
(cherry picked from commit 5744177740120524740db884564142df19358ae7)
|
|
|
|
| |
Karolin
|
|
|
|
|
| |
Guenther
(cherry picked from commit aa0ef2f97d98e7ca80636a4dc8093d2034d0dbf1)
|
|
|
|
|
|
| |
we know the correct bits to use here.
Jeremy.
(cherry picked from commit 11bd02bc8e1484a953632d3293db716da2647c04)
|
|
|
|
|
| |
Jeremy.
(cherry picked from commit 6a4b0683e05ecc0bf57a1601c741582576f31b23)
|
|
|
|
|
|
| |
This second patch cleans up by removing all of the code that is made
obsolete by the first patch. It should cause no functional changes.
(cherry picked from commit c39c35f3e67a726c6464c1497e46fe7a2eb3dc77)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
smbtorture4's BASE-DELETE:deltest17 was failing against win2k8,
win2k3, and winXPsp2 but passing against samba.
deltest17 does the following:
1. open file -> file is created
2. closes file
3. open file with DOC -> fnum1
4. check that DOC is not reported as being set from fnum1
5. opens file again Read Only -> fnum2
6. check that DOC is not reported as being set from either file handle
7. close fnum1 (the file handle that requested DOC to be set)
8. check if DOC is reported as being set from fnum2
* This is where windows and samba begin to diverge. Windows
reports that the DOC bit is set, while samba reports that it is not set.
9. close fnum2 (the last remaining open handle for the file)
10.See if the file has been deleted.
* On samba the file still exists. On windows the file was deleted.
The way open_file_ntcreate is written now, if an open has the DOC bit
set on the wire, DOC (fsp->initial_delete_on_close) is not set unless:
a. the open creates the file, or b. there is an open file handle with
a share_entry in the struct lck that has the
SHARE_MODE_ALLOW_INITIAL_DELETE_ON_CLOSE bit set (let's call it
SM_AIDOC).
My understanding of SM_AIDOC is that it was added to differentiate
between DOC being set on an open that creates a file vs an open that
opens an existing. As described in step 8/10 above, it appears that
windows does not make this differentiation.
To resolve this issue there are two patches. This first patch is a
simple proof of concept change that is sufficient to fix the bug. It
removes the differentiation in open_file_ntcreate, and updates
deltest17 to allow it to pass against win2k3/xp. This makes
open_file_ntcreate more closely match the semantics in open_directory
and rename_internals_fsp. This change also does not break any other
tests in BASE-DELETE or "make test". Specifically test deltest20b
which verifies the CIFSFS rename DOC semantics still passes :).
(cherry picked from commit 69a2b8ea06bf65109ed8a44df38e62bcbac7c4a9)
|
|
|
|
| |
(cherry picked from commit 7ef3e752bf56d130a242d6bb6e92fa76cae45fa0)
|
|
|
|
|
|
|
|
| |
This fixes build-docs if it's called from the create-tarball script.
Karolin
(cherry picked from commit dd3ef73c8c184eaec7ee515ef2130f30f9e481b3)
(cherry picked from commit 8dd3a7bfde16e85a9ee509cf6bcfc788062705a5)
|
|
|
|
|
|
| |
Guenther
(cherry picked from commit 26139344fd0fac4fdd2a6752628b252fbd9b7450)
(cherry picked from commit 866efa63a26f75bbf17cd4bebf639594e2feafba)
|
|
|
|
|
|
| |
Karolin: must be in 3.3 final. Thanks,
Jeremy.
(cherry picked from commit e9cad95d8728ac81ca13b5dea16167ceb4e4cf50)
|
|
|
|
| |
(cherry picked from commit 76467c3b4e89cbeea4cb352ea4cb0b97fab17295)
|
|
|
|
| |
(cherry picked from commit 5eadcdfd93023157e582e04cbdadb9f55ed090bb)
|
|
|
|
|
| |
Jeremy.
(cherry picked from commit 40747f209313ad6430bc35c1d82ffb5f516af621)
|
|
|
|
| |
(cherry picked from commit bcbdb0f2394acb9130763097c8192f4b497533eb)
|
|
|
|
|
|
| |
non-encrypted packet with the crypto state set.
(cherry picked from commit 8b49bf06e252b3c37ba910f8b887f48232eb1a9b)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
smbfs also would use the USER environment variable if the user was not
specified on the mount command and no credential file specified, and
mount.cifs man page says that we will use this environment variable
(in most cases this will not cause a behavior change, because
we were doing getuid of the current process which will usually be
the same name).
Fixes Samba bug #5934
Acked-by: Jeff Layton
(cherry picked from commit a679d0e96ec54f4660537966b31ce2f56d5a1ea9)
|
|
|
|
|
| |
Jeremy.
(cherry picked from commit dda44029e98d581e358146443d66d3e243163f15)
|
|
|
|
|
|
| |
--with-cluster-support and GPFS
(cherry picked from commit e4ea7d93e6d60f5e5759e27bfa9e58ae955b0b3b)
|
|
|
|
|
| |
Jeremy.
(cherry picked from commit a27251b9d58227dd5f258cf32e4117ce5e1e15e8)
|
|
|
|
|
|
|
|
|
| |
A somewhat more elegant fix than I could use for 3.2.x or 3.0.x.
Turns out the only part of check_user_ok() that needs to change
for share level security is the VUID cache pieces, so I can just
always use check_user_ok() for all lp_security() cases.
Jeremy
(cherry picked from commit a808c53ec938a6aeb9f9ddc6a5a02273c7bfdcc9)
|
|
|
|
|
|
|
| |
to make code more readable
Michael
(cherry picked from commit d28a0f970e06c67729d71d505c35ae1d49ad6ccc)
|