Andrew Tridgell
8da3217d1b
smbpid is 32 bit, and update SMB2 locking per MS-SMB2
...
The UNLOCK bit is only used from the first lock structure
(This used to be commit 9483b7c137b61d3029a1e1e7d8d8d0723b541129)
2008-06-02 11:04:13 +10:00
Andrew Tridgell
1bdd08227e
smbpid needs to be 32 bit now to cope with SMB2
...
(This used to be commit a2854fd6eaf097b5a9a562e0b8f1a599485fec42)
2008-06-02 11:03:19 +10:00
Andrew Tridgell
3850d47fef
updated some info levels based on WSPP docs
...
(This used to be commit f84620324a8cebcd2fd19388d910928ca1ad1334)
2008-06-02 11:02:57 +10:00
Andrew Tridgell
9835b4fde1
fixed a warning
...
(This used to be commit 7a8ee50105265a4da1f2b89144094f2269c6b119)
2008-06-02 11:02:37 +10:00
Andrew Tridgell
eb8634b2f0
check for requested buffer size in getinfo call
...
(This used to be commit ed8f16379d01d3dffd2645e2b275aa27507dfec9)
2008-05-31 13:39:51 +10:00
Andrew Tridgell
57b7b0fcf6
more useful output in scan
...
(This used to be commit 70569a78cf3443ce5c0b0a28dcd17a3031d8aa55)
2008-05-31 13:39:34 +10:00
Andrew Bartlett
be14efbdf9
Revert Jelmer's CFLAGS commit e2b71a0ecbf10a78a59a8ec6371bdee57b1bfa6c
...
This commit broke the build, because not all files (libreplace, popt)
were updated.
Andrew Bartlett
(This used to be commit 3faacf4351d68a10aea78b53768571d2059772ae)
2008-05-31 08:35:55 +10:00
Jelmer Vernooij
2772871146
Fix samdb python test.
...
(This used to be commit 0e3d488cc108174ca0f875aab16b9771c2933f19)
2008-05-30 14:15:40 +02:00
Jelmer Vernooij
2791fc9a5f
Add header to knownfail file.
...
(This used to be commit 307674b6c03e6cfbba590d50d994bfaaa7bfeb87)
2008-05-30 14:13:23 +02:00
Jelmer Vernooij
5107f093c2
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-defs
...
Conflicts:
source/samba4-skip
(This used to be commit 7b0e0eb346c2f6a240b20fbcf14029539c6512b9)
2008-05-30 12:18:07 +02:00
Andrew Bartlett
be1927cd80
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
...
(This used to be commit 31308caad0a83a487341307e4e810a69c08ff371)
2008-05-30 17:26:42 +10:00
Andrew Bartlett
9c1519c065
Skip the samba4.samdb.python test.
...
I'll need to talk to jelmer about why this doesn't work...
Andrew Bartlett
(This used to be commit 75122e88e53aaa9930af85887e939fb329f51e2d)
2008-05-30 17:23:56 +10:00
Andrew Tridgell
beaa01e403
implemented client side SMB2 signing
...
This doessn't work against Windows yet, and I've submitted a WSPP
request for clarification of the docs to try and find out
why. Meanwhile this is no worse than what we had, as it only gets used
when the server demands signing, and we didn't work then anyway.
(This used to be commit b788096add3586d7277efcd3bf5ca7f3a604cb7a)
2008-05-30 17:03:54 +10:00
Andrew Tridgell
27f465619b
two more places where the wrong type is passed to PyArg_ParseTupleAndKeywords()
...
(This used to be commit db6122ec104e80ee2e02b1170ff808b6456b780b)
2008-05-30 16:19:22 +10:00
Andrew Tridgell
07e6a0fd8a
fixed a segv in the python messaging code on 64 bit systems
...
(This used to be commit 7598c8389745fcc77da341b4af2dcef6a01db700)
2008-05-30 16:11:07 +10:00
Andrew Bartlett
21377a7ea9
Fix the samba4.dcerpc.bare.python test.
...
The loadparm context isn't really optional, as otherwise we can't find
the right server to connect to.
Andrew Bartlett
(This used to be commit 2b5acb5e95b46dd39c6f54b5bb7e15ddb180f7ec)
2008-05-30 15:26:10 +10:00
Andrew Bartlett
b6b1f3b007
Place the NTP signd socket in the selftest area
...
(This used to be commit e2fa3788110698cd3340dfed8acd36744a27a5e5)
2008-05-30 15:21:40 +10:00
Andrew Bartlett
d579540085
Fix rpcecho test.
...
(This used to be commit df8399ba9dee9d1c706a3e56451c9f2cade96dae)
2008-05-30 15:09:59 +10:00
Andrew Bartlett
c59e7d5569
Reorder the linking of objects into a binary.
...
The hope here is to get 'main' closer to the front of the binary,
which might help linking of PPC with gcov (we were overflowing the
24bit limit on the TOC)
Andrew Bartlett
(This used to be commit 7646574411b753794f1b8712612a91940407f8d7)
2008-05-30 14:58:47 +10:00
Andrew Bartlett
b34bc408e7
Don't pass an smb.conf to provision tests.
...
These tests will create their own smb.conf in their prefix anyway.
Andrew Bartlett
(This used to be commit c0322e8e27d67655b7498b27df0829aa5682a345)
2008-05-30 14:36:24 +10:00
Andrew Bartlett
b9babfe4cc
Fix up provision and samdb tests.
...
This fixes up the provision to operate with a target directory - it
must override the smb.conf in this case.
Andrew Bartlett
(This used to be commit 89fc39f7edb214065aff461bc225f41443eae3c7)
2008-05-30 14:26:47 +10:00
Jelmer Vernooij
46f22add9a
Make sure reason for skipping is output.
...
(This used to be commit 2d1cac54dec1aed9e5258bd44bdd236b5dc92224)
2008-05-30 04:12:39 +02:00
Jelmer Vernooij
39f50afc57
Move CFLAGS handling out of smb_build.
...
(This used to be commit e2b71a0ecbf10a78a59a8ec6371bdee57b1bfa6c)
2008-05-30 02:07:28 +02:00
Andrew Bartlett
437ca06107
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
...
(This used to be commit cd10b381765f9146f22f5cf23f0ef5f6a65e804d)
2008-05-30 07:55:29 +10:00
Andrew Bartlett
0613d0b218
Remove test from samba4-skip, it is avoided in samba4_tests.sh
...
Andrew Bartlett
(This used to be commit df8c0bb8f9367b425080a43ed6f1d3384dde340b)
2008-05-30 07:54:09 +10:00
Andrew Tridgell
931d3d8fc5
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
...
(This used to be commit d335fd11637f5e138b08a5e0fcf54b19cef9a646)
2008-05-30 07:50:22 +10:00
Andrew Tridgell
6ef9674caa
the docs shows that this is a o16s32 blob
...
(This used to be commit a6d28e2b330a20e95b745966bb5eb153bdc58ed1)
2008-05-30 07:28:53 +10:00
Andrew Tridgell
b33dba845e
don't emulate broken SMB2 locking behaviour from windows
...
(This used to be commit c50e7a15f9a7f2c5821b5ee468f9ade6eaa0ed55)
2008-05-30 07:28:29 +10:00
Jelmer Vernooij
a127b1b1b0
Add samba4-slow file listing tests that succeed but are just slow.
...
Added a 'make slowtest' target that does run these tests.
Also added some comments in the test lists files.
(This used to be commit f67f3422b0fd319a3c6d3ccb3ea444a97c3ebaae)
2008-05-29 18:19:19 +02:00
Jelmer Vernooij
3d2c9e49a5
Allow full-line comments in include/exclude files.
...
(This used to be commit 4095f3c358a39d9eb8a1bcef52e49d44ea8fbd2a)
2008-05-29 18:17:42 +02:00
Jelmer Vernooij
6f7b2b6933
Fix samdb test and enable it.
...
(This used to be commit 6b202d3780f8ff50e0bdfa4a749c43b5639e4880)
2008-05-29 17:38:12 +02:00
Jelmer Vernooij
e16f0e15b4
Update after changes to the provision API, make sure temp dir gets cleaned
...
up.
(This used to be commit 064e9ddb3786bd7df8785b39754b1e6674496b66)
2008-05-29 17:31:16 +02:00
Jelmer Vernooij
90aeca8ebd
Check test directory is cleaned up by Python tests.
...
(This used to be commit c338269b4b9f2bf4d3386880c1d733a8e47e2c8d)
2008-05-29 17:29:56 +02:00
Jelmer Vernooij
b302d3273a
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-defs
...
(This used to be commit 3947327f8c4ca530d99bc5ac3d1f6f54727f477a)
2008-05-29 15:51:24 +02:00
Jelmer Vernooij
1e7dc56752
Fix extra dash in command line flag.
...
(This used to be commit c823cfadb0b20a0782fc4a8a0b63dcb9116f82be)
2008-05-29 15:50:52 +02:00
Andrew Tridgell
2371de92a0
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
...
(This used to be commit e728596eec2157eefb1fe72789284567f3880388)
2008-05-29 22:23:25 +10:00
Andrew Tridgell
f0bc7c07fe
don't mask out SEC_FILE_READ_ATTRIBUTE on SMB2
...
(This used to be commit 1dfa50a48040bdc1166be2dbe1063fd8a79166f8)
2008-05-29 22:22:42 +10:00
Andrew Tridgell
8eef2e3412
merged gentest.c and gentest_smb2.c
...
The one gentest tool now covers both SMB and SMB2, using the command
line switch --smb2 for SMB2
(This used to be commit d1125a303a31fbe08a9bd0064ec132b4d7cbb131)
2008-05-29 21:32:08 +10:00
Andrew Tridgell
383d10577c
fixed the error code for bad SMB2 ioctls
...
(This used to be commit b1d2d388ecff96dfcc17da24796f36c40cbb3eed)
2008-05-29 20:46:18 +10:00
Andrew Bartlett
617ef56aa3
Remove extra spaces on prefixMap input and output.
...
Metze requested that the format not include spaces, and the input parser
already expects this.
Andrew Bartlett
(This used to be commit 3b1f5d10360ed1b26980d748a7c9be6db5977bd3)
2008-05-29 20:16:18 +10:00
Andrew Bartlett
5bc1d81a1d
Finish the LDIF parsers for the prefixMap attribute.
...
Andrew Bartlett
(This used to be commit a6f59b1c7a81c7be4e9f83786fc4e1f454e6df0f)
2008-05-29 20:01:32 +10:00
Andrew Tridgell
de4c962638
fix from WSPP SMB2 test 11
...
(This used to be commit 81612b7854725837e8487bf97b87bff6548b6ad3)
2008-05-29 19:32:04 +10:00
Andrew Tridgell
523a0fccf3
check maximal_access here too
...
(This used to be commit 8159b1598e21daee730e185d025694e27df18d1b)
2008-05-29 19:30:11 +10:00
Andrew Tridgell
215fd9764f
test the maximal access return
...
(This used to be commit 23ffec5d140463c8307fd7e444ae25781ea3d792)
2008-05-29 19:16:44 +10:00
Andrew Tridgell
c86dc11be6
added support for returning the maximal access MXAC tag in SMB2 create
...
(This used to be commit 4eb49335d5f0319f9aa47ded5215a2977d3336bf)
2008-05-29 19:16:26 +10:00
Andrew Bartlett
b7c8e020a6
Print prefixMap in a human-readable format.
...
This should allow the prefixMap to be edited, until we find the right
way to autogenerate it.
Andrew Bartlett
(This used to be commit 24ae9a55ec326807afd8d5bfa0a422a6668bd7c3)
2008-05-29 18:38:17 +10:00
Andrew Tridgell
21d770a02c
querying the ACCESS_INFORMATION is always allowed
...
(This used to be commit 25d5b94d6a700f2d294e108aeca85cffcd5bbb4f)
2008-05-29 18:23:33 +10:00
Andrew Tridgell
e42ded24a0
SEC_FILE_READ_ATTRIBUTE is only automatically granted on SMB, not SMB2
...
(This used to be commit 7bff0691428ed3f75c1a9cbaae692bc9830640e6)
2008-05-29 18:23:20 +10:00
Andrew Tridgell
f6b678b57e
fixed offset for maximal access response
...
(This used to be commit ddd0bb32510d615c7b943fb4ce4c9c275b98ab89)
2008-05-29 18:23:00 +10:00
Andrew Bartlett
ea039105b2
Merge branch 'v4-0-local' of git://git.id10ts.net/samba into 4-0-local
...
(This used to be commit 88c9200b7802954ce8aac82901ab7aec1fa8330a)
2008-05-29 15:32:42 +10:00