summaryrefslogtreecommitdiff
path: root/source4/smb_server/smb2
AgeCommit message (Collapse)AuthorFilesLines
2008-11-02Add gensec_settings structure. This wraps loadparm_context for now, butJelmer Vernooij2-2/+2
should in the future only contain some settings required for gensec.
2008-10-24Remove unused include param/param.h.Jelmer Vernooij1-1/+0
2008-10-24Remove iconv_convenience parameter from simple string push/pullJelmer Vernooij1-1/+1
functions.
2008-09-24we need different error handling for truncated packets in NETPROT andAndrew Tridgell1-2/+39
other SMB2 operations.
2008-09-24we should terminate the connection on a bad negprot packet sizeAndrew Tridgell1-2/+2
2008-09-24cope with body_size zero in SMB2 receiveAndrew Tridgell1-1/+2
2008-09-24check for a 0 byte in the buffer in SMB2 readAndrew Tridgell1-0/+6
2008-09-24the offset is 16 bits in SMB2 fileinfoAndrew Tridgell1-1/+1
2008-09-24fixed error code for bad keepaliveAndrew Tridgell1-1/+1
2008-09-24stricter checking of SMB2 echo body (per the spec)Andrew Tridgell1-1/+6
thanks to the bluearc test suite
2008-08-14smb2srv: async replies with STATUS_PENDING are not signedStefan Metzmacher1-2/+29
..., but the they may have the sign flag set. metze (This used to be commit 43e43dead030f6bffd06631007fdb162c3c6b2b5)
2008-08-14smb2srv: sign replies when the request was also signedStefan Metzmacher2-7/+4
metze (This used to be commit dd2f4f7a491debcc30e590f571272afd99e52940)
2008-08-14smb2srv: use defines instead of hex valuesStefan Metzmacher1-3/+3
metze (This used to be commit 7c4abf6614c47471ae005a12abe27d85890d867f)
2008-07-28smb2srv: sign SMB2 Logoff repliesStefan Metzmacher1-3/+17
metze (This used to be commit 2844e361730a6bc640ea89d0e10059deca1ca867)
2008-07-28smb2srv: correctly hold the signing state per sessionStefan Metzmacher3-12/+25
metze (This used to be commit 5b3ba3f3556e8031133128853cd2324ee3852aa1)
2008-06-07fixed mandatory signingAndrew Tridgell3-2/+7
Metze pointed out that if signing is mandatory in the server then we need to reject packets without the signed flag if the packet contains a session id. (This used to be commit 056f16e664e581bab1c07759e99ad4f6685c58eb)
2008-06-06added server side SMB2 signingAndrew Tridgell3-1/+57
(This used to be commit 8e919dcb0826a5b25d037ee6144af5f7cb21f3ae)
2008-06-02more updates for new info levelsAndrew Tridgell1-1/+1
(This used to be commit 85d1873ee92fcc7df3addc42ddb8189144901f8b)
2008-05-31check for requested buffer size in getinfo callAndrew Tridgell1-0/+5
(This used to be commit ed8f16379d01d3dffd2645e2b275aa27507dfec9)
2008-05-30the docs shows that this is a o16s32 blobAndrew Tridgell1-2/+1
(This used to be commit a6d28e2b330a20e95b745966bb5eb153bdc58ed1)
2008-05-29fix from WSPP SMB2 test 11Andrew Tridgell1-1/+2
(This used to be commit 81612b7854725837e8487bf97b87bff6548b6ad3)
2008-05-29added support for returning the maximal access MXAC tag in SMB2 createAndrew Tridgell1-0/+12
(This used to be commit 4eb49335d5f0319f9aa47ded5215a2977d3336bf)
2008-05-28implement the documented SMB2 create blobs in the serverAndrew Tridgell1-6/+70
Not all of them are honoured yet, but they are all parsed and the ones that have SMB equivalents are honoured (This used to be commit 9fc70e2ed6a54f6d9a0530f4d37c0f8acadb6778)
2008-05-22badly formed SMB2 packets get NT_STATUS_INVALID_PARAMETERAndrew Tridgell1-2/+2
(This used to be commit 1c5dd2d1b655218f875a4e512ed3e94fee624fe4)
2008-05-21fixed SMB2 flush call, and added flush to gentest_smb2Andrew Tridgell1-4/+3
(This used to be commit c52fe1fe1c77636d87355d3c4baa66e052fe9008)
2008-05-21fixed SMB2 lockingAndrew Tridgell2-9/+23
- SMB2 locking is different in several ways from SMB locking. To fix it properly we will need a new generic mapping structure for locking, but for now do a best effort mapping - added locking to gentest_smb2 (This used to be commit ea6d9cf602302adafe0f9d5f5f90a9b26d1ead6f)
2008-05-19Merge commit 'origin/v4-0-test' into vfs_smb2Andrew Tridgell1-2/+2
(This used to be commit 733937e87a1adcc19492ea2bd138e705701901b6)
2008-05-18Fix a couple (well, little more than that..) of typos.Jelmer Vernooij1-1/+1
(This used to be commit a6b52119940a900fb0de3864b8bca94e2965cc24)
2008-05-18Create prototype headers from Makefile directory, without smb_build in the ↵Jelmer Vernooij1-1/+1
middle. (This used to be commit f4a77b96f9c17d853348b70794026e5b9e384942)
2008-05-18Use variables for source directory in a couple more places.Jelmer Vernooij1-1/+1
(This used to be commit c41bd3005f5f0b9cfd3709fc9217b4a401d265b4)
2008-05-16fixed file_index referenceAndrew Tridgell1-1/+1
(This used to be commit edb4b38ed33b545d8024f45c602d3f5e4a74c511)
2008-05-15better match WSPP doc name for find flagsAndrew Tridgell1-1/+1
(This used to be commit 0e4b8602dec3ec87676c91a99371e5d77fe78196)
2008-04-19smb_server/smb2: handle incoming oplock releasesStefan Metzmacher1-1/+30
metze (This used to be commit 2306394dcc22ff2be8581256a5cf91eef4993078)
2008-04-17make smb2 read and write size configurableAndrew Tridgell1-3/+6
(This used to be commit 2090e75e0c28f8d2aada305059bdb455f42ed0d5)
2008-04-17smb_server/smb2: initialize new create.in.blobs element untill it'll be ↵Stefan Metzmacher1-0/+1
supported metze (This used to be commit fbfbd74e65b1f3e185f08a538bdd50ba7c6ce9bf)
2008-04-14Use _OBJ_FILES variables in a couple more places.Jelmer Vernooij1-6/+8
(This used to be commit 92856d5054106894b65cd1a1b5119c0facfc4cff)
2008-04-14fill in unknown fields in SMB2 READ callAndrew Tridgell1-3/+7
(This used to be commit 9b686c138037f613da15168d0722786e00f023e5)
2008-04-02Install public header files again and include required prototypes.Jelmer Vernooij1-0/+2
(This used to be commit 47ffbbf67435904754469544390b67d34c958343)
2008-03-06ntvfs: pass down the client capabilities into the ntvfs layerStefan Metzmacher1-0/+4
Note that we don't use any protocol specific values here. For now only NTVFS_CLIENT_CAP_LEVEL_II_OPLOCKS is defined others should be defined, when we find out that the ntvfs layer needs to know about it. metze (This used to be commit cc42cd5f6753ca582677fa6f403f0419eec5ab10)
2008-02-18Fix build with partial linking.Jelmer Vernooij1-1/+0
(This used to be commit bfad9610c472e8d7e3656e19c8dbb6b85727dc13)
2008-02-183 places where the VFS backend doesn't handle NULL strings.Andrew Tridgell3-0/+15
(This used to be commit cf109460aff5a8437ab7eba05e4d7316a131080e)
2008-02-14Remove type before variables in data.mkJelmer Vernooij1-1/+1
(This used to be commit 3c1a7c0dcc56ed5595e31a8df023a04ae95bfca5)
2008-02-14updated SMB2 code for getinfo according to WSPP docsAndrew Tridgell2-26/+25
- Updated getinfo structures and field names - also updated the protocol revision number handling to reflect new docs (This used to be commit 3aaa2e86d94675c6c68d66d75292c3e34bfbc81b)
2008-02-14A better way to handle the different format of RenameInformation in SMB2Andrew Tridgell1-0/+5
We now define a separate info level RAW_SFILEINFO_RENAME_INFORMATION_SMB2 and set that level when handling SMB2 packets. This makes the parsers clearer. (This used to be commit f6cdf3f1177f63d80be757f007eb15380839b4f5)
2008-02-14Fixed SMB2 rename operations from Vista clientsAndrew Tridgell1-1/+1
We needed a flag in bufinfo to mark packets as SMB2, as it seems that SMB2 uses a different format for the RenameInformation buffer than SMB does Also handle the fact that SMB2 clients give the full path to the target file in the rename, not a relative path (This used to be commit 52d7972d95ddc19d22a4187b4d4428a6c3ed32d5)
2008-02-14Convert SMB and SMB2 code to use a common buffer handling structureAndrew Tridgell4-1/+25
This converts our SMB and SMB2 code to use a common structure "struct request_bufinfo" for information on the buffer bounds of a packet, alignment information and string handling. This allows us to use a common backend for SMB and SMB2 code, while still using all the same string and blob handling functions. Up to now we had been passing a NULL req handle into these common routines from the SMB2 side of the server, which meant that we failed any operation which did a bounds checked string extraction (such as a RenameInformation setinfo call, which is what Vista uses for renaming files) There is still some more work to be done on this - for example we can now remove many of the SMB2 specific buffer handling functions that we had, and use the SMB ones. (This used to be commit ca6d9be6cb6a403a81b18fa6e9a6a0518d7f0f68)
2008-02-13updated SMB2 create operation to match WSPP.Andrew Tridgell1-11/+11
Adding some defined for various new create options (This used to be commit d037dc23ced3df6bce98cbf4810fb5f1247336bd)
2008-02-13updated SMB2 tcon as per WSPP docsAndrew Tridgell1-17/+11
(This used to be commit 5913e3e549e71affc66c28cacb6563331fb0c790)
2008-02-12fixed crash when 0 dialects (thanks metze!)Andrew Tridgell1-2/+4
(This used to be commit 252bcf207b8117f325075cbb7bd05063756ac283)
2008-02-12updated SMB2 header defines to match WSPP docsAndrew Tridgell4-32/+32
(This used to be commit d2c6ad55eca27f50a38fc6e2a85032eddb3f0aae)