Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | r11773: added a SMB2-SETINFO test suite. This tests the following levels: | Andrew Tridgell | 2005-11-18 | 4 | -1/+378 | |
| | | | | | | | | | BASIC_INFORMATION DISPOSITION_INFORMATION ALLOCATION_INFORMATION END_OF_FILE_INFORMATION POSITION_INFORMATION MODE_INFORMATION | |||||
* | r11772: - setfileinfo needs a smb2_handle for SMB2 support | Andrew Tridgell | 2005-11-18 | 2 | -0/+2 | |
| | | | | - added smb2_setinfo to structs.h | |||||
* | r11771: - split out the setinfo blob construction in the libcli/raw code | Andrew Tridgell | 2005-11-18 | 6 | -85/+328 | |
| | | | | | | - added a smb2_setinfo call - added smb2_setinfo_file*() calls | |||||
* | r11759: fix up the SEC_SHARE handling, when we want to support that later | Stefan Metzmacher | 2005-11-17 | 3 | -16/+14 | |
| | | | | | | we need to fake a smbsrv_session for each smbsrv_tcon... metze | |||||
* | r11758: unified the parse code for the SMB and SMB2 qfsinfo and qfileinfo calls | Andrew Tridgell | 2005-11-17 | 7 | -429/+324 | |
| | ||||||
* | r11757: make smb_server.c independent from the protocol | Stefan Metzmacher | 2005-11-17 | 3 | -608/+637 | |
| | | | | metze | |||||
* | r11756: split out the parsers for the pass-through levels of QFSINFO and | Andrew Tridgell | 2005-11-17 | 5 | -143/+279 | |
| | | | | QFILEINFO levels in trans2, so they can be shared with SMB2 | |||||
* | r11755: added names for all of the SMB2 qfs info levels (they all map exactly | Andrew Tridgell | 2005-11-17 | 4 | -15/+24 | |
| | | | | to equivalent SMB qfs levels) | |||||
* | r11754: make the SMB2 blob push routines take offsets, so they fit better with | Andrew Tridgell | 2005-11-17 | 5 | -85/+97 | |
| | | | | the rest of the packet construction code | |||||
* | r11753: change the getinfo scanner to scan with both a file and a directory, ↵ | Andrew Tridgell | 2005-11-17 | 1 | -53/+32 | |
| | | | | | | and to use files that have streams and EAs | |||||
* | r11752: setup the dynamic pointer for incoming packets too | Andrew Tridgell | 2005-11-17 | 2 | -1/+15 | |
| | ||||||
* | r11751: fixed the req->out.size calculation (it needs to be the complete | Andrew Tridgell | 2005-11-17 | 1 | -2/+4 | |
| | | | | request size, including dynamic portion) | |||||
* | r11750: More comments. | Rafal Szczesniak | 2005-11-16 | 1 | -3/+4 | |
| | ||||||
* | r11749: 1) Buffer allocation's been moved and isn't needed here. | Rafal Szczesniak | 2005-11-16 | 1 | -3/+1 | |
| | | | | | | | 2) Connect to a server instead of pdc after locating it. rafal | |||||
* | r11748: By default, use name resolution method provided by means | Rafal Szczesniak | 2005-11-16 | 1 | -0/+1 | |
| | | | | | | | of smb.conf. rafal | |||||
* | r11747: Move buffer allocation to libnet_Lookup function so that the | Rafal Szczesniak | 2005-11-16 | 1 | -1/+6 | |
| | | | | | | | caller is not required to ensure it. rafal | |||||
* | r11746: revert my last commits, I now understand how we decide between | Stefan Metzmacher | 2005-11-16 | 3 | -3/+3 | |
| | | | | | | finished and non-finished sessions metze | |||||
* | r11745: one more check for a valid session | Stefan Metzmacher | 2005-11-16 | 1 | -1/+1 | |
| | | | | metze | |||||
* | r11744: make sure the session is completed authenticated!!! | Stefan Metzmacher | 2005-11-16 | 2 | -2/+2 | |
| | | | | metze | |||||
* | r11743: - push the length at the correct offset | Stefan Metzmacher | 2005-11-16 | 1 | -2/+9 | |
| | | | | | | - let us push empty strings metze | |||||
* | r11742: fix pushing of 0 length blobs | Stefan Metzmacher | 2005-11-16 | 1 | -0/+18 | |
| | | | | metze | |||||
* | r11741: - the buffer code (first 2 bytes in the SMB2 body) seem to be the length | Stefan Metzmacher | 2005-11-16 | 16 | -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 | |||||
* | r11740: add some EA error codes | Stefan Metzmacher | 2005-11-16 | 2 | -1/+7 | |
| | | | | metze | |||||
* | r11738: test larger read/write calls. If you run smbtorture with -X (to enable | Andrew Tridgell | 2005-11-16 | 1 | -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. | |||||
* | r11737: use _smb_setlen2() to allow for 24 bit lengths in SMB2 packets | Andrew Tridgell | 2005-11-16 | 2 | -1/+3 | |
| | ||||||
* | r11736: display EAs and streams in smb2 torture tests | Andrew Tridgell | 2005-11-16 | 1 | -0/+28 | |
| | ||||||
* | r11735: fixed the ALL_EAS smb2 level parsing | Andrew Tridgell | 2005-11-16 | 2 | -7/+5 | |
| | ||||||
* | r11731: fixed typo noticed by metze | Andrew Tridgell | 2005-11-15 | 1 | -2/+2 | |
| | ||||||
* | r11730: added parsing and tests for a bunch more SMB2 getinfo levels | Andrew Tridgell | 2005-11-15 | 10 | -128/+626 | |
| | ||||||
* | r11727: Minor cleanup | Volker Lendecke | 2005-11-14 | 1 | -14/+5 | |
| | ||||||
* | r11724: - move checks packet size and protocol version, | Stefan Metzmacher | 2005-11-14 | 2 | -53/+56 | |
| | | | | | | | before we create the request structure - move code into one function metze | |||||
* | r11723: fix the build | Stefan Metzmacher | 2005-11-14 | 1 | -0/+2 | |
| | | | | metze | |||||
* | r11722: make the smb2_push/pull functions take a smb2_request_buffer | Stefan Metzmacher | 2005-11-14 | 7 | -46/+39 | |
| | | | | | | | and the pull ones also a TALLOC_CTX, then we can reuse this functions in the server later metze | |||||
* | r11721: Fix warnings | Volker Lendecke | 2005-11-14 | 6 | -7/+12 | |
| | ||||||
* | r11716: added a read/write test | Andrew Tridgell | 2005-11-14 | 1 | -0/+48 | |
| | ||||||
* | r11715: added SMB2 read and write requests | Andrew Tridgell | 2005-11-14 | 7 | -19/+386 | |
| | ||||||
* | r11714: put in a workaround for a winbind problem volker asked me about. The | Andrew Tridgell | 2005-11-14 | 1 | -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. | |||||
* | r11713: separate out the setting of the fde in the packet context from the | Andrew Tridgell | 2005-11-14 | 9 | -12/+28 | |
| | | | | enabling of packet serialisation | |||||
* | r11712: avoid changing the fde flags unless really needed | Andrew Tridgell | 2005-11-14 | 1 | -6/+9 | |
| | ||||||
* | r11711: fixed the nbt server to use the right interface for outgoing requests | Andrew Tridgell | 2005-11-14 | 2 | -6/+27 | |
| | ||||||
* | r11710: added function iface_same_net() | Andrew Tridgell | 2005-11-14 | 1 | -0/+10 | |
| | ||||||
* | r11709: Comment out unused function. | Tim Potter | 2005-11-14 | 1 | -0/+4 | |
| | ||||||
* | r11708: Fix allocation of too small buffer to hold ip address. | Rafal Szczesniak | 2005-11-13 | 1 | -1/+1 | |
| | | | | | | | Thanks metze for catching that. rafal | |||||
* | r11705: Fix segfaulting create user function. | Rafal Szczesniak | 2005-11-12 | 1 | -0/+4 | |
| | | | | rafal | |||||
* | r11700: added structure definitions for many of the getinfo structures | Andrew Tridgell | 2005-11-12 | 1 | -1/+100 | |
| | ||||||
* | r11699: use create_complex_file() to setup a file with a wide range of | Andrew Tridgell | 2005-11-12 | 1 | -0/+29 | |
| | | | | | different attributes before running the getinfo level scanner, making it easier to recognise levels | |||||
* | r11698: added some more level names | Andrew Tridgell | 2005-11-12 | 1 | -3/+4 | |
| | ||||||
* | r11697: - added a generic SMB2 getinfo call | Andrew Tridgell | 2005-11-12 | 12 | -31/+249 | |
| | | | | | | - added a SMB2-SCANGETINFO test for scanning for available info levels - added names for the info levels I recognise to smb2.h | |||||
* | r11696: added a few more opcode names | Andrew Tridgell | 2005-11-12 | 1 | -0/+3 | |
| | ||||||
* | r11695: added SMB2-SCAN torture test for scanning for active SMB2 opcodes | Andrew Tridgell | 2005-11-12 | 4 | -15/+81 | |
| |