summaryrefslogtreecommitdiff
path: root/source4/smb_server
AgeCommit message (Collapse)AuthorFilesLines
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)
2007-10-10r16872: when we know the data length we can preallocate the bufferStefan Metzmacher1-1/+1
and avoid a realloc metze (This used to be commit 51d59d23a1179689bda7cd1ab8cc43de31ad4f24)
2007-10-10r16871: zero padding bytesStefan Metzmacher1-0/+1
(found by valgrind) metze (This used to be commit 283bec8295b6302dfe3dc12c82d7870bdfee8b37)
2007-10-10r16870: copy over the status from the ntvfs request to the smb2 requestStefan Metzmacher1-0/+2
so that smb2srv_setup_reply() doesn't push uninitialized data (found by valgrind) metze (This used to be commit 1a1fd2747d12663ff1084a3bc85e85c74188edb7)
2007-10-10r16869: - if we know the blob length, we can preallocated the memoryStefan Metzmacher1-2/+1
and avoid a realloc in smb2_push_* - don't overwrite the first data byte metze (This used to be commit 7761a2a595720e30f2a38448761ca77077908be7)
2007-10-10r16834: split the level's of smb_search_first/smb_search_next and the levelsStefan Metzmacher3-32/+36
of smb_search_data metze (This used to be commit 78c201db8a47a71908698c4dda2add4cf85694d9)
2007-10-10r16815: split out search levels which are also used by smb2Stefan Metzmacher2-127/+148
metze (This used to be commit 3b8ecc19fac6f9d52adae86767ca153ab719d00d)
2007-10-10r16740: just say the directory is emptyStefan Metzmacher1-1/+1
metze (This used to be commit 6326bb901fa2daa358f865f77c110096a1764126)
2007-10-10r16738: vista beta2 use FILE_CLOSED as error for an invalid file handleStefan Metzmacher1-1/+1
metze (This used to be commit fa35ddcaf9bbeaa4780aa3497cdff56b02af0ab9)
2007-10-10r16735: vista beta2 reuses the tcp connect where it does theStefan Metzmacher1-15/+1
SMB negprot metze (This used to be commit 3b2936a4313abedfe2029330a8f8149372050a2a)
2007-10-10r16734: the 2 bytes after the opcode and before the flags,Stefan Metzmacher3-11/+12
is no padding... the following patch is needed for vista beta2 to connect to samba4 metze (This used to be commit 58baae8fc463cd2c4e4ce532c153ad80313b03eb)
2007-10-10r16733: implement SMB2 SetInfoStefan Metzmacher1-1/+16
metze (This used to be commit 9b6f74778f8db2fa18bb56dcbc6bd8168a882ac9)
2007-10-10r16732: use the given macrosStefan Metzmacher1-30/+5
metze (This used to be commit 6d5c74c38ca4d4a605b619cd7cbbd7e1dccd6b0c)
2007-10-10r16731: send a better error code, required for vista-beta2 clientStefan Metzmacher1-1/+1
metze (This used to be commit a251e722063486448005a95d0b44201b5f3a7620)
2007-10-10r16708: the packet format of SMB2 SessionSetup has changed,Stefan Metzmacher1-39/+8
there're 8 more unknown bytes... Note: - vista-CTP also support this as a server, but uses the old format as client - but vista-beta2 only uses and accept the new format metze (This used to be commit b3bdd4afdefc9ad3550f86a0aa6e6c90bf8ab416)
2007-10-10r16705: fix a bug found by valgrind...Stefan Metzmacher1-2/+4
as we setup the 1 padding byte for non present dynamic part, we need to overwrite it when we're getting a real dynamic part, so we need to remove the buf->size +=1 when we do the first push to the dynamic part (when buf->dynamic is still but->body + buf->body_fixed) metze (This used to be commit f309209629ad1b63a76fc06163a3eeb07dce4c86)
2007-10-10r16699: the layout of SMB2 Read and Write is identical...Stefan Metzmacher1-2/+0
so we know that the 9th bytes is just uninitialized padding metze (This used to be commit f97a21b970ed23973cced2c67b5bc9ecd7afee88)
2007-10-10r16671: allow usage of smbsrv_pull_passthru_sfileinfo() without,Stefan Metzmacher1-0/+7
a smbsrv_request given... the RENAME level is not supported in this mode, but that will be fixed later metze (This used to be commit 058c6397a4018975f62e8277b905a2566c3b2fe0)
2007-10-10r16670: try to match the vista error codes a bit moreStefan Metzmacher1-4/+24
metze (This used to be commit 1a4978118d27e978c04997869a307b793582917b)
2007-10-10r16666: implement setting of security_descriptors via SMB2 SetInfoStefan Metzmacher1-5/+43
metze (This used to be commit 6908582f68478d5f702159f6b01934ffff3a95f0)
2007-10-10r16621: split out passthru levels of setfileinfoStefan Metzmacher2-55/+102
metze (This used to be commit 6cd64cb78f23c88029b8b5ef712b3f8a26e8528f)
2007-10-10r16568: add parsing code for SMB2 SetInfoStefan Metzmacher1-1/+65
metze (This used to be commit 70cc9928437d6edab3de5a858078870f510398d0)