summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r11754: make the SMB2 blob push routines take offsets, so they fit better withAndrew Tridgell5-85/+97
the rest of the packet construction code (This used to be commit 387ec2b17ff30a1c040b460b498c8fa7d8770593)
2007-10-10r11753: change the getinfo scanner to scan with both a file and a directory, ↵Andrew Tridgell1-53/+32
and to use files that have streams and EAs (This used to be commit f739431927e9600e914204930f1e862a367a7368)
2007-10-10r11752: setup the dynamic pointer for incoming packets tooAndrew Tridgell2-1/+15
(This used to be commit 583f3c415ea33ddf5f4065a66f6fae49ab48455e)
2007-10-10r11751: fixed the req->out.size calculation (it needs to be the completeAndrew Tridgell1-2/+4
request size, including dynamic portion) (This used to be commit 1b5cdf92cc7793b08d7c46ef00d4ff696b31c15e)
2007-10-10r11750: More comments.Rafal Szczesniak1-3/+4
(This used to be commit d277b13ced0983d67b22d78e06d692a966e3c6f1)
2007-10-10r11749: 1) Buffer allocation's been moved and isn't needed here.Rafal Szczesniak1-3/+1
2) Connect to a server instead of pdc after locating it. rafal (This used to be commit a7bf9ada34c31f26d13c1575de2ec79ea5948a71)
2007-10-10r11748: By default, use name resolution method provided by meansRafal Szczesniak1-0/+1
of smb.conf. rafal (This used to be commit 739169e8eda74ad53d728fe6d11a30513c218853)
2007-10-10r11747: Move buffer allocation to libnet_Lookup function so that theRafal Szczesniak1-1/+6
caller is not required to ensure it. rafal (This used to be commit 85456e6c0b50540d9f6ae15a460148a328cf002c)
2007-10-10r11746: revert my last commits, I now understand how we decide betweenStefan Metzmacher3-3/+3
finished and non-finished sessions metze (This used to be commit 7cf6b307bc820b87663e4b9d1aeb5e730729b24e)
2007-10-10r11745: one more check for a valid sessionStefan Metzmacher1-1/+1
metze (This used to be commit 92aae176fbde22bcc6fe58aa651d3d4a421fdf60)
2007-10-10r11744: make sure the session is completed authenticated!!!Stefan Metzmacher2-2/+2
metze (This used to be commit 0383218a00a8e744b70a3fa5056467a43fbe3a42)
2007-10-10r11743: - push the length at the correct offsetStefan Metzmacher1-2/+9
- let us push empty strings metze (This used to be commit 17c4b6298d757f2e53fe764608504bf737005cbe)
2007-10-10r11742: fix pushing of 0 length blobsStefan Metzmacher1-0/+18
metze (This used to be commit e985ab117c6afb2ea575b55bfaa97b0795ec5745)
2007-10-10r11741: - the buffer code (first 2 bytes in the SMB2 body) seem to be the lengthStefan Metzmacher16-244/+472
of the fixed body part, and +1 if there's a dynamic part - there're 3 types of dynamic blobs with uint16_t offset/uint16_t size with uint16_t offset/uint32_t size with uint32_t offset/uint32_t size /* aligned to 8 bytes */ - strings are transmitted in UTF-16 with no termination and packet into a uint16/uint16 blob metze (This used to be commit 79103c51e5c752fbdb4d25a0047b65002828df89)
2007-10-10r11740: add some EA error codesStefan Metzmacher2-1/+7
metze (This used to be commit b1afcced395812477365befad1ed37a7cdafa275)
2007-10-10r11738: test larger read/write calls. If you run smbtorture with -X (to enableAndrew Tridgell1-2/+9
'dangerous' tests) then it does a write of 160k, which causes vista to blue screen. Otherwise it does a 120k write which works fine. (This used to be commit b4c5d7d0173b94ade4c16d47ef774ad9f3c17bc8)
2007-10-10r11737: use _smb_setlen2() to allow for 24 bit lengths in SMB2 packetsAndrew Tridgell2-1/+3
(This used to be commit 54fda24379ca1a20d6de2edf64dd79b3fe80a37d)
2007-10-10r11736: display EAs and streams in smb2 torture testsAndrew Tridgell1-0/+28
(This used to be commit 2baea9a5ec0a805b90c8b48454e395ce40a35a74)
2007-10-10r11735: fixed the ALL_EAS smb2 level parsingAndrew Tridgell2-7/+5
(This used to be commit dd24c0e80cf07bda700a0abb84a7a053d817f903)
2007-10-10r11731: fixed typo noticed by metzeAndrew Tridgell1-2/+2
(This used to be commit e51fb2b44ad524620451807cccb186dd4be704c7)
2007-10-10r11730: added parsing and tests for a bunch more SMB2 getinfo levelsAndrew Tridgell10-128/+626
(This used to be commit ca65bf0235cbfab451e5d5ceac9f714acc0cd46c)
2007-10-10r11727: Minor cleanupVolker Lendecke1-14/+5
(This used to be commit 681451af727d12294ecee1b8fddc595b0148003f)
2007-10-10r11724: - move checks packet size and protocol version,Stefan Metzmacher2-53/+56
before we create the request structure - move code into one function metze (This used to be commit 96345b1c465c6cdf480f6e49d3c437cfe4d93c2c)
2007-10-10r11723: fix the buildStefan Metzmacher1-0/+2
metze (This used to be commit 838aac5e2020802b18ae34a5fcd85c085fc98501)
2007-10-10r11722: make the smb2_push/pull functions take a smb2_request_bufferStefan Metzmacher7-46/+39
and the pull ones also a TALLOC_CTX, then we can reuse this functions in the server later metze (This used to be commit 9b616516cae269f0870e9b9a9cecd8ee3f0a9095)
2007-10-10r11721: Fix warningsVolker Lendecke6-7/+12
(This used to be commit d760583e388157ff25e317da06c57e5a42f171bd)
2007-10-10r11716: added a read/write testAndrew Tridgell1-0/+48
(This used to be commit 7c229e5b9fc8774207b647214b9d03d26a60aae3)
2007-10-10r11715: added SMB2 read and write requestsAndrew Tridgell7-19/+386
(This used to be commit d3556cbfa38447d2d385b697c1855b3c13d42744)
2007-10-10r11714: put in a workaround for a winbind problem volker asked me about. TheAndrew Tridgell1-1/+4
problem is that winbind currently relies on being able to receive on a smb connection from within the same connections receive routine. This means it relies on a non-serialised connection, so disable the serialisation until winbind is fixed. The correct fix will be to get rid of full_request() in dcerpc.c so that bind requests can be fully async. (This used to be commit c4115293d83a4a6d103e049c5832d4bcdc0a9dbc)
2007-10-10r11713: separate out the setting of the fde in the packet context from theAndrew Tridgell9-12/+28
enabling of packet serialisation (This used to be commit 6a47cd65a8b588f9ddd375c57caaba08281e7cbb)
2007-10-10r11712: avoid changing the fde flags unless really neededAndrew Tridgell1-6/+9
(This used to be commit 48e6424b0cce38f7d8f212d1e891ff8bbd5fec34)
2007-10-10r11711: fixed the nbt server to use the right interface for outgoing requestsAndrew Tridgell2-6/+27
(This used to be commit d87df5fe8e37d3daa3d9cb575450d756dc3d3c8f)
2007-10-10r11710: added function iface_same_net()Andrew Tridgell1-0/+10
(This used to be commit 3e36b301947ccd4343bc294da59b13a8a9cfafce)
2007-10-10r11709: Comment out unused function.Tim Potter1-0/+4
(This used to be commit 8fe5eadafeda91e0540a30952a786949e0678511)
2007-10-10r11708: Fix allocation of too small buffer to hold ip address.Rafal Szczesniak1-1/+1
Thanks metze for catching that. rafal (This used to be commit 5114ef8d1cc9b6f2206463d4ba76653669728403)
2007-10-10r11705: Fix segfaulting create user function.Rafal Szczesniak1-0/+4
rafal (This used to be commit 6b0c083c9b714bf25709e1db3b2113eb8305e8ef)
2007-10-10r11700: added structure definitions for many of the getinfo structuresAndrew Tridgell1-1/+100
(This used to be commit 2919d4228636f1d61d930a37cddd5b1700bf2233)
2007-10-10r11699: use create_complex_file() to setup a file with a wide range ofAndrew Tridgell1-0/+29
different attributes before running the getinfo level scanner, making it easier to recognise levels (This used to be commit 5d0cd9d041af71cb1bfb9cb3e0c45e0bbd8193cb)
2007-10-10r11698: added some more level namesAndrew Tridgell1-3/+4
(This used to be commit 845bbef8038b776b32da0c9c55ae9375feee4961)
2007-10-10r11697: - added a generic SMB2 getinfo callAndrew Tridgell12-31/+249
- added a SMB2-SCANGETINFO test for scanning for available info levels - added names for the info levels I recognise to smb2.h (This used to be commit fe5986067e2aaca039d70393ccc8761434f18fe6)
2007-10-10r11696: added a few more opcode namesAndrew Tridgell1-0/+3
(This used to be commit 2a45476e94a248733333df29da57513bd114f213)
2007-10-10r11695: added SMB2-SCAN torture test for scanning for active SMB2 opcodesAndrew Tridgell4-15/+81
(This used to be commit aa3bcf952c4436b488e461a3686955d70c672ce4)
2007-10-10r11694: fixed 2 valgrind errorsAndrew Tridgell2-2/+2
(This used to be commit 6381fe72417a5cd231b63a87a6a0ba9c65030ce6)
2007-10-10r11693: added a full async composite function for SMB2 that does:Andrew Tridgell3-105/+289
- name resolution - socket connect - negprot - multi-stage session setup - tcon (This used to be commit c1a8e866fe6a0544b7b26da451ea093cdcacdd8f)
2007-10-10r11692: added a full composite (async) spnego session setup for SMB2. ThisAndrew Tridgell5-68/+164
simplies the torture code a lot. (This used to be commit 7bf1046fbb7fd83fecb2fa645628ba9a17aab037)
2007-10-10r11691: added reply buffer code checks and oplock flags for create request/replyAndrew Tridgell8-36/+80
(This used to be commit 26ed781375c03958241d8c93324e04e948944d01)
2007-10-10r11687: filled in 3 more fields in the close replyAndrew Tridgell3-10/+9
(This used to be commit 3a0abb3ff0b532179780ed95f8fcb4bca6e040b1)
2007-10-10r11683: fixed create callAndrew Tridgell1-2/+2
(This used to be commit 02d733190340fbb611443b0cc484813ba026eafe)
2007-10-10r11682: filled in access_mask in tcon replyAndrew Tridgell2-5/+5
(This used to be commit 173a213f915aa929cc2a6bfef06954e665b3d694)
2007-10-10r11681: filled in a few more smb2_create() fieldsAndrew Tridgell3-47/+52
(This used to be commit a95413568f1e45691524dfd8e9159a3bafe358ea)