summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* r11789: - add the start of a SMB2 serverStefan Metzmacher2005-11-1810-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 filesStefan Metzmacher2005-11-181-3/+0
| | | | metze
* r11787: add missing fileStefan Metzmacher2005-11-181-0/+20
| | | | metze
* r11786: move all SMB protocol specific stuff to smb_server/smb/Stefan Metzmacher2005-11-1812-12/+3
| | | | metze
* r11785: rename conn.c into tcon.cStefan Metzmacher2005-11-182-1/+1
| | | | metze
* r11783: - make the VIUD field in smbsrv_session 64bit, as SMB2 needs itStefan Metzmacher2005-11-186-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 usesStefan Metzmacher2005-11-185-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 Metzmacher2005-11-186-35/+35
| | | | | | smbsrv_connection metze
* r11780: it turns out that the MxAc tag isn't a security descriptor, its aAndrew Tridgell2005-11-184-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 bugStefan Metzmacher2005-11-181-1/+1
| | | | metze
* r11778: - remove unused memory contexts as req is already the temporary ↵Stefan Metzmacher2005-11-181-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 Tridgell2005-11-182-0/+14
|
* r11776: no need to call out to SMB to setup test files for SMB2 any moreAndrew Tridgell2005-11-183-48/+69
|
* r11775: added support for creating files on SMB2 with initial EA lists and ↵Andrew Tridgell2005-11-188-43/+148
| | | | an ACL
* r11774: - move SMB specific initialisation of the smbsrv_connection out of ↵Stefan Metzmacher2005-11-184-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 Tridgell2005-11-184-1/+378
| | | | | | | | | BASIC_INFORMATION DISPOSITION_INFORMATION ALLOCATION_INFORMATION END_OF_FILE_INFORMATION POSITION_INFORMATION MODE_INFORMATION
* r11772: - setfileinfo needs a smb2_handle for SMB2 supportAndrew Tridgell2005-11-182-0/+2
| | | | - added smb2_setinfo to structs.h
* r11771: - split out the setinfo blob construction in the libcli/raw codeAndrew Tridgell2005-11-186-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 laterStefan Metzmacher2005-11-173-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 callsAndrew Tridgell2005-11-177-429/+324
|
* r11757: make smb_server.c independent from the protocolStefan Metzmacher2005-11-173-608/+637
| | | | metze
* r11756: split out the parsers for the pass-through levels of QFSINFO andAndrew Tridgell2005-11-175-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 exactlyAndrew Tridgell2005-11-174-15/+24
| | | | to equivalent SMB qfs levels)
* r11754: make the SMB2 blob push routines take offsets, so they fit better withAndrew Tridgell2005-11-175-85/+97
| | | | the rest of the packet construction code
* r11753: change the getinfo scanner to scan with both a file and a directory, ↵Andrew Tridgell2005-11-171-53/+32
| | | | | | and to use files that have streams and EAs
* r11752: setup the dynamic pointer for incoming packets tooAndrew Tridgell2005-11-172-1/+15
|
* r11751: fixed the req->out.size calculation (it needs to be the completeAndrew Tridgell2005-11-171-2/+4
| | | | request size, including dynamic portion)
* r11750: More comments.Rafal Szczesniak2005-11-161-3/+4
|
* r11749: 1) Buffer allocation's been moved and isn't needed here.Rafal Szczesniak2005-11-161-3/+1
| | | | | | | 2) Connect to a server instead of pdc after locating it. rafal
* r11748: By default, use name resolution method provided by meansRafal Szczesniak2005-11-161-0/+1
| | | | | | | of smb.conf. rafal
* r11747: Move buffer allocation to libnet_Lookup function so that theRafal Szczesniak2005-11-161-1/+6
| | | | | | | caller is not required to ensure it. rafal
* r11746: revert my last commits, I now understand how we decide betweenStefan Metzmacher2005-11-163-3/+3
| | | | | | finished and non-finished sessions metze
* r11745: one more check for a valid sessionStefan Metzmacher2005-11-161-1/+1
| | | | metze
* r11744: make sure the session is completed authenticated!!!Stefan Metzmacher2005-11-162-2/+2
| | | | metze
* r11743: - push the length at the correct offsetStefan Metzmacher2005-11-161-2/+9
| | | | | | - let us push empty strings metze
* r11742: fix pushing of 0 length blobsStefan Metzmacher2005-11-161-0/+18
| | | | metze
* r11741: - the buffer code (first 2 bytes in the SMB2 body) seem to be the lengthStefan Metzmacher2005-11-1616-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 codesStefan Metzmacher2005-11-162-1/+7
| | | | metze
* r11738: test larger read/write calls. If you run smbtorture with -X (to enableAndrew Tridgell2005-11-161-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 packetsAndrew Tridgell2005-11-162-1/+3
|
* r11736: display EAs and streams in smb2 torture testsAndrew Tridgell2005-11-161-0/+28
|
* r11735: fixed the ALL_EAS smb2 level parsingAndrew Tridgell2005-11-162-7/+5
|
* r11731: fixed typo noticed by metzeAndrew Tridgell2005-11-151-2/+2
|
* r11730: added parsing and tests for a bunch more SMB2 getinfo levelsAndrew Tridgell2005-11-1510-128/+626
|
* r11727: Minor cleanupVolker Lendecke2005-11-141-14/+5
|
* r11724: - move checks packet size and protocol version,Stefan Metzmacher2005-11-142-53/+56
| | | | | | | before we create the request structure - move code into one function metze
* r11723: fix the buildStefan Metzmacher2005-11-141-0/+2
| | | | metze
* r11722: make the smb2_push/pull functions take a smb2_request_bufferStefan Metzmacher2005-11-147-46/+39
| | | | | | | and the pull ones also a TALLOC_CTX, then we can reuse this functions in the server later metze
* r11721: Fix warningsVolker Lendecke2005-11-146-7/+12
|
* r11716: added a read/write testAndrew Tridgell2005-11-141-0/+48
|