summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* r11800: - filled in unknown fields in SMB2 all_info levelAndrew Tridgell2007-10-107-30/+84
| | | | | - allow setting of the ALL_EAS flags bits in SMB2 getinfo (This used to be commit 8c7c54a46dfb91c053d07a5e606892a41213c605)
* r11797: Added OpenSSH fix for "%.*s" format crash. From Darren TuckerJeremy Allison2007-10-101-1/+22
| | | | | | <dtucker@zip.com.au> Jeremy. (This used to be commit a2006c162833f8e0513c2f2744688960c04b7e67)
* r11796: Two more uses of !composite_is_okVolker Lendecke2007-10-101-20/+5
| | | | (This used to be commit 7256157d01ff47d33706dadd45851cf2fbbce3a6)
* r11795: used a couple more of volkers composite helper functions. TheyAndrew Tridgell2007-10-101-39/+9
| | | | | certainly make the code more compact. (This used to be commit 872e2a49d8a1ad1f9a6e2f2d323b3471aeb9cba6)
* r11794: - fixed a valgrind error in libnet, caused by using a stack variableAndrew Tridgell2007-10-103-10/+8
| | | | | | | | | | after the function has returned (the *address variable was assigned into the state). - changed libnet to use event_context_find() instead of event_context_init(), so it works as a child of existing code that uses a event context (This used to be commit 47ceb2d3558304b4c4fb00582fb25a885cea2ef5)
* r11791: simplify the SMB2 connect code following some suggestions from volkerAndrew Tridgell2007-10-101-22/+24
| | | | (This used to be commit 71e3e61941621f72f45708340f5d03b2b79580b4)
* r11789: - add the start of a SMB2 serverStefan Metzmacher2007-10-1010-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 (This used to be commit 08b31d5f618d2e416cb9812ad3a49754cd7212b8)
* r11788: remove unused header filesStefan Metzmacher2007-10-101-3/+0
| | | | | metze (This used to be commit 27a2615876be3d49cca417796ad7466c342a6f8b)
* r11787: add missing fileStefan Metzmacher2007-10-101-0/+20
| | | | | metze (This used to be commit d74f333a84658a45d5386c39787e61bd31ab540d)
* r11786: move all SMB protocol specific stuff to smb_server/smb/Stefan Metzmacher2007-10-1012-12/+3
| | | | | metze (This used to be commit 5fea278cb65076cea71bb6c921e51c4feffc37d7)
* r11785: rename conn.c into tcon.cStefan Metzmacher2007-10-102-1/+1
| | | | | metze (This used to be commit eba4f6b7067c3e32a1db897fdca43f9a76a6f5ea)
* r11783: - make the VIUD field in smbsrv_session 64bit, as SMB2 needs itStefan Metzmacher2007-10-106-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 (This used to be commit 7eb10048b2c4e5ee9c39750dc877514ed9235a76)
* r11782: - make the TID 32bit in the smbsrv_tcon structure, as SMB2 usesStefan Metzmacher2007-10-105-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 (This used to be commit f3bf5a2c0947e33d4167fa4fa290968204a826e8)
* r11781: rename tree to tcons to match the sessions substructure of ↵Stefan Metzmacher2007-10-106-35/+35
| | | | | | | smbsrv_connection metze (This used to be commit acd3e644e030a3544ddc6cdcd4e0ec9617732cba)
* r11780: it turns out that the MxAc tag isn't a security descriptor, its aAndrew Tridgell2007-10-104-34/+13
| | | | | | request that the server return its own MxAc blob which contains the maximum allowed access_mask for the returned file handle (This used to be commit c0288aa8cd46ca384074f89430c226d725c39475)
* r11779: fix crash bugStefan Metzmacher2007-10-101-1/+1
| | | | | metze (This used to be commit b35e43a67b7b9ccb25c8f4ed62b8415e82aaf1c7)
* r11778: - remove unused memory contexts as req is already the temporary ↵Stefan Metzmacher2007-10-101-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 (This used to be commit 4bceb94749fba3138c492bed2733fad006affcc5)
* r11777: display the security_descriptor in torture_smb2_all_info()Andrew Tridgell2007-10-102-0/+14
| | | | (This used to be commit d1067fc25df57b1b6ef59a69f979ed76df5c46cd)
* r11776: no need to call out to SMB to setup test files for SMB2 any moreAndrew Tridgell2007-10-103-48/+69
| | | | (This used to be commit dae70c5baed7d5613d793dca15dda3007c1a690a)
* r11775: added support for creating files on SMB2 with initial EA lists and ↵Andrew Tridgell2007-10-108-43/+148
| | | | | | an ACL (This used to be commit ff197092988cee64742f83df23c43ae664a196f9)
* r11774: - move SMB specific initialisation of the smbsrv_connection out of ↵Stefan Metzmacher2007-10-104-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 (This used to be commit f89deac1cb8a7e5651116d96b9a94d5cc8293076)
* r11773: added a SMB2-SETINFO test suite. This tests the following levels:Andrew Tridgell2007-10-104-1/+378
| | | | | | | | | | BASIC_INFORMATION DISPOSITION_INFORMATION ALLOCATION_INFORMATION END_OF_FILE_INFORMATION POSITION_INFORMATION MODE_INFORMATION (This used to be commit 8804b6a7eb59ab0a9088f89d191194fba71befe3)
* r11772: - setfileinfo needs a smb2_handle for SMB2 supportAndrew Tridgell2007-10-102-0/+2
| | | | | - added smb2_setinfo to structs.h (This used to be commit 5be1d334760b8422b65758d1891f9fe29185a244)
* r11771: - split out the setinfo blob construction in the libcli/raw codeAndrew Tridgell2007-10-106-85/+328
| | | | | | | - added a smb2_setinfo call - added smb2_setinfo_file*() calls (This used to be commit da0b6fb93683331134ef2f4abd8707e0c3fc6d9d)
* r11759: fix up the SEC_SHARE handling, when we want to support that laterStefan Metzmacher2007-10-103-16/+14
| | | | | | | we need to fake a smbsrv_session for each smbsrv_tcon... metze (This used to be commit 5b5fb1772034fbfebbb7174df235c8c11d4819fe)
* r11758: unified the parse code for the SMB and SMB2 qfsinfo and qfileinfo callsAndrew Tridgell2007-10-107-429/+324
| | | | (This used to be commit ba897e537b9a1544dc214e9d5504c87fee6fced2)
* r11757: make smb_server.c independent from the protocolStefan Metzmacher2007-10-103-608/+637
| | | | | metze (This used to be commit b606d5664dde64412dc29c1499322c5de4c262d5)
* r11756: split out the parsers for the pass-through levels of QFSINFO andAndrew Tridgell2007-10-105-143/+279
| | | | | QFILEINFO levels in trans2, so they can be shared with SMB2 (This used to be commit 5ca2d609e6a3766ebd07763f850ecc62209a7db7)
* r11755: added names for all of the SMB2 qfs info levels (they all map exactlyAndrew Tridgell2007-10-104-15/+24
| | | | | to equivalent SMB qfs levels) (This used to be commit 4ce48d02aa12d6fa699bf8b250b14851870f0096)
* r11754: make the SMB2 blob push routines take offsets, so they fit better withAndrew Tridgell2007-10-105-85/+97
| | | | | the rest of the packet construction code (This used to be commit 387ec2b17ff30a1c040b460b498c8fa7d8770593)
* r11753: change the getinfo scanner to scan with both a file and a directory, ↵Andrew Tridgell2007-10-101-53/+32
| | | | | | | and to use files that have streams and EAs (This used to be commit f739431927e9600e914204930f1e862a367a7368)
* r11752: setup the dynamic pointer for incoming packets tooAndrew Tridgell2007-10-102-1/+15
| | | | (This used to be commit 583f3c415ea33ddf5f4065a66f6fae49ab48455e)
* r11751: fixed the req->out.size calculation (it needs to be the completeAndrew Tridgell2007-10-101-2/+4
| | | | | request size, including dynamic portion) (This used to be commit 1b5cdf92cc7793b08d7c46ef00d4ff696b31c15e)
* r11750: More comments.Rafal Szczesniak2007-10-101-3/+4
| | | | (This used to be commit d277b13ced0983d67b22d78e06d692a966e3c6f1)
* r11749: 1) Buffer allocation's been moved and isn't needed here.Rafal Szczesniak2007-10-101-3/+1
| | | | | | | 2) Connect to a server instead of pdc after locating it. rafal (This used to be commit a7bf9ada34c31f26d13c1575de2ec79ea5948a71)
* r11748: By default, use name resolution method provided by meansRafal Szczesniak2007-10-101-0/+1
| | | | | | | of smb.conf. rafal (This used to be commit 739169e8eda74ad53d728fe6d11a30513c218853)
* r11747: Move buffer allocation to libnet_Lookup function so that theRafal Szczesniak2007-10-101-1/+6
| | | | | | | caller is not required to ensure it. rafal (This used to be commit 85456e6c0b50540d9f6ae15a460148a328cf002c)
* r11746: revert my last commits, I now understand how we decide betweenStefan Metzmacher2007-10-103-3/+3
| | | | | | | finished and non-finished sessions metze (This used to be commit 7cf6b307bc820b87663e4b9d1aeb5e730729b24e)
* r11745: one more check for a valid sessionStefan Metzmacher2007-10-101-1/+1
| | | | | metze (This used to be commit 92aae176fbde22bcc6fe58aa651d3d4a421fdf60)
* r11744: make sure the session is completed authenticated!!!Stefan Metzmacher2007-10-102-2/+2
| | | | | metze (This used to be commit 0383218a00a8e744b70a3fa5056467a43fbe3a42)
* r11743: - push the length at the correct offsetStefan Metzmacher2007-10-101-2/+9
| | | | | | | - let us push empty strings metze (This used to be commit 17c4b6298d757f2e53fe764608504bf737005cbe)
* r11742: fix pushing of 0 length blobsStefan Metzmacher2007-10-101-0/+18
| | | | | metze (This used to be commit e985ab117c6afb2ea575b55bfaa97b0795ec5745)
* r11741: - the buffer code (first 2 bytes in the SMB2 body) seem to be the lengthStefan Metzmacher2007-10-1016-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)
* r11740: add some EA error codesStefan Metzmacher2007-10-102-1/+7
| | | | | metze (This used to be commit b1afcced395812477365befad1ed37a7cdafa275)
* r11738: test larger read/write calls. If you run smbtorture with -X (to enableAndrew Tridgell2007-10-101-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)
* r11737: use _smb_setlen2() to allow for 24 bit lengths in SMB2 packetsAndrew Tridgell2007-10-102-1/+3
| | | | (This used to be commit 54fda24379ca1a20d6de2edf64dd79b3fe80a37d)
* r11736: display EAs and streams in smb2 torture testsAndrew Tridgell2007-10-101-0/+28
| | | | (This used to be commit 2baea9a5ec0a805b90c8b48454e395ce40a35a74)
* r11735: fixed the ALL_EAS smb2 level parsingAndrew Tridgell2007-10-102-7/+5
| | | | (This used to be commit dd24c0e80cf07bda700a0abb84a7a053d817f903)
* r11731: fixed typo noticed by metzeAndrew Tridgell2007-10-101-2/+2
| | | | (This used to be commit e51fb2b44ad524620451807cccb186dd4be704c7)
* r11730: added parsing and tests for a bunch more SMB2 getinfo levelsAndrew Tridgell2007-10-1010-128/+626
| | | | (This used to be commit ca65bf0235cbfab451e5d5ceac9f714acc0cd46c)