summaryrefslogtreecommitdiffstats
path: root/source4/smb_server/smb
Commit message (Collapse)AuthorAgeFilesLines
...
* Move our DC to implement mandetory signing.Andrew Bartlett2008-09-052-4/+10
| | | | | | | | | | | | | | (this does not change the file server role, and only really changes what 'server signing = auto' means) Optional signing really isn't any benifit to network security. In doing so, allow anonymous clients (if permitted by policy) to log in without signing, as Samba3 does not sign these connections (which would use an all-zero key, so pointless). Andrew Bartlett (This used to be commit 468bf839c500ed1a26ab9a358ee64a4c0a695797)
* With a windows 2008 client, even anonymous requires signing...Andrew Bartlett2008-09-051-6/+0
| | | | | Andrew Bartlett (This used to be commit a89f9818180e8fb868975c444c4d0e5aaa8d4e79)
* initialise query_maximal_access here tooAndrew Tridgell2008-07-241-0/+1
| | | | (This used to be commit 4b3af09450cf33c6785a3d8fddddc68047f2e388)
* make sure we initialise query_maximal_accessAndrew Tridgell2008-07-241-0/+1
| | | | (This used to be commit 036f73d39a7ef882fd76afcd3c11eef483f6c308)
* smb_server/smb: handle incoming multi fragmented nttrans requestsStefan Metzmacher2008-07-071-16/+152
| | | | | metze (This used to be commit 9a5f7bf68b20e3b490b209b5cfc4408566320f2e)
* smb_server/smb: prepare multi fragmented nttrans requestsStefan Metzmacher2008-07-071-3/+3
| | | | | metze (This used to be commit 36a39b92d732a682e38ad4b3f733951fee4757ed)
* smb_server/smb: trans(2) setup count is uint8_tStefan Metzmacher2008-07-071-2/+3
| | | | | metze (This used to be commit 1b507a9b8e2ede5a4eb542bdf7a0eab9269b9f7b)
* smb_server/smb: transs and transs2 calls have different word countsStefan Metzmacher2008-07-071-1/+12
| | | | | | | Also add a note about NT_STATUS_DOS(ERRSRV, ERRerror). metze (This used to be commit 4287b7c1323796cf0688d0fae9b5bd4e840e3d48)
* 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)
* more updates for new info levelsAndrew Tridgell2008-06-021-3/+12
| | | | (This used to be commit 85d1873ee92fcc7df3addc42ddb8189144901f8b)
* make sure we send a reply packet for bad create optionsAndrew Tridgell2008-05-281-1/+2
| | | | (This used to be commit f9b94f62998aef5f5f3879ac3cfba93016fa521b)
* stricter checks for valid inputs in SMB2 open and lockAndrew Tridgell2008-05-261-0/+5
| | | | (This used to be commit a7b5689a73adde59de28770aa3949660441291ea)
* Merge commit 'origin/v4-0-test' into vfs_smb2Andrew Tridgell2008-05-191-2/+2
|\ | | | | | | (This used to be commit 733937e87a1adcc19492ea2bd138e705701901b6)
| * Fix a couple (well, little more than that..) of typos.Jelmer Vernooij2008-05-181-1/+1
| | | | | | | | (This used to be commit a6b52119940a900fb0de3864b8bca94e2965cc24)
| * Create prototype headers from Makefile directory, without smb_build in the ↵Jelmer Vernooij2008-05-181-1/+1
| | | | | | | | | | | | middle. (This used to be commit f4a77b96f9c17d853348b70794026e5b9e384942)
| * Use variables for source directory in a couple more places.Jelmer Vernooij2008-05-181-1/+1
| | | | | | | | (This used to be commit c41bd3005f5f0b9cfd3709fc9217b4a401d265b4)
* | fixed warningAndrew Tridgell2008-05-161-1/+2
|/ | | | (This used to be commit d5165ed7a77120f42c25c4997be2630f0f1cb98c)
* 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-171-2/+3
|\ | | | | | | (This used to be commit 3ab9abf40605a4a6b220faeebaef81546a8d87a0)
| * Specify event_context to ldb_wrap_connect explicitly.Jelmer Vernooij2008-04-171-2/+3
| | | | | | | | (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)
* Use _OBJ_FILES variables in a couple more places.Jelmer Vernooij2008-04-141-6/+8
| | | | (This used to be commit 92856d5054106894b65cd1a1b5119c0facfc4cff)
* Install public header files again and include required prototypes.Jelmer Vernooij2008-04-023-0/+3
| | | | (This used to be commit 47ffbbf67435904754469544390b67d34c958343)
* smb_server: pass down RAW_RENAME_NTTRANS to the ntvfs layerStefan Metzmacher2008-03-111-1/+24
| | | | | metze (This used to be commit 80711c03e0e8fba6f80261facd939ef00e06c7fd)
* 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-061-0/+6
| | | | | | | | | | | 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)
* Remove more global_loadparm instance.sJelmer Vernooij2008-02-211-1/+1
| | | | (This used to be commit a1280252ce924df69d911e597b7f65d8038abef9)
* Fix build with partial linking.Jelmer Vernooij2008-02-181-1/+0
| | | | (This used to be commit bfad9610c472e8d7e3656e19c8dbb6b85727dc13)
* Remove type before variables in data.mkJelmer Vernooij2008-02-141-1/+1
| | | | (This used to be commit 3c1a7c0dcc56ed5595e31a8df023a04ae95bfca5)
* Fixed SMB2 rename operations from Vista clientsAndrew Tridgell2008-02-141-2/+5
| | | | | | | | | | 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)
* Convert SMB and SMB2 code to use a common buffer handling structureAndrew Tridgell2008-02-147-94/+111
| | | | | | | | | | | | | | | | | | | 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)
* fixed up the .in side of SMB2 negprotAndrew Tridgell2008-02-121-0/+1
| | | | | fixed the input side of the SMB2 negprot structure and parsers according to the documentation (This used to be commit 55af8acc7b32c24e4b1187e9d8d1c8f060e914b0)
* Fix sending of large nttrans responses.Amin Azez2008-02-011-1/+1
| | | | | | req_grow_data was growing the original req, not this_req which was being used for the current fragment. (This used to be commit 2ac47f5ab670f971f41f99700dbfb3655fd6737f)
* r26639: librpc: Pass iconv convenience on from RPC connection to NDR ↵Jelmer Vernooij2008-01-011-2/+2
| | | | | | library, so it can be overridden by OpenChange. (This used to be commit 2f29f80e07adef1f020173f2cd6d947d0ef505ce)
* r26638: libndr: Require explicitly specifying iconv_convenience for ↵Jelmer Vernooij2008-01-011-1/+1
| | | | | | ndr_struct_push_blob(). (This used to be commit 61ad78ac98937ef7a9aa32075a91a1c95b7606b3)
* r26504: Don't rely on system-provided kerberos headers.Jelmer Vernooij2007-12-211-1/+1
| | | | (This used to be commit c4b1df047663519300370508761c70b0c096b7f2)
* r26430: require explicit specification of loadparm context.Jelmer Vernooij2007-12-211-1/+1
| | | | (This used to be commit 1b947fe0e6e16318e5a8127bb4932d6b5d20bcf6)
* r26429: Avoid use of global_smb_iconv_convenience.Jelmer Vernooij2007-12-212-4/+6
| | | | (This used to be commit d37136b7abfbba75ef2e5ab855eb3382b9648b8c)
* r26355: Eliminate global_loadparm in more places.Jelmer Vernooij2007-12-211-1/+1
| | | | (This used to be commit 5d589a0d94bd76a9b4c9fc748854e8098ea43c4d)
* r26353: Remove use of global_loadparm.Jelmer Vernooij2007-12-211-0/+1
| | | | (This used to be commit 17637e4490e42db6cdef619286c4d5a0982e9d1a)
* r26350: More tests.Jelmer Vernooij2007-12-211-1/+1
| | | | (This used to be commit 87799f55d5d85bf9a15a9637143faa32183b181b)
* r26316: Use contexts for conversion functions.Jelmer Vernooij2007-12-212-9/+9
| | | | (This used to be commit f6420d933b5b011d428974f3a2a57edf19e6f482)
* r26268: Avoid more use of global_loadparm - put lp_ctx in smb_server and ↵Jelmer Vernooij2007-12-214-37/+41
| | | | | | wbsrv_connection. (This used to be commit 7c008664238ed966cb82adf5b25b22157bb50730)
* r26264: pass name resolve order explicitly, use torture context for settings ↵Jelmer Vernooij2007-12-211-2/+2
| | | | | | in dssync tests. (This used to be commit c7eae1c7842f9ff8b70cce9e5d6f3ebbbe78e83b)
* r26260: Store loadparm context in gensec context.Jelmer Vernooij2007-12-212-0/+2
| | | | (This used to be commit b9e3a4862e267be39d603fed8207a237c3d72081)
* r26236: Remove more uses of global_loadparm or specify loadparm_context ↵Jelmer Vernooij2007-12-211-4/+4
| | | | | | explicitly. (This used to be commit 5b29ef7c03d9ae76b0ca909e9f03a58e1bad3521)
* r26221: Add loadparm_context parameter to auth_context_create.Jelmer Vernooij2007-12-212-0/+2
| | | | (This used to be commit a9a9634df8f3137ecb308adb90a755f12af94972)
* r25920: ndr: change NTSTAUS into enum ndr_err_code (samba4 callers)Stefan Metzmacher2007-12-211-14/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | lib/messaging/ lib/registry/ lib/ldb-samba/ librpc/rpc/ auth/auth_winbind.c auth/gensec/ auth/kerberos/ dsdb/repl/ dsdb/samdb/ dsdb/schema/ torture/ cluster/ctdb/ kdc/ ntvfs/ipc/ torture/rap/ ntvfs/ utils/getntacl.c ntptr/ smb_server/ libcli/wrepl/ wrepl_server/ libcli/cldap/ libcli/dgram/ libcli/ldap/ libcli/raw/ libcli/nbt/ libnet/ winbind/ rpc_server/ metze (This used to be commit 6223c7fddc972687eb577e04fc1c8e0604c35435)
* r25551: Convert to standard bool type.Jelmer Vernooij2007-10-107-44/+44
| | | | (This used to be commit c9651e2c5c078edee7b91085e936a93625c8d708)