Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | r11789: - add the start of a SMB2 server | Stefan Metzmacher | 2005-11-18 | 10 | -5/+823 | |
| | | | | | | | | | | | | - it does Negprot and SessionSetup yet the rest returns NT_STATUS_NOT_IMPLEMENTED - it's off by default, enable with: smbsrv:enable smb2 = yes - negotition in the SMB Negprot isn't supported yet - it's only tested with smbtorture SMB2-CONNECT not with vista as client metze | |||||
* | r11788: remove unused header files | Stefan Metzmacher | 2005-11-18 | 1 | -3/+0 | |
| | | | | metze | |||||
* | r11787: add missing file | Stefan Metzmacher | 2005-11-18 | 1 | -0/+20 | |
| | | | | metze | |||||
* | r11786: move all SMB protocol specific stuff to smb_server/smb/ | Stefan Metzmacher | 2005-11-18 | 12 | -12/+3 | |
| | | | | metze | |||||
* | r11785: rename conn.c into tcon.c | Stefan Metzmacher | 2005-11-18 | 2 | -1/+1 | |
| | | | | metze | |||||
* | r11783: - make the VIUD field in smbsrv_session 64bit, as SMB2 needs it | Stefan Metzmacher | 2005-11-18 | 6 | -101/+136 | |
| | | | | | | | | | | - add an idtree_limit to limit the max VUID we give the clients it's UINT16_MAX (0xffff) for the SMB protocol - add auth_time to the smbsrv_session statistics - use the session_info as marker for finished and non-finished session setups metze | |||||
* | r11782: - make the TID 32bit in the smbsrv_tcon structure, as SMB2 uses | Stefan Metzmacher | 2005-11-18 | 5 | -17/+50 | |
| | | | | | | | | | them - add a idtree_limit to the tcons substructure of smbsrv_connection this controls what the highest TID is we give away to the client it's UINT16_MAX (0xFFFF) for the SMB protocol metze | |||||
* | r11781: rename tree to tcons to match the sessions substructure of ↵ | Stefan Metzmacher | 2005-11-18 | 6 | -35/+35 | |
| | | | | | | smbsrv_connection metze | |||||
* | r11780: it turns out that the MxAc tag isn't a security descriptor, its a | Andrew Tridgell | 2005-11-18 | 4 | -34/+13 | |
| | | | | | request that the server return its own MxAc blob which contains the maximum allowed access_mask for the returned file handle | |||||
* | r11779: fix crash bug | Stefan Metzmacher | 2005-11-18 | 1 | -1/+1 | |
| | | | | metze | |||||
* | r11778: - remove unused memory contexts as req is already the temporary ↵ | Stefan Metzmacher | 2005-11-18 | 1 | -47/+21 | |
| | | | | | | | | | | context for the current request - just use '0', I'll remove the UID_FIELD_INVALID macro completly later - why search for the session we have just create - add TODO notices, I need to dicuss them with abartlet... metze | |||||
* | r11777: display the security_descriptor in torture_smb2_all_info() | Andrew Tridgell | 2005-11-18 | 2 | -0/+14 | |
| | ||||||
* | r11776: no need to call out to SMB to setup test files for SMB2 any more | Andrew Tridgell | 2005-11-18 | 3 | -48/+69 | |
| | ||||||
* | r11775: added support for creating files on SMB2 with initial EA lists and ↵ | Andrew Tridgell | 2005-11-18 | 8 | -43/+148 | |
| | | | | an ACL | |||||
* | r11774: - move SMB specific initialisation of the smbsrv_connection out of ↵ | Stefan Metzmacher | 2005-11-18 | 4 | -27/+73 | |
| | | | | | | | | | smb_server.c - add a generic incoming packet handler, which handles the first incoming packet and passes to the protocol specifc packet handler metze | |||||
* | 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 | |
| |