summaryrefslogtreecommitdiffstats
path: root/source4/smb_server
Commit message (Collapse)AuthorAgeFilesLines
...
* smb_server/smb: fix crash bug with fragmented trans callsStefan Metzmacher2008-07-071-13/+20
| | | | | | | | | | | | We need to use smbsrv_setup_secondary_request(req) to send the trans ack, because smbsrv_send_reply(req) destroys 'req' and the partial trans list had dead elements in the list. Also make sure the partial list element is removed by a talloc destructor. metze (This used to be commit 221f4d6e534a40b7def6e51dc6b4f9e8057d18b7)
* fixed mandatory signingAndrew Tridgell2008-06-073-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)
* added server side SMB2 signingAndrew Tridgell2008-06-064-1/+59
| | | | (This used to be commit 8e919dcb0826a5b25d037ee6144af5f7cb21f3ae)
* more updates for new info levelsAndrew Tridgell2008-06-022-4/+13
| | | | (This used to be commit 85d1873ee92fcc7df3addc42ddb8189144901f8b)
* check for requested buffer size in getinfo callAndrew Tridgell2008-05-311-0/+5
| | | | (This used to be commit ed8f16379d01d3dffd2645e2b275aa27507dfec9)
* the docs shows that this is a o16s32 blobAndrew Tridgell2008-05-301-2/+1
| | | | (This used to be commit a6d28e2b330a20e95b745966bb5eb153bdc58ed1)
* fix from WSPP SMB2 test 11Andrew Tridgell2008-05-291-1/+2
| | | | (This used to be commit 81612b7854725837e8487bf97b87bff6548b6ad3)
* added support for returning the maximal access MXAC tag in SMB2 createAndrew Tridgell2008-05-291-0/+12
| | | | (This used to be commit 4eb49335d5f0319f9aa47ded5215a2977d3336bf)
* implement the documented SMB2 create blobs in the serverAndrew Tridgell2008-05-281-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)
* make sure we send a reply packet for bad create optionsAndrew Tridgell2008-05-281-1/+2
| | | | (This used to be commit f9b94f62998aef5f5f3879ac3cfba93016fa521b)
* Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-pyirpcJelmer Vernooij2008-05-261-0/+5
|\ | | | | | | (This used to be commit e1af9708c9b40edfa21862028672882797218174)
| * stricter checks for valid inputs in SMB2 open and lockAndrew Tridgell2008-05-261-0/+5
| | | | | | | | (This used to be commit a7b5689a73adde59de28770aa3949660441291ea)
* | Cope with no server being active.Jelmer Vernooij2008-05-261-2/+2
|/ | | | (This used to be commit 893119bb4c9c297966d43d37fe73faa747b7c86e)
* fix make test for EAs againAndrew Tridgell2008-05-231-2/+2
| | | | | | | - go back to 4 byte alignment until I work out the rules that Vista wants more exactly - add the zero sized EA handling for SMB2 more generically (This used to be commit 326b69bc8064cbea357864cecd6bd27b50c57184)
* pass in the required alignment to the EA construction routinesAndrew Tridgell2008-05-221-2/+2
| | | | (This used to be commit af31030e0b78b6b220740529901ec8d2d9f5a3fe)
* fixed parsing of the SMB2 ALL_INFO qfileinfo levelAndrew Tridgell2008-05-221-1/+2
| | | | (This used to be commit a7be5ba22e0cf2c61501f5a05e64673f31ba145c)
* badly formed SMB2 packets get NT_STATUS_INVALID_PARAMETERAndrew Tridgell2008-05-221-2/+2
| | | | (This used to be commit 1c5dd2d1b655218f875a4e512ed3e94fee624fe4)
* fixed SMB2 flush call, and added flush to gentest_smb2Andrew Tridgell2008-05-211-4/+3
| | | | (This used to be commit c52fe1fe1c77636d87355d3c4baa66e052fe9008)
* fixed SMB2 lockingAndrew Tridgell2008-05-212-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)
* Merge commit 'origin/v4-0-test' into vfs_smb2Andrew Tridgell2008-05-193-8/+10
|\ | | | | | | (This used to be commit 733937e87a1adcc19492ea2bd138e705701901b6)
| * Fix a couple (well, little more than that..) of typos.Jelmer Vernooij2008-05-183-4/+4
| | | | | | | | (This used to be commit a6b52119940a900fb0de3864b8bca94e2965cc24)
| * Create prototype headers from Makefile directory, without smb_build in the ↵Jelmer Vernooij2008-05-183-4/+6
| | | | | | | | | | | | middle. (This used to be commit f4a77b96f9c17d853348b70794026e5b9e384942)
| * Use variables for source directory in a couple more places.Jelmer Vernooij2008-05-183-4/+4
| | | | | | | | (This used to be commit c41bd3005f5f0b9cfd3709fc9217b4a401d265b4)
* | fixed warningAndrew Tridgell2008-05-161-1/+2
| | | | | | | | (This used to be commit d5165ed7a77120f42c25c4997be2630f0f1cb98c)
* | fixed file_index referenceAndrew Tridgell2008-05-161-1/+1
| | | | | | | | (This used to be commit edb4b38ed33b545d8024f45c602d3f5e4a74c511)
* | better match WSPP doc name for find flagsAndrew Tridgell2008-05-151-1/+1
|/ | | | (This used to be commit 0e4b8602dec3ec87676c91a99371e5d77fe78196)
* Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3Jelmer Vernooij2008-04-256-121/+171
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: source/Makefile source/auth/config.mk source/auth/gensec/config.mk source/build/m4/public.m4 source/build/make/python.mk source/build/make/rules.mk source/build/smb_build/header.pm source/build/smb_build/main.pl source/build/smb_build/makefile.pm source/dsdb/config.mk source/dsdb/samdb/ldb_modules/config.mk source/kdc/config.mk source/lib/events/config.mk source/lib/events/events.c source/lib/ldb/config.mk source/lib/nss_wrapper/config.mk source/lib/policy/config.mk source/lib/util/config.mk source/libcli/smb2/config.mk source/libnet/config.mk source/librpc/config.mk source/nbt_server/config.mk source/ntptr/ntptr_base.c source/ntvfs/posix/config.mk source/ntvfs/sysdep/config.mk source/param/config.mk source/rpc_server/config.mk source/rpc_server/service_rpc.c source/scripting/ejs/config.mk source/scripting/python/config.mk source/smb_server/config.mk source/smbd/server.c source/torture/config.mk source/torture/smb2/config.mk source/wrepl_server/config.mk (This used to be commit 13bbd420681519894a4036729c43273912c9b402)
| * smb_server/smb2: handle incoming oplock releasesStefan Metzmacher2008-04-191-1/+30
| | | | | | | | | | metze (This used to be commit 2306394dcc22ff2be8581256a5cf91eef4993078)
| * Flag smb messages array with AND_X and LARGE_REQUESTAmin Azez2008-04-181-10/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | If smb_messages flags show for which opcodes VWV(0) signifies chaining modes, and also which opcodes can have requests >64K then the bcc / req->in.data_size fixup in smbsrv_recv_smb_request can be more safely applied. This fix permits nttrans requests >64K to be handled. It is not yet clear if THAT is a good thing, but this fix does the current thing more nicely. (This used to be commit 8e4f16e975e192709f398c98650cbe9fe2a76261)
| * Re-order smbsrv_recv_smb_request and smb_messagesAmin Azez2008-04-181-99/+99
| | | | | | | | | | | | | | No functional change, just re-ordering so that smbsrv_recv_smb_request can refer to smb_messages in a future patch (This used to be commit d06eafea1a3e7fa61c94492cf504e6fd81da861d)
| * Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-testAndrew Tridgell2008-04-172-3/+5
| |\ | | | | | | | | | (This used to be commit 3ab9abf40605a4a6b220faeebaef81546a8d87a0)
| | * Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-testJelmer Vernooij2008-04-172-3/+7
| | |\ | | | | | | | | | | | | (This used to be commit ece878c1f9251b83598508e23ce0015b4db72f0a)
| | * | Specify event_context to ldb_wrap_connect explicitly.Jelmer Vernooij2008-04-172-3/+5
| | | | | | | | | | | | | | | | (This used to be commit b4e1ae07a284c044704322446c94351c2decff91)
| * | | fix the overflow/wrap checks in Samba4 for new gcc optimisation behaviorAndrew Tridgell2008-04-171-3/+3
| | |/ | |/| | | | | | | | | | | | | The approach I have used is as set out in https://www.securecoding.cert.org/confluence/display/seccode/ARR38-C.+Do+not+add+or+subtract+an+integer+to+a+pointer+if+the+resulting+value+does+not+refer+to+an+element+within+the+array (This used to be commit 92d5fb531db39be655f0cbd2d75b5f675a0a4cfa)
| * | make smb2 read and write size configurableAndrew Tridgell2008-04-171-3/+6
| | | | | | | | | | | | (This used to be commit 2090e75e0c28f8d2aada305059bdb455f42ed0d5)
| * | smb_server/smb2: initialize new create.in.blobs element untill it'll be ↵Stefan Metzmacher2008-04-171-0/+1
| |/ | | | | | | | | | | | | supported metze (This used to be commit fbfbd74e65b1f3e185f08a538bdd50ba7c6ce9bf)
| * Use _OBJ_FILES variables in a couple more places.Jelmer Vernooij2008-04-143-19/+25
| | | | | | | | (This used to be commit 92856d5054106894b65cd1a1b5119c0facfc4cff)
| * fill in unknown fields in SMB2 READ callAndrew Tridgell2008-04-141-3/+7
| | | | | | | | (This used to be commit 9b686c138037f613da15168d0722786e00f023e5)
* | Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3Jelmer Vernooij2008-04-085-0/+6
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: source/auth/credentials/config.mk source/auth/gensec/config.mk source/build/smb_build/makefile.pm source/heimdal_build/config.mk source/lib/events/config.mk source/lib/nss_wrapper/config.mk source/lib/policy/config.mk source/lib/registry/config.mk source/lib/socket_wrapper/config.mk source/lib/tdb/config.mk source/lib/tls/config.mk source/lib/util/config.mk source/libcli/config.mk source/libcli/ldap/config.mk source/libnet/config.mk source/librpc/config.mk source/param/config.mk source/rpc_server/config.mk source/scripting/ejs/config.mk source/smbd/process_model.mk (This used to be commit 760378e0294dd0cd4523a83448328478632d7e3d)
| * Install public header files again and include required prototypes.Jelmer Vernooij2008-04-025-0/+6
| | | | | | | | (This used to be commit 47ffbbf67435904754469544390b67d34c958343)
* | Merge v4.0-testJelmer Vernooij2008-03-281-1/+24
|\| | | | | | | (This used to be commit 977dbdeaf363c8905ed9fd0570eba4be80582833)
| * smb_server: pass down RAW_RENAME_NTTRANS to the ntvfs layerStefan Metzmacher2008-03-111-1/+24
| | | | | | | | | | metze (This used to be commit 80711c03e0e8fba6f80261facd939ef00e06c7fd)
* | Fix the build.Jelmer Vernooij2008-03-081-1/+1
| | | | | | | | (This used to be commit f2e49744717eb46bbfafeea9e2eb412a38a142e7)
* | Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3Jelmer Vernooij2008-03-073-5/+15
|\| | | | | | | (This used to be commit e4da851bd7e7620bbf99efe20a496b1be78ba4e2)
| * Use 32 bit storage for nttrans countsAmin Azez2008-03-071-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | Erroneous 16bit storage for nttrans counts meant that nttrans behaved "strangely" for sizes of over 64K As 32 bit is used in the SMB message and specified in http://us4.samba.org/samba/ftp/specs/draft-leach-cifs-v1-spec-02.txt section 3.13.2 this fix changes storage to match. Signed-off-by: Amin Azez <azez@ufomechanic.net> (This used to be commit d66b6c3823f003875e3b7cdf63617a894cceadf9)
| * ntvfs: pass down the client capabilities into the ntvfs layerStefan Metzmacher2008-03-062-0/+10
| | | | | | | | | | | | | | | | | | | | | | 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)
* | Move object file lists to the Makefile.Jelmer Vernooij2008-03-033-19/+25
|/ | | | (This used to be commit a7e6d2a1832db388fdafa1279f84c9a8bbfc87d6)
* Remove yet more global_loadparm instances.Jelmer Vernooij2008-02-211-1/+1
| | | | (This used to be commit 5de88728ac5c567d3711d1ac6862bbdaced84b75)
* Remove more global_loadparm instance.sJelmer Vernooij2008-02-211-1/+1
| | | | (This used to be commit a1280252ce924df69d911e597b7f65d8038abef9)
* More share_init to more apprioriate place.Jelmer Vernooij2008-02-211-0/+1
| | | | (This used to be commit b84f19f6783cbeaa8d04848fdc0b6f21b5e379a3)