Stefan Metzmacher
2400ebc428
r16735: vista beta2 reuses the tcp connect where it does the
...
SMB negprot
metze
(This used to be commit 3b2936a4313abedfe2029330a8f8149372050a2a)
2007-10-10 14:09:42 -05:00
Stefan Metzmacher
6acd9aed93
r16734: the 2 bytes after the opcode and before the flags,
...
is no padding...
the following patch is needed for vista beta2 to connect to samba4
metze
(This used to be commit 58baae8fc463cd2c4e4ce532c153ad80313b03eb)
2007-10-10 14:09:42 -05:00
Stefan Metzmacher
a18fc61d4f
r16733: implement SMB2 SetInfo
...
metze
(This used to be commit 9b6f74778f8db2fa18bb56dcbc6bd8168a882ac9)
2007-10-10 14:09:41 -05:00
Stefan Metzmacher
b20c00f718
r16732: use the given macros
...
metze
(This used to be commit 6d5c74c38ca4d4a605b619cd7cbbd7e1dccd6b0c)
2007-10-10 14:09:41 -05:00
Stefan Metzmacher
2f60a2bc7a
r16731: send a better error code, required for vista-beta2 client
...
metze
(This used to be commit a251e722063486448005a95d0b44201b5f3a7620)
2007-10-10 14:09:41 -05:00
Stefan Metzmacher
30ae843cbf
r16730: that is correct...
...
metze
(This used to be commit 9c3992a27948f01803650c446914aa24be2a8d7a)
2007-10-10 14:09:41 -05:00
Stefan Metzmacher
348ad95ea7
r16725: don't ignore errors
...
metze
(This used to be commit 42282301961a13055869445eb9d00492bdbbb61b)
2007-10-10 14:09:41 -05:00
Stefan Metzmacher
c063450a1e
r16724: fix typo...
...
metze
(This used to be commit 9b036d788ceb4eeae28531db8aa5e297c775f35a)
2007-10-10 14:09:40 -05:00
Stefan Metzmacher
8db23753f3
r16716: patch from Bjoern Jacke to fix compiler warnings on AIX
...
metze
(This used to be commit 3e5de223f715343b6421d580dc1b3f9d67c980da)
2007-10-10 14:09:40 -05:00
Stefan Metzmacher
63d0c5a057
r16708: the packet format of SMB2 SessionSetup has changed,
...
there're 8 more unknown bytes...
Note:
- vista-CTP also support this as a server,
but uses the old format as client
- but vista-beta2 only uses and accept the new format
metze
(This used to be commit b3bdd4afdefc9ad3550f86a0aa6e6c90bf8ab416)
2007-10-10 14:09:40 -05:00
Stefan Metzmacher
4357d9f5de
r16707: - test attrib = 0 in BASIC_INFO
...
- return an error when value doesn't match the expected value!
metze
(This used to be commit 1f0ecba77344af4dcec71143de0b14ee2565d422)
2007-10-10 14:09:39 -05:00
Stefan Metzmacher
ef4475adc4
r16706: for RAW_SFILEINFO_SETATTR attrib == 0 means set it to FILE_ATTRIB_NORMAL
...
and attrib == FILE_ATTRIB_NORMAL means no change...
but for RAW_SFILEINFO_BASIC_INFORMATION attrib == 0 means no change
metze
(This used to be commit e1945feda09a56b6f55bd0f7ab591f3bd069be67)
2007-10-10 14:09:39 -05:00
Stefan Metzmacher
bd0dcebe36
r16705: fix a bug found by valgrind...
...
as we setup the 1 padding byte for non present dynamic part,
we need to overwrite it when we're getting a real dynamic part,
so we need to remove the buf->size +=1 when we do the first
push to the dynamic part (when buf->dynamic is still but->body + buf->body_fixed)
metze
(This used to be commit f309209629ad1b63a76fc06163a3eeb07dce4c86)
2007-10-10 14:09:39 -05:00
Stefan Metzmacher
d63dd113ae
r16699: the layout of SMB2 Read and Write is identical...
...
so we know that the 9th bytes is just uninitialized padding
metze
(This used to be commit f97a21b970ed23973cced2c67b5bc9ecd7afee88)
2007-10-10 14:09:39 -05:00
Rafal Szczesniak
5b19070ac7
r16694: Store lsa rpc pipe pointer in a right place.
...
rafal
(This used to be commit fa6b52dbf7321d1a7f0fdea32ab2605951c2b35a)
2007-10-10 14:09:39 -05:00
Rafal Szczesniak
833ef6b678
r16693: Name type should be passed further down the lookup engine instead
...
of assuming only PDC name type. Also, fix the comment.
rafal
(This used to be commit 436c8a721114815af8eb8c96ebdfe32c1875faaa)
2007-10-10 14:09:38 -05:00
Rafal Szczesniak
828e95e81f
r16692: More comments and further code in set_user_changes routine.
...
rafal
(This used to be commit c58fa8676c93b49bcce2e86b957690fc6558280c)
2007-10-10 14:09:38 -05:00
Stefan Metzmacher
f47593a146
r16691: we should only look at rdata.data.length when we're in ndr_push mode
...
metze
(This used to be commit 630d3d11a4d998c0006cb652c47837867ecb2824)
2007-10-10 14:09:38 -05:00
Stefan Metzmacher
df4d209b36
r16690: - fix bug 3896
...
- we didn't pushed the wins wack reply correctly to the wire,
as NBT_QTYPE_NETBIOS is used and setting rdata.data.data was useless...
metze
(This used to be commit d3556e18892c0540e92f560f9d6b1b5587e41a62)
2007-10-10 14:09:38 -05:00
Stefan Metzmacher
4da57142b4
r16672: we don't need this twice:-)
...
metze
(This used to be commit e8e9fe666e4fb6f47e7fcaeb5ef9068db25e18b7)
2007-10-10 14:09:38 -05:00
Stefan Metzmacher
4015b01088
r16671: allow usage of smbsrv_pull_passthru_sfileinfo() without,
...
a smbsrv_request given...
the RENAME level is not supported in this mode, but that will be fixed later
metze
(This used to be commit 058c6397a4018975f62e8277b905a2566c3b2fe0)
2007-10-10 14:09:37 -05:00
Stefan Metzmacher
826597bfa8
r16670: try to match the vista error codes a bit more
...
metze
(This used to be commit 1a4978118d27e978c04997869a307b793582917b)
2007-10-10 14:09:37 -05:00
Stefan Metzmacher
bd1efc1235
r16669: this calls don't expect any valid error codes than NT_STATUS_OK
...
metze
(This used to be commit 429215113bd999466141df0a2e3b3097d677df1f)
2007-10-10 14:09:37 -05:00
Stefan Metzmacher
1ce7b027e6
r16668: test setting of security descriptors vis smb2 setinfo
...
metze
(This used to be commit 377562e891ccb6ff9104bbefca71a8e2c18a34de)
2007-10-10 14:09:37 -05:00
Stefan Metzmacher
332f5b19a1
r16667: - use ndr_pull_struct_blob() to make the RAW_FILEINFO_SEC_DESC pull code
...
simpler
- use ndr_push_struct_blob() for RAW_SFILEINFO_SEC_DESC
metze
(This used to be commit 79e51f033e680303431e56e818346b66a836d044)
2007-10-10 14:09:37 -05:00
Stefan Metzmacher
bcc9e8af30
r16666: implement setting of security_descriptors via SMB2 SetInfo
...
metze
(This used to be commit 6908582f68478d5f702159f6b01934ffff3a95f0)
2007-10-10 14:09:36 -05:00
Volker Lendecke
414c47633d
r16657: Test Jerry's iTunes bug, along with some more error conditions
...
Volker
(This used to be commit 12aa900eb2ffde3711a30c7e063bfba95128e91d)
2007-10-10 14:09:36 -05:00
Stefan Metzmacher
f8d8454461
r16621: split out passthru levels of setfileinfo
...
metze
(This used to be commit 6cd64cb78f23c88029b8b5ef712b3f8a26e8528f)
2007-10-10 14:09:36 -05:00
Rafal Szczesniak
6e92c83d52
r16573: Fixes in comments.
...
rafal
(This used to be commit 1258e6cad890ade8a65d8d43d55a95d61e6a6968)
2007-10-10 14:09:36 -05:00
Rafal Szczesniak
61705d9c55
r16572: More comments and simple refactoring of one condition.
...
rafal
(This used to be commit 24006a36014eaa7457cf3db4cf0b084e1f9aa4d8)
2007-10-10 14:09:36 -05:00
Stefan Metzmacher
f0f1a5f4bf
r16571: - make push/pull_ascii()/_ucs() functions static,
...
callers should use push/pull_string() functions with STR_ASCII or STR_UNICODE
- make the push/pull_ascii/ucs2/utf8_talloc() functions complete
(they should be reduced to pull/push_string_talloc() later...)
metze
(This used to be commit b0af976187d2d46b7dbe5a532a5491476b459119)
2007-10-10 14:09:35 -05:00
Stefan Metzmacher
0646a91bc9
r16569: - use push_string()
...
metze
(This used to be commit f099fcb6e3a38d6df22cb3a0c7c666333e41f11b)
2007-10-10 14:09:35 -05:00
Stefan Metzmacher
ca044dcd3a
r16568: add parsing code for SMB2 SetInfo
...
metze
(This used to be commit 70cc9928437d6edab3de5a858078870f510398d0)
2007-10-10 14:09:35 -05:00
Stefan Metzmacher
7dc22bf3e0
r16566: add pull function for a site32/offset32 blob
...
metze
(This used to be commit 81702c36c28e9e32860c5d91887d2ad2121ce306)
2007-10-10 14:09:35 -05:00
Stefan Metzmacher
529aa3b885
r16561: - create version.h relative to srcdir
...
- let version.h depend on VERSION
- add a rule to manualy regenerate version.h
e.g. after a svn up
metze
(This used to be commit 7167579cbfcda0a130f9eaf80d4783f4bd134802)
2007-10-10 14:09:34 -05:00
Stefan Metzmacher
c71aac4403
r16560: print out the correct value
...
metze
(This used to be commit 0e10282f89bffa29f75762ca4c3704ea150ce5ab)
2007-10-10 14:09:34 -05:00
James Peach
748decf65b
r16558: Add make rule to generate version.h. Metze, can you please review?
...
(This used to be commit 47b6a3d7f37faba7f8defbaf9a406f4bdf431615)
2007-10-10 14:09:34 -05:00
James Peach
0168e973d8
r16557: Silently succeed when torture_register_suite is passed NULL.
...
(This used to be commit dbcb190aa0a687e62cc109ab6314aa705a0c7aca)
2007-10-10 14:09:34 -05:00
James Peach
ff2041c955
r16556: Add mkdtemp to libreplace. This is apparantly available on Linux
...
and BSD systems, but it's not everywhere.
(This used to be commit b3d2512ed4fc8c378607bcc2dc241a1f77ab7197)
2007-10-10 14:09:34 -05:00
Rafal Szczesniak
1db2f0d3a1
r16533: Perform a cleanup after testing. Also, add changed name argument.
...
This test currently triggers internal corruption in ldb database,
according to status code returned. I'm investigating win servers
behaviour here.
rafal
(This used to be commit c73f4e11e4747b907dffafed09d354e12307435a)
2007-10-10 14:09:33 -05:00
Rafal Szczesniak
7414c0206f
r16532: Tell username from account name (source from target, when
...
changing).
rafal
(This used to be commit e5a50ca14a1ebc2fc6e18852264b5caac69fea1d)
2007-10-10 14:09:33 -05:00
Rafal Szczesniak
7d1533f616
r16531: Add a function preparing argument for modify user routine.
...
rafal
(This used to be commit d91cbec2644030a6e7978dd2e2c854e9d7a3d313)
2007-10-10 14:09:33 -05:00
Rafal Szczesniak
3ef6f35dde
r16530: Send monitor messages only after successful receiving result of a stage.
...
rafal
(This used to be commit e5dc6311633146e44063ba5eb20488468af75914)
2007-10-10 14:09:33 -05:00
Jelmer Vernooij
fb3afe422f
r16529: Fix type.
...
(This used to be commit f9a9884c0da038f2a390444d1ab9219049f95cc3)
2007-10-10 14:09:33 -05:00
Jelmer Vernooij
1afab0e36f
r16527: Add target argument for smbtorture.
...
Remove duplicate unc path separator conversion.
Add prefix for tempdirs.
(This used to be commit 3763ed3092fa89558390a9721be8437a7c380790)
2007-10-10 14:09:33 -05:00
Jelmer Vernooij
6b749f225e
r16526: Add torture_setup_server() with test.
...
(This used to be commit 6a1ed8ad756b97f61d4af9df2c7a7d889a2d09ef)
2007-10-10 14:09:32 -05:00
Jelmer Vernooij
993012bd2a
r16525: Move selftest-specific code back to selftest.
...
(This used to be commit e659d772480ef9acb58f899f25f09f917cece30f)
2007-10-10 14:09:32 -05:00
Jelmer Vernooij
3fc105b106
r16524: Fix double evaluation.
...
(This used to be commit 93f7adfb140d9e77120dd197d05a8fdd50e768bd)
2007-10-10 14:09:32 -05:00
Stefan Metzmacher
b22ddfd61d
r16523: pass spoolss_XcvData calls to the ntptr backends...
...
I wrote this code last year and found it in a working tree...
metze
(This used to be commit 9a685c5beff6936d354d541e875899d33b735ba9)
2007-10-10 14:09:32 -05:00
Jelmer Vernooij
9b161bcb71
r16522: Move code to create the test data out of selftest.sh.
...
(This used to be commit 2c601df23f3390954bf77918e198b1d027e43b24)
2007-10-10 14:09:32 -05:00