summaryrefslogtreecommitdiff
path: root/source4/smb_server/smb
AgeCommit message (Collapse)AuthorFilesLines
2008-02-14Remove type before variables in data.mkJelmer Vernooij1-1/+1
(This used to be commit 3c1a7c0dcc56ed5595e31a8df023a04ae95bfca5)
2008-02-14Fixed SMB2 rename operations from Vista clientsAndrew Tridgell1-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)
2008-02-14Convert SMB and SMB2 code to use a common buffer handling structureAndrew Tridgell7-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)
2008-02-12fixed up the .in side of SMB2 negprotAndrew Tridgell1-0/+1
fixed the input side of the SMB2 negprot structure and parsers according to the documentation (This used to be commit 55af8acc7b32c24e4b1187e9d8d1c8f060e914b0)
2008-02-01Fix sending of large nttrans responses.Amin Azez1-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)
2008-01-01r26639: librpc: Pass iconv convenience on from RPC connection to NDR ↵Jelmer Vernooij1-2/+2
library, so it can be overridden by OpenChange. (This used to be commit 2f29f80e07adef1f020173f2cd6d947d0ef505ce)
2008-01-01r26638: libndr: Require explicitly specifying iconv_convenience for ↵Jelmer Vernooij1-1/+1
ndr_struct_push_blob(). (This used to be commit 61ad78ac98937ef7a9aa32075a91a1c95b7606b3)
2007-12-21r26504: Don't rely on system-provided kerberos headers.Jelmer Vernooij1-1/+1
(This used to be commit c4b1df047663519300370508761c70b0c096b7f2)
2007-12-21r26430: require explicit specification of loadparm context.Jelmer Vernooij1-1/+1
(This used to be commit 1b947fe0e6e16318e5a8127bb4932d6b5d20bcf6)
2007-12-21r26429: Avoid use of global_smb_iconv_convenience.Jelmer Vernooij2-4/+6
(This used to be commit d37136b7abfbba75ef2e5ab855eb3382b9648b8c)
2007-12-21r26355: Eliminate global_loadparm in more places.Jelmer Vernooij1-1/+1
(This used to be commit 5d589a0d94bd76a9b4c9fc748854e8098ea43c4d)
2007-12-21r26353: Remove use of global_loadparm.Jelmer Vernooij1-0/+1
(This used to be commit 17637e4490e42db6cdef619286c4d5a0982e9d1a)
2007-12-21r26350: More tests.Jelmer Vernooij1-1/+1
(This used to be commit 87799f55d5d85bf9a15a9637143faa32183b181b)
2007-12-21r26316: Use contexts for conversion functions.Jelmer Vernooij2-9/+9
(This used to be commit f6420d933b5b011d428974f3a2a57edf19e6f482)
2007-12-21r26268: Avoid more use of global_loadparm - put lp_ctx in smb_server and ↵Jelmer Vernooij4-37/+41
wbsrv_connection. (This used to be commit 7c008664238ed966cb82adf5b25b22157bb50730)
2007-12-21r26264: pass name resolve order explicitly, use torture context for settings ↵Jelmer Vernooij1-2/+2
in dssync tests. (This used to be commit c7eae1c7842f9ff8b70cce9e5d6f3ebbbe78e83b)
2007-12-21r26260: Store loadparm context in gensec context.Jelmer Vernooij2-0/+2
(This used to be commit b9e3a4862e267be39d603fed8207a237c3d72081)
2007-12-21r26236: Remove more uses of global_loadparm or specify loadparm_context ↵Jelmer Vernooij1-4/+4
explicitly. (This used to be commit 5b29ef7c03d9ae76b0ca909e9f03a58e1bad3521)
2007-12-21r26221: Add loadparm_context parameter to auth_context_create.Jelmer Vernooij2-0/+2
(This used to be commit a9a9634df8f3137ecb308adb90a755f12af94972)
2007-12-21r25920: ndr: change NTSTAUS into enum ndr_err_code (samba4 callers)Stefan Metzmacher1-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)
2007-10-10r25551: Convert to standard bool type.Jelmer Vernooij7-44/+44
(This used to be commit c9651e2c5c078edee7b91085e936a93625c8d708)
2007-10-10r25446: Merge some changes I made on the way home from SFO:Jelmer Vernooij1-1/+1
2007-09-29 More higher-level passing around of lp_ctx. 2007-09-29 Fix warning. 2007-09-29 Pass loadparm contexts on a higher level. 2007-09-29 Avoid using global loadparm context. (This used to be commit 3468952e771ab31f90b6c374ade01c5550810f42)
2007-10-10r25398: Parse loadparm context to all lp_*() functions.Jelmer Vernooij5-33/+35
(This used to be commit 3fcc960839c6e5ca4de2c3c042f12f369ac5f238)
2007-10-10r25026: Move param/param.h out of includes.hJelmer Vernooij5-0/+6
(This used to be commit abe8349f9b4387961ff3665d8c589d61cd2edf31)
2007-10-10r24494: add comment to remind me to look at the flags on a tconxStefan Metzmacher1-0/+2
metze (This used to be commit deefefeadfc4c5c3448ac378e1910fb75df0dc77)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell11-33/+22
There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10r23680: Make it easier to setup a domain member server - the 'server role'Andrew Bartlett2-2/+2
will now control the auth methods, but an override is still available, ex: auth methods:domain controller = <methods> Andrew Bartlett (This used to be commit b7e727186ed8eda6a68c873e089f655dc24fe8ae)
2007-10-10r23067: use 'const union smb_search_data *file' also in the server code to ↵Stefan Metzmacher2-4/+4
get rid of compiler warnings in the cifs backend metze (This used to be commit 34ef07b1f5acdad27edd80de8de4c6de7f879f9b)
2007-10-10r23020: a better fix for the memory leak - this one doesn't stuff up spnego :)Andrew Tridgell1-3/+9
(This used to be commit 9a8da730a725fc9fc1a3e407273e688f44eadfe1)
2007-10-10r23019: revert r23018 - this will require more thought.Andrew Tridgell1-14/+2
(This used to be commit df60df9678e5c45fad6c7f7cb53ba8d0ce6b7cf0)
2007-10-10r23018: fixed a memory leak in our server side session setup code for failedAndrew Tridgell1-2/+14
session setups (This used to be commit a4e043e1f8f3cf1ab86e6dde501722b8050bbde4)
2007-10-10r22774: correctly initialize the smbsrv_connection when switching to SMB2Stefan Metzmacher1-0/+13
metze (This used to be commit 0fa4eb7323d95b6b8fb0c98225aebfa0b05e685a)
2007-10-10r22381: fix memory leakStefan Metzmacher1-1/+1
metze (This used to be commit 4bfe900d1b4bd037ce0115cf34761066f667beb6)
2007-10-10r21206: - a couple more nttrans places were a memcpy() should be usedAndrew Tridgell1-8/+4
- changed the setup array in nttrans to be a uint8 array, instead of a uint16 array. This makes it clearer that it is the job of the caller to do any byte swapping within that data (This used to be commit fa3c9b29ae1c7c6a9bc97484cc386aeec9b5d266)
2007-10-10r21183: Commit the big/little endian fix for nttrans setup[] handling.Volker Lendecke1-4/+3
Please check! For code symmetry reasons, trans2 might also see this fix, but this is left to the interested reader :-) Volker (This used to be commit f2d364ebe69fc5d624e456cc7d941071811a5567)
2007-10-10r20657: fix compiler warning and bug:-)Stefan Metzmacher1-1/+1
metze (This used to be commit ddf6c90159a99c2f70a93915839caa43afc5500b)
2007-10-10r20646: first preparations for cluster enablement. This changes "Andrew Tridgell1-3/+3
uint32_t server_id to struct server_id server_id; which allows a server ID to have an node number. The node number will be zero in non-clustered case. This is the most basic hook needed for clustering, and ctdb. (This used to be commit 2365abaa991d57d68c6ebe9be608e01c907102eb)
2007-10-10r19598: Ahead of a merge to current lorikeet-heimdal:Andrew Bartlett2-0/+4
Break up auth/auth.h not to include the world. Add credentials_krb5.h with the kerberos dependent prototypes. Andrew Bartlett (This used to be commit 2b569c42e0fbb596ea82484d0e1cb22e193037b9)
2007-10-10r19505: fixed a valgrind errorAndrew Tridgell1-0/+4
(This used to be commit 8b9359aa7d7b60e0d5e36a2c736278f39dcb07bf)
2007-10-10r19504: - fixed a free error in file_lines_parseAndrew Tridgell1-2/+6
- added a function to test for large file support - enable CAP_LARGE_FILES only if the test passes - don't test at large offsets if the server doesn't set CAP_LARGE_FILES (This used to be commit c5423ea22bdaa055807d4e6f7ac4be934194fe45)
2007-10-10r18972: we don't need this now all builds in the build farm are limited to 150Andrew Tridgell1-12/+0
file descriptors. We'll pretty quickly find leaks :) (This used to be commit be70992d71d7b8db64702f9be2b29aac3e463590)
2007-10-10r18583: a nasty hack to allow me to monitor the number of open fileAndrew Tridgell1-0/+13
descriptors in smbd on all build farm machines. I suspect we have a fd leak somewhere, but its hard to track down. I know part of the problem is the number of (fake) network interfaces we define in the build farm tests, with each of them listening on a whole bunch of different protocol ports. That chews up around 48 file descriptors just to startup. I don't think thats the real problem though, and I suspect something else is leaking file descriptors on some hosts. (This used to be commit 83bf458ec98d9f2a21b3748802f41abcbcc1e0b2)
2007-10-10r18301: I discovered how to load the warnings from a build farm build intoAndrew Tridgell1-1/+2
emacs compile mode (hint, paste to a file, and compile as "cat filename"). This allowed me to fix nearly all the warnings for a IA_64 SuSE build very quickly. (This used to be commit eba6c84efff735bb0ca941ac4b755ce2b0591667)
2007-10-10r17930: Merge noinclude branch:Jelmer Vernooij1-1/+1
* Move dlinklist.h, smb.h to subsystem-specific directories * Clean up ads.h and move what is left of it to dsdb/ (only place where it's used) (This used to be commit f7afa1cb77f3cfa7020b57de12e6003db7cfcc42)
2007-10-10r17361: check that file handles are only accessableStefan Metzmacher1-0/+11
by the correct session in the SMB frontend server metze (This used to be commit 8a5bc18c5a3fa01848c02fdd855f35d6402866f3)
2007-10-10r17341: pass a messaging context to auth_context_create()Stefan Metzmacher2-10/+16
and gensec_server_start(). calling them with NULL for event context or messaging context is no longer allowed! metze (This used to be commit 679ac74e71b111344f1097ab389c0b83a9247710)
2007-10-10r17283: use the async calls of auth_check_password() and gensec_update()Stefan Metzmacher2-245/+330
in the smb server. metze (This used to be commit 216e02c69cf5914487f0000d836d1082795487b2)
2007-10-10r17280: NT_STATUS_INVALID_HANDLE maps to ERRbadfid, which is wrong in thisStefan Metzmacher1-14/+20
places, so only overwrite ERRbaduid and ERRinvnid when NTSTATUS support is given. metze (This used to be commit c70edc3fb8ef02ce12c784fad7ee9d5ac782bf98)
2007-10-10r17274: fix typosStefan Metzmacher1-2/+2
metze (This used to be commit 699dee70aaa13bddbe8be760033aa81dd583208a)
2007-10-10r17206: Add a modular API for share configuration.Simo Sorce1-28/+29
Commit the classic backwards compatible module which is the default one (This used to be commit a89cc346b9296cb49929898d257a064a6c2bae86)