summaryrefslogtreecommitdiff
path: root/source4/smb_server
AgeCommit message (Collapse)AuthorFilesLines
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)
2007-10-10r16520: move smb2srv_break_recv back to fileio.cStefan Metzmacher2-5/+5
metze (This used to be commit cdee9b2168da47a38da769eb2b4f403bc4699dfe)
2007-10-10r16467: implement SMB2 GetInfo server codeStefan Metzmacher1-7/+166
metze (This used to be commit 49b5b3cd58c41b67adfbb77b4244989fba6bcd2e)
2007-10-10r16466: for SMB2_ALL_EAS it's not valid for the ntvfs backends to returnStefan Metzmacher1-0/+9
0 eas, they should return an error: NO_EAS_ON_FILE or NO_MORE_EAS metze (This used to be commit fdefec1de99273978345d4a183a9660bd741e045)
2007-10-10r16464: split client and server min/max protocol settingsStefan Metzmacher2-3/+3
metze (This used to be commit 6164d1e22e0545f558315591d49f862de06ea945)
2007-10-10r16457: fix typoStefan Metzmacher1-1/+1
metze (This used to be commit 049ddc8a96da7a8fb0bbf1ef652c1963e9103d9b)
2007-10-10r16456: return on error...Stefan Metzmacher1-0/+2
metze (This used to be commit 44ab067d146503bd1cc008cf01c08b91fb14b204)
2007-10-10r16450: fix the build...Stefan Metzmacher1-0/+2
metze (This used to be commit 316f3312d228a8c29185bf38c93c7f3aa1c6333e)
2007-10-10r16449: move some code to a generic placeStefan Metzmacher3-513/+543
metze (This used to be commit 77a711c54ae7543a26f0ace1f189d6ed580c48d9)
2007-10-10r16448: add more error checksStefan Metzmacher1-53/+47
metze (This used to be commit d6d86c65bf1835061713e0d8f2450e38455a3e1d)
2007-10-10r16444: - split out qfsinfo passthru levelsStefan Metzmacher1-85/+83
- use 1 to 1 mapping of interface and wire levels metze (This used to be commit e7d339d49669e72588461584b66ef9b19eb0a2f8)
2007-10-10r16443: add push code for SMB2 levelsStefan Metzmacher1-0/+36
metze (This used to be commit 142680ab9b4ca04ea94ed40659358e1158f88c7a)
2007-10-10r16440: split out passthru level into a new functions,Stefan Metzmacher1-71/+116
so they can we reused for smb2 later metze (This used to be commit 42324c1f63e2f16b27c43bf17b434c644244b931)
2007-10-10r16410: remove some warnings of talloc_steal() usage without targetStefan Metzmacher2-2/+2
I only commit this as this is used in a global macro tridge: we should try to get rid of this warning without using (void)talloc_steal(ctx, ptr); everywhere!!! metze (This used to be commit 3f8ce6d680b0c86abc698b8f9c6d8840da3ffd35)
2007-10-10r16407: add parsing code the SMB2 GetInfo in the serverStefan Metzmacher3-15/+78
metze (This used to be commit c4755c83c61c0cc822c69cd274056ec20ba66fdb)
2007-10-10r16403: remove dependency to smbsrv_request next part...Stefan Metzmacher1-21/+27
metze (This used to be commit 708a5d3bf08f62ba99740c3007a8882e22a01bc9)
2007-10-10r16402: start to remove the dependecy to smbsrv_request from the parsing ↵Stefan Metzmacher1-57/+77
functions metze (This used to be commit e4a5e2db7f3333e7cb15bdd6eeb5b08a6f1d912f)
2007-10-10r16401: keep the old pointer when realloc fails, this is needed for theStefan Metzmacher1-2/+4
search callback metze (This used to be commit c868b8b7d7ee0424ed955f699543593aaa633e92)
2007-10-10r16400: add more error checksStefan Metzmacher1-47/+55
metze (This used to be commit 779c51ad52bd54c10e208b108cb34500e542097f)
2007-10-10r16399: - split out pushing smb_fsinfo into a DATA_BLOBStefan Metzmacher1-67/+76
- add error checks metze (This used to be commit 2aaca1631f4e9f312a8de506b21290b9452c2a43)
2007-10-10r16357: - start get rid of void parsing functionsStefan Metzmacher1-223/+233
- there will more changes come but I want to do them in relative small chunks metze (This used to be commit d021a8b3ee986194fbfddfc096edb715b01dafe5)
2007-10-10r16023: we don't need a global variable here...Stefan Metzmacher1-1/+1
noticed by the Mac OS 10 linker metze (This used to be commit 5928112cbc004f59660c8131abccc0f4933c2da3)
2007-10-10r15855: more talloc_set_destructor() typesafe fixes. nearly done ...Andrew Tridgell3-7/+4
(This used to be commit 396d82a231b6e3a91178db08b706626d4d4b420c)
2007-10-10r15827: fixed a spelling errorAndrew Tridgell1-1/+1
(This used to be commit 801357af2ef80fe270750c084a78142711ae9e6c)
2007-10-10r15803: the SMB2 server gives NT_STATUS_NOT_FOUND instead of ↵Stefan Metzmacher1-1/+1
NT_STATUS_INVALID_HANDLE metze (This used to be commit aa98aad0975e59fc8cf56c624f728b33ab54e099)
2007-10-10r15802: merge tridge's fix to the SMB2 serverStefan Metzmacher1-4/+1
metze (This used to be commit 2ea15e9d28bca358989a565576ea7e8d9462e924)
2007-10-10r15799: fixed the problem with BASE-DISCONNECT after the recent memory leakAndrew Tridgell1-0/+1
was fixed (This used to be commit 09a9c7fdff8f3cc8d2a98228cede4f8af41a08eb)
2007-10-10r15796: this talloc_reference() was causing a memory leak on every NTVFSAndrew Tridgell1-4/+0
request. The problem is that the talloc_free() in smbsrv_send_reply_nosign() frees this reference, but doesn't free the memory iself, thus leaving it attached to the connection context. Metze, what was the idea behind this reference? If we need it, then we need a corresponding talloc_free() to go with it. (This used to be commit 2e105a32c78384b16a0e6a6dc8ff504593afef2e)
2007-10-10r15771: this should be a o32s32 blobStefan Metzmacher1-1/+1
metze (This used to be commit fdfa6dcc97b6f7d61159497df2e214163d308649)
2007-10-10r15770: when there's a dynamic body, we need to send the first byte even if theStefan Metzmacher1-0/+1
dynamic size if 0 metze (This used to be commit c7e8e79d75fd53fa37e9220e5bc9cac7ab574ff6)
2007-10-10r15769: this functions belong to params/ so move it.Stefan Metzmacher3-20/+2
metze (This used to be commit 9c4c40772bfd8a8324cd086c2234451d164be5d0)
2007-10-10r15760: - add RAW_READ_SMB2 => generic mappingStefan Metzmacher1-1/+39
- Implement SMB2 Read metze (This used to be commit d0ac0c5af44ba5aa8b18106c2ac26c0d194e59b4)
2007-10-10r15758: - handle RAW_FLUSH_SMB2 in the posix ntvfs backendStefan Metzmacher1-1/+27
- Implement SMB2 Flush metze (This used to be commit 41d87ebe355cd34d35a93d1e90cd2680363cb5d3)
2007-10-10r15757: - add RAW_WRITE_SMB2 => generic mappingStefan Metzmacher1-1/+32
- implement SMB2 Write metze (This used to be commit 5ab6f304f8b91c0362fd57429cc24126b241bd51)
2007-10-10r15754: - implement SMB2 CloseStefan Metzmacher1-1/+34
- add RAW_CLOSE_SMB2 generic mapping metze (This used to be commit 41bc3cfc822bfc2fe4413f93a180fc4507005282)
2007-10-10r15753: implement SMB2 CreateStefan Metzmacher2-1/+150
metze (This used to be commit 65b67a8af6b661fe6eeabf45563c6aba12a6660a)
2007-10-10r15751: thanks to talloc_get_type() I noticed that I used smbsrv_request in ↵Stefan Metzmacher3-13/+22
the smb2srv code metze (This used to be commit 6c304a1a5f5dc6b2d3774682303874444a59b07d)
2007-10-10r15749: - pass in a dummy oplock callbackStefan Metzmacher1-4/+118
- pass in SMB2 ntvfs_handle callbacks metze (This used to be commit 338aee88d4ba3b25b473a456e55dd7ff5c1a4c5d)
2007-10-10r15748: - implement SMB2 TreeConnect server codeStefan Metzmacher1-5/+105
TODO: pass in oplock and handle callbacks, but as we don't do file access yet, it's no problem to skip them metze (This used to be commit 4ae4a742fc2e40b2937d9ce01f2e45f43f7ff1c3)