summaryrefslogtreecommitdiffstats
path: root/source4/smb_server
Commit message (Collapse)AuthorAgeFilesLines
...
* r24940: Fix undeclared warning.Jelmer Vernooij2007-10-101-0/+2
| | | | (This used to be commit bbc4650871c127e89c0fff88264f529c17c3c151)
* r24937: Merge tests spoolss RPC callbacks.Jelmer Vernooij2007-10-102-3/+7
| | | | (This used to be commit 9b256a0ca232ea6e89771bf73a1adf877273a752)
* r24712: No longer expose the 'BOOL' data type in any interfaces.Jelmer Vernooij2007-10-101-5/+5
| | | | (This used to be commit 1ce32673d960c8b05b6c1b1b99e1976a402417ae)
* r24494: add comment to remind me to look at the flags on a tconxStefan Metzmacher2007-10-101-0/+2
| | | | | metze (This used to be commit deefefeadfc4c5c3448ac378e1910fb75df0dc77)
* r23792: convert Samba4 to GPLv3Andrew Tridgell2007-10-1027-81/+54
| | | | | | 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)
* r23700: pre-open the sam in the parent smbd. This has the effect of loadingAndrew Tridgell2007-10-101-0/+16
| | | | | | | | the schema. That stops us loading the schema for each new connection. In future I would prefer to share a lot more of our ldb contexts with children. That will require a larger piece of surgery. (This used to be commit ff41bdc350cf05c70c63effe30fe69e63181f088)
* r23680: Make it easier to setup a domain member server - the 'server role'Andrew Bartlett2007-10-102-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)
* r23067: use 'const union smb_search_data *file' also in the server code to ↵Stefan Metzmacher2007-10-104-6/+6
| | | | | | | | | get rid of compiler warnings in the cifs backend metze (This used to be commit 34ef07b1f5acdad27edd80de8de4c6de7f879f9b)
* r23045: forward SMB2 oplock breaks to the clientStefan Metzmacher2007-10-102-3/+50
| | | | | metze (This used to be commit 577acc198b096a1e182568b6db93c2da132b647e)
* r23044: - use uint32_t for handle id'sStefan Metzmacher2007-10-103-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)
* r23043: allow more than UINT16_MAX - 1 handles on smb2 connectionsStefan Metzmacher2007-10-101-1/+4
| | | | | metze (This used to be commit 6d08c4cef22f6620cc11b712d0814772f747f466)
* r23020: a better fix for the memory leak - this one doesn't stuff up spnego :)Andrew Tridgell2007-10-103-5/+16
| | | | (This used to be commit 9a8da730a725fc9fc1a3e407273e688f44eadfe1)
* r23019: revert r23018 - this will require more thought.Andrew Tridgell2007-10-101-14/+2
| | | | (This used to be commit df60df9678e5c45fad6c7f7cb53ba8d0ce6b7cf0)
* r23018: fixed a memory leak in our server side session setup code for failedAndrew Tridgell2007-10-101-2/+14
| | | | | session setups (This used to be commit a4e043e1f8f3cf1ab86e6dde501722b8050bbde4)
* r22866: handle incoming chained smb2 requests in our server code to letStefan Metzmacher2007-10-105-30/+135
| | | | | | | the windows explorer in longhorn beta3 work. metze (This used to be commit 2390c9f24daccec917608cac0870890cdc73cb1c)
* r22843: pass smb2 lock requests to the ntvfs layerStefan Metzmacher2007-10-101-1/+32
| | | | | metze (This used to be commit 7fa00381ef4981ddb8f8816c924b7bb81628f4e6)
* r22774: correctly initialize the smbsrv_connection when switching to SMB2Stefan Metzmacher2007-10-101-0/+13
| | | | | metze (This used to be commit 0fa4eb7323d95b6b8fb0c98225aebfa0b05e685a)
* r22381: fix memory leakStefan Metzmacher2007-10-101-1/+1
| | | | | metze (This used to be commit 4bfe900d1b4bd037ce0115cf34761066f667beb6)
* r21206: - a couple more nttrans places were a memcpy() should be usedAndrew Tridgell2007-10-101-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)
* r21183: Commit the big/little endian fix for nttrans setup[] handling.Volker Lendecke2007-10-101-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)
* r20657: fix compiler warning and bug:-)Stefan Metzmacher2007-10-101-1/+1
| | | | | metze (This used to be commit ddf6c90159a99c2f70a93915839caa43afc5500b)
* r20646: first preparations for cluster enablement. This changes "Andrew Tridgell2007-10-101-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)
* r19598: Ahead of a merge to current lorikeet-heimdal:Andrew Bartlett2007-10-104-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)
* r19505: fixed a valgrind errorAndrew Tridgell2007-10-101-0/+4
| | | | (This used to be commit 8b9359aa7d7b60e0d5e36a2c736278f39dcb07bf)
* r19504: - fixed a free error in file_lines_parseAndrew Tridgell2007-10-101-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)
* r18972: we don't need this now all builds in the build farm are limited to 150Andrew Tridgell2007-10-101-12/+0
| | | | | file descriptors. We'll pretty quickly find leaks :) (This used to be commit be70992d71d7b8db64702f9be2b29aac3e463590)
* r18839: align all directory search blobs on an 8 byte boundary to keep theAndrew Tridgell2007-10-101-4/+15
| | | | | current vista release happy. (This used to be commit d3f0114a9dc8458cccfda71087668b1ddf4d380c)
* r18686: Fix typo protocl->protocolVolker Lendecke2007-10-101-1/+2
| | | | (This used to be commit 14b88fefa088b39ca1e6b7d0ef08310d233c6788)
* r18583: a nasty hack to allow me to monitor the number of open fileAndrew Tridgell2007-10-101-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)
* r18301: I discovered how to load the warnings from a build farm build intoAndrew Tridgell2007-10-102-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)
* r18211: wct is not a size, so don't use size_tAndrew Tridgell2007-10-101-1/+1
| | | | | this should fix a pile of printf format warnings (This used to be commit fe209e360e3857f39355335e4fa6a43b2db23038)
* r17930: Merge noinclude branch:Jelmer Vernooij2007-10-106-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)
* r17586: merge lib/netif into lib/socket and use -lnsl -lsocket on theStefan Metzmacher2007-10-101-1/+1
| | | | | | | | | configure check for the interfaces. should fix the build on some old sun boxes metze (This used to be commit f20e251bfd9f1eb7ce5c00739631b1625a2aa467)
* r17361: check that file handles are only accessableStefan Metzmacher2007-10-101-0/+11
| | | | | | | by the correct session in the SMB frontend server metze (This used to be commit 8a5bc18c5a3fa01848c02fdd855f35d6402866f3)
* r17360: add some commentsStefan Metzmacher2007-10-101-3/+23
| | | | | metze (This used to be commit 3d849f9d2565ebcba16653df3ce2060d3b606c50)
* r17341: pass a messaging context to auth_context_create()Stefan Metzmacher2007-10-104-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)
* r17297: Some compilers don't seem to like the ;;Andrew Bartlett2007-10-101-1/+1
| | | | | Andrew Bartlett (This used to be commit f814fae4002241f73a3a411ade96e5c58f973055)
* r17283: use the async calls of auth_check_password() and gensec_update()Stefan Metzmacher2007-10-102-245/+330
| | | | | | | in the smb server. metze (This used to be commit 216e02c69cf5914487f0000d836d1082795487b2)
* r17280: NT_STATUS_INVALID_HANDLE maps to ERRbadfid, which is wrong in thisStefan Metzmacher2007-10-101-14/+20
| | | | | | | | places, so only overwrite ERRbaduid and ERRinvnid when NTSTATUS support is given. metze (This used to be commit c70edc3fb8ef02ce12c784fad7ee9d5ac782bf98)
* r17274: fix typosStefan Metzmacher2007-10-101-2/+2
| | | | | metze (This used to be commit 699dee70aaa13bddbe8be760033aa81dd583208a)
* r17268: change the smb2 session setup to use the new ↵Stefan Metzmacher2007-10-101-61/+91
| | | | | | | gensec_update_send/recv() api metze (This used to be commit 14ecc563431335c99df33f4a454b3b02380ae165)
* r17206: Add a modular API for share configuration.Simo Sorce2007-10-105-41/+52
| | | | | Commit the classic backwards compatible module which is the default one (This used to be commit a89cc346b9296cb49929898d257a064a6c2bae86)
* r17084: implement SMB2 Cancel in the server,Stefan Metzmacher2007-10-104-11/+125
| | | | | | | | that makes it possible for clients to cancel async requests, like NOTIFY... metze (This used to be commit eaccd3c4353833daf584aaea4d7e8f11004a8072)
* r17012: don't try to send any data when the socket is gone already...Stefan Metzmacher2007-10-102-0/+19
| | | | | | | (fixes crash bugs) metze (This used to be commit b7418aec33033577de2420c70a8b94a2fb7901dd)
* r17009: set the protocol version correctStefan Metzmacher2007-10-101-0/+2
| | | | | metze (This used to be commit 24ec382560de356704bcbf6cd1ee52182231e970)
* r16989: implement SMB2 Notify in the frontendStefan Metzmacher2007-10-101-1/+75
| | | | | metze (This used to be commit 156bd4620c5b0f917a2ab6be5e6a2fdcf9403676)
* r16980: - make struct smb_notify a union and add levels ↵Stefan Metzmacher2007-10-101-16/+17
| | | | | | | | | RAW_NOTIFY_NTTRANS,RAW_NOTIFY_SMB2 - parse SMB2 Notify reponse metze (This used to be commit de50e0ccddfad16ad7b254770f4c52c1abe707b9)
* r16979: - ntcancel should compare TID,UID,MID and PIDStefan Metzmacher2007-10-101-3/+10
| | | | | | | | - don't return ntcancel error, as we don't know how signing works for them metze (This used to be commit 20311e58d512e9fcc38ce786aaecf7246d182ca4)
* r16950: remove the smb mid from the ntvfs layer and keep a list of pendingStefan Metzmacher2007-10-106-19/+44
| | | | | | | | requests on the smbsrv_connection, to be able to match then on ntcancel metze (This used to be commit 04f0d3d03179b6060fd013b867d13caa92ec6460)
* r16923: remove unused substitude codeStefan Metzmacher2007-10-102-30/+0
| | | | | metze (This used to be commit ea88c8c99eff2203d13f9877e590d9d7f2fbb910)