summaryrefslogtreecommitdiffstats
path: root/source4/smb_server
Commit message (Collapse)AuthorAgeFilesLines
* 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)
* r16918: the SMB2 Ioctls are sometimes called with a wildcard handleStefan Metzmacher2007-10-101-4/+19
| | | | | | | the operation doesn't need a valid file handle in that case metze (This used to be commit d41a83d55945b07020349339888f3a34ac4eff4e)
* r16913: better return the same values as vista beta2Stefan Metzmacher2007-10-101-2/+16
| | | | | metze (This used to be commit ae9c007324b04a81fd367e4e72f50275df137d46)
* r16912: I messed up the numbers for ipc and print shares...Stefan Metzmacher2007-10-101-2/+2
| | | | | | | | This caused vista beta2 to not do any rpc calls against samba4 metze (This used to be commit b42d918d56387a4d5dd27cc4dfc187990195d9c3)
* r16911: the TID is only 32 bits...don't overwrite parts of the UID fieldStefan Metzmacher2007-10-101-1/+1
| | | | | metze (This used to be commit 7db393e5ea15dd363f83dcf5eb299f2806971f97)
* r16910: - don't search the wildcard handleStefan Metzmacher2007-10-101-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)
* r16889: implement SMB2 Ioctl in the frontendStefan Metzmacher2007-10-101-1/+38
| | | | | metze (This used to be commit 90b0ae53e40a220249b55035411e6b60ee04de7c)
* r16875: implement SMB2 Find in the frontendStefan Metzmacher2007-10-103-5/+168
| | | | | metze (This used to be commit 58bed7322c7e552d0462a11ce5d46a282c31f8f7)
* r16872: when we know the data length we can preallocate the bufferStefan Metzmacher2007-10-101-1/+1
| | | | | | | and avoid a realloc metze (This used to be commit 51d59d23a1179689bda7cd1ab8cc43de31ad4f24)
* r16871: zero padding bytesStefan Metzmacher2007-10-101-0/+1
| | | | | | | (found by valgrind) metze (This used to be commit 283bec8295b6302dfe3dc12c82d7870bdfee8b37)
* r16870: copy over the status from the ntvfs request to the smb2 requestStefan Metzmacher2007-10-101-0/+2
| | | | | | | | so that smb2srv_setup_reply() doesn't push uninitialized data (found by valgrind) metze (This used to be commit 1a1fd2747d12663ff1084a3bc85e85c74188edb7)
* r16869: - if we know the blob length, we can preallocated the memoryStefan Metzmacher2007-10-101-2/+1
| | | | | | | | and avoid a realloc in smb2_push_* - don't overwrite the first data byte metze (This used to be commit 7761a2a595720e30f2a38448761ca77077908be7)
* r16834: split the level's of smb_search_first/smb_search_next and the levelsStefan Metzmacher2007-10-103-32/+36
| | | | | | | of smb_search_data metze (This used to be commit 78c201db8a47a71908698c4dda2add4cf85694d9)
* r16815: split out search levels which are also used by smb2Stefan Metzmacher2007-10-102-127/+148
| | | | | metze (This used to be commit 3b8ecc19fac6f9d52adae86767ca153ab719d00d)
* r16740: just say the directory is emptyStefan Metzmacher2007-10-101-1/+1
| | | | | metze (This used to be commit 6326bb901fa2daa358f865f77c110096a1764126)
* r16738: vista beta2 use FILE_CLOSED as error for an invalid file handleStefan Metzmacher2007-10-101-1/+1
| | | | | metze (This used to be commit fa35ddcaf9bbeaa4780aa3497cdff56b02af0ab9)
* r16735: vista beta2 reuses the tcp connect where it does theStefan Metzmacher2007-10-101-15/+1
| | | | | | | SMB negprot metze (This used to be commit 3b2936a4313abedfe2029330a8f8149372050a2a)
* r16734: the 2 bytes after the opcode and before the flags,Stefan Metzmacher2007-10-103-11/+12
| | | | | | | | | is no padding... the following patch is needed for vista beta2 to connect to samba4 metze (This used to be commit 58baae8fc463cd2c4e4ce532c153ad80313b03eb)
* r16733: implement SMB2 SetInfoStefan Metzmacher2007-10-101-1/+16
| | | | | metze (This used to be commit 9b6f74778f8db2fa18bb56dcbc6bd8168a882ac9)