summaryrefslogtreecommitdiff
path: root/source4/smb_server
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r23067: use 'const union smb_search_data *file' also in the server code to ↵Stefan Metzmacher4-6/+6
get rid of compiler warnings in the cifs backend metze (This used to be commit 34ef07b1f5acdad27edd80de8de4c6de7f879f9b)
2007-10-10r23045: forward SMB2 oplock breaks to the clientStefan Metzmacher2-3/+50
metze (This used to be commit 577acc198b096a1e182568b6db93c2da132b647e)
2007-10-10r23044: - use uint32_t for handle id'sStefan Metzmacher3-19/+26
- include the session vuid in the SMB2 128-Bit wire handles as SMB2 oplock breaks doesn't include a TID or VUID in the header we need to make sure the handle is unique for the whole TCP connection metze (This used to be commit 7c29b8a7e67c48478399788912b22c287fbd3b4e)
2007-10-10r23043: allow more than UINT16_MAX - 1 handles on smb2 connectionsStefan Metzmacher1-1/+4
metze (This used to be commit 6d08c4cef22f6620cc11b712d0814772f747f466)
2007-10-10r23020: a better fix for the memory leak - this one doesn't stuff up spnego :)Andrew Tridgell3-5/+16
(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-10r22866: handle incoming chained smb2 requests in our server code to letStefan Metzmacher5-30/+135
the windows explorer in longhorn beta3 work. metze (This used to be commit 2390c9f24daccec917608cac0870890cdc73cb1c)
2007-10-10r22843: pass smb2 lock requests to the ntvfs layerStefan Metzmacher1-1/+32
metze (This used to be commit 7fa00381ef4981ddb8f8816c924b7bb81628f4e6)
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 Bartlett4-1/+8
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-10r18839: align all directory search blobs on an 8 byte boundary to keep theAndrew Tridgell1-4/+15
current vista release happy. (This used to be commit d3f0114a9dc8458cccfda71087668b1ddf4d380c)
2007-10-10r18686: Fix typo protocl->protocolVolker Lendecke1-1/+2
(This used to be commit 14b88fefa088b39ca1e6b7d0ef08310d233c6788)
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 Tridgell2-3/+4
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-10r18211: wct is not a size, so don't use size_tAndrew Tridgell1-1/+1
this should fix a pile of printf format warnings (This used to be commit fe209e360e3857f39355335e4fa6a43b2db23038)
2007-10-10r17930: Merge noinclude branch:Jelmer Vernooij6-6/+6
* 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-10r17586: merge lib/netif into lib/socket and use -lnsl -lsocket on theStefan Metzmacher1-1/+1
configure check for the interfaces. should fix the build on some old sun boxes metze (This used to be commit f20e251bfd9f1eb7ce5c00739631b1625a2aa467)
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-10r17360: add some commentsStefan Metzmacher1-3/+23
metze (This used to be commit 3d849f9d2565ebcba16653df3ce2060d3b606c50)
2007-10-10r17341: pass a messaging context to auth_context_create()Stefan Metzmacher4-14/+24
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-10r17297: Some compilers don't seem to like the ;;Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit f814fae4002241f73a3a411ade96e5c58f973055)
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-10r17268: change the smb2 session setup to use the new ↵Stefan Metzmacher1-61/+91
gensec_update_send/recv() api metze (This used to be commit 14ecc563431335c99df33f4a454b3b02380ae165)
2007-10-10r17206: Add a modular API for share configuration.Simo Sorce5-41/+52
Commit the classic backwards compatible module which is the default one (This used to be commit a89cc346b9296cb49929898d257a064a6c2bae86)
2007-10-10r17084: implement SMB2 Cancel in the server,Stefan Metzmacher4-11/+125
that makes it possible for clients to cancel async requests, like NOTIFY... metze (This used to be commit eaccd3c4353833daf584aaea4d7e8f11004a8072)
2007-10-10r17012: don't try to send any data when the socket is gone already...Stefan Metzmacher2-0/+19
(fixes crash bugs) metze (This used to be commit b7418aec33033577de2420c70a8b94a2fb7901dd)
2007-10-10r17009: set the protocol version correctStefan Metzmacher1-0/+2
metze (This used to be commit 24ec382560de356704bcbf6cd1ee52182231e970)
2007-10-10r16989: implement SMB2 Notify in the frontendStefan Metzmacher1-1/+75
metze (This used to be commit 156bd4620c5b0f917a2ab6be5e6a2fdcf9403676)
2007-10-10r16980: - make struct smb_notify a union and add levels ↵Stefan Metzmacher1-16/+17
RAW_NOTIFY_NTTRANS,RAW_NOTIFY_SMB2 - parse SMB2 Notify reponse metze (This used to be commit de50e0ccddfad16ad7b254770f4c52c1abe707b9)
2007-10-10r16979: - ntcancel should compare TID,UID,MID and PIDStefan Metzmacher1-3/+10
- don't return ntcancel error, as we don't know how signing works for them metze (This used to be commit 20311e58d512e9fcc38ce786aaecf7246d182ca4)
2007-10-10r16950: remove the smb mid from the ntvfs layer and keep a list of pendingStefan Metzmacher6-19/+44
requests on the smbsrv_connection, to be able to match then on ntcancel metze (This used to be commit 04f0d3d03179b6060fd013b867d13caa92ec6460)
2007-10-10r16923: remove unused substitude codeStefan Metzmacher2-30/+0
metze (This used to be commit ea88c8c99eff2203d13f9877e590d9d7f2fbb910)
2007-10-10r16918: the SMB2 Ioctls are sometimes called with a wildcard handleStefan Metzmacher1-4/+19
the operation doesn't need a valid file handle in that case metze (This used to be commit d41a83d55945b07020349339888f3a34ac4eff4e)
2007-10-10r16913: better return the same values as vista beta2Stefan Metzmacher1-2/+16
metze (This used to be commit ae9c007324b04a81fd367e4e72f50275df137d46)
2007-10-10r16912: I messed up the numbers for ipc and print shares...Stefan Metzmacher1-2/+2
This caused vista beta2 to not do any rpc calls against samba4 metze (This used to be commit b42d918d56387a4d5dd27cc4dfc187990195d9c3)
2007-10-10r16911: the TID is only 32 bits...don't overwrite parts of the UID fieldStefan Metzmacher1-1/+1
metze (This used to be commit 7db393e5ea15dd363f83dcf5eb299f2806971f97)
2007-10-10r16910: - don't search the wildcard handleStefan Metzmacher1-0/+8
(a handle with all bits set to 1 is justed for some SMB2 Ioctl calls...) - don't crash if we didn't find the tcon metze (This used to be commit 27087818c7e8cbaadbcd640fe3b0ffc1c3455b04)
2007-10-10r16889: implement SMB2 Ioctl in the frontendStefan Metzmacher1-1/+38
metze (This used to be commit 90b0ae53e40a220249b55035411e6b60ee04de7c)
2007-10-10r16875: implement SMB2 Find in the frontendStefan Metzmacher3-5/+168
metze (This used to be commit 58bed7322c7e552d0462a11ce5d46a282c31f8f7)