summaryrefslogtreecommitdiff
path: root/source4/smb_server
AgeCommit message (Collapse)AuthorFilesLines
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)
2007-10-10r15747: move some functions to the protocol independend part of theStefan Metzmacher2-42/+34
smb server metze (This used to be commit 79af05551fe5f7b364c9f515ba4db54dd72907f8)
2007-10-10r15746: - reorder elements of smb2srv_requestStefan Metzmacher1-7/+15
- move SMB2 specific elements to the end metze (This used to be commit 7d2087bd1b5036f79e205d6e17f2bca78576299e)
2007-10-10r15745: - reorder the elements of smbsrv_requestStefan Metzmacher1-10/+12
- move the SMB specific elements to the end metze (This used to be commit 0be887c7c6d318cb2990610f353e75b5f6d98c0c)
2007-10-10r15743: use union smb_tconStefan Metzmacher1-16/+17
metze (This used to be commit 012a08cfb9d550a47bed49b18335a038ae19605c)
2007-10-10r15742: use union smb_sessetupStefan Metzmacher1-18/+19
metze (This used to be commit de7e856a464c1c986be3687a7b97527b734240ce)
2007-10-10r15741: move smb2 request structures into the main smb request structsStefan Metzmacher2-0/+4
as new levels metze (This used to be commit 91806353174704857dfcc15a730af7232cfde660)
2007-10-10r15739: return False when the function is called with an invalid levelStefan Metzmacher1-1/+1
metze (This used to be commit fc20e4154a6a8d67d06f7abbd48059a4618fc21c)
2007-10-10r15734: This is a major change to the NTVFS subsystem:Stefan Metzmacher10-105/+522
- to use a struct ntvfs_handle instead of a uint16_t fnum. (to make it independend from the frontend protocol) - the allocation of handles now is provided by the frontend (smbsrv_*) via callbacks and not by each backend module - this also makes sure that file handles are only passed to the ntvfs subsystem when the tcon and session matches, so modules can rely on this and need to check this. - this allows multiple modules in the ntvfs module chain to allocate file handles. This can be used for virtual files like "\\$Extend\\$Quota:$Q:$INDEX_ALLOCATION"... - also this will make SMB2 with 128 bit file handles possible metze (This used to be commit 287fc1c22d670f6e568014b420f7f4cb31dc7958)
2007-10-10r15718: - split the SMBflush with the 0xFFFF wildcard fnum into a different ↵Stefan Metzmacher1-1/+9
level metze (This used to be commit 95bf41b4d4ec96349802955e364fe44ef85f9077)
2007-10-10r15715: add my copyrightStefan Metzmacher1-1/+2
metze (This used to be commit a3799771c830a6ae952b0d9b45b8a01f7a6bf9c6)
2007-10-10r15714: fix async handling of ntioctl calls and push the DATA_BLOB into the ↵Stefan Metzmacher1-22/+32
reply metze (This used to be commit 0ac9a49f42719914e63758ea4e53cab65dcdd317)
2007-10-10r15711: - make use of nttrans_setup_reply()Stefan Metzmacher1-14/+9
metze (This used to be commit a870c084f6a97fc4f165510e9d447d97f0ee328f)
2007-10-10r15710: - we no longer need to set the nttrans out fields to zeroStefan Metzmacher1-11/+5
in the backends - some whitespace cleanups metze (This used to be commit 6a0c24c73e1060824576d60459d4636848f2173a)
2007-10-10r15709: - return an error is better than ignoring a non supported requestStefan Metzmacher1-0/+2
- zero nttrans output fields before calling the backends metze (This used to be commit b21d98a87590b00c63ccc47b71518f1714ecb29d)
2007-10-10r15708: setup count is 8bit and param_count and data_count are 32bitStefan Metzmacher1-2/+2
metze (This used to be commit 6bc89b422ccdfca6d383b8474452d57b55dfaed6)
2007-10-10r15656: for NT IOCTL's we need to control the max_data field for some callsStefan Metzmacher1-0/+1
metze (This used to be commit 3cab02f6f513cf7eb3d8863e62952766bb4d908f)
2007-10-10r15640: - NT IOCTL calls also have an 'in' data_blobStefan Metzmacher1-3/+1
- fix the receive code of NT IOCTL's we only need the NTTRANS data payload not the SMB payload here metze (This used to be commit 358d03143f0a78344c1af720e33ebe2619df09df)