summaryrefslogtreecommitdiff
path: root/source4/smb_server/smb2/fileinfo.c
AgeCommit message (Collapse)AuthorFilesLines
2010-05-18Finish removal of iconv_convenience in public API's.Jelmer Vernooij1-2/+2
2009-09-19s4-smbd: minimise includes in smbd/ and smb_serverAndrew Tridgell1-1/+0
2008-09-24the offset is 16 bits in SMB2 fileinfoAndrew Tridgell1-1/+1
2008-05-31check for requested buffer size in getinfo callAndrew Tridgell1-0/+5
(This used to be commit ed8f16379d01d3dffd2645e2b275aa27507dfec9)
2008-05-30the docs shows that this is a o16s32 blobAndrew Tridgell1-2/+1
(This used to be commit a6d28e2b330a20e95b745966bb5eb153bdc58ed1)
2008-02-14updated SMB2 code for getinfo according to WSPP docsAndrew Tridgell1-22/+20
- Updated getinfo structures and field names - also updated the protocol revision number handling to reflect new docs (This used to be commit 3aaa2e86d94675c6c68d66d75292c3e34bfbc81b)
2008-02-14A better way to handle the different format of RenameInformation in SMB2Andrew Tridgell1-0/+5
We now define a separate info level RAW_SFILEINFO_RENAME_INFORMATION_SMB2 and set that level when handling SMB2 packets. This makes the parsers clearer. (This used to be commit f6cdf3f1177f63d80be757f007eb15380839b4f5)
2008-02-14Convert SMB and SMB2 code to use a common buffer handling structureAndrew Tridgell1-1/+1
This converts our SMB and SMB2 code to use a common structure "struct request_bufinfo" for information on the buffer bounds of a packet, alignment information and string handling. This allows us to use a common backend for SMB and SMB2 code, while still using all the same string and blob handling functions. Up to now we had been passing a NULL req handle into these common routines from the SMB2 side of the server, which meant that we failed any operation which did a bounds checked string extraction (such as a RenameInformation setinfo call, which is what Vista uses for renaming files) There is still some more work to be done on this - for example we can now remove many of the SMB2 specific buffer handling functions that we had, and use the SMB ones. (This used to be commit ca6d9be6cb6a403a81b18fa6e9a6a0518d7f0f68)
2008-01-01r26639: librpc: Pass iconv convenience on from RPC connection to NDR ↵Jelmer Vernooij1-1/+1
library, so it can be overridden by OpenChange. (This used to be commit 2f29f80e07adef1f020173f2cd6d947d0ef505ce)
2008-01-01r26638: libndr: Require explicitly specifying iconv_convenience for ↵Jelmer Vernooij1-1/+1
ndr_struct_push_blob(). (This used to be commit 61ad78ac98937ef7a9aa32075a91a1c95b7606b3)
2007-12-21r25920: ndr: change NTSTAUS into enum ndr_err_code (samba4 callers)Stefan Metzmacher1-10/+14
lib/messaging/ lib/registry/ lib/ldb-samba/ librpc/rpc/ auth/auth_winbind.c auth/gensec/ auth/kerberos/ dsdb/repl/ dsdb/samdb/ dsdb/schema/ torture/ cluster/ctdb/ kdc/ ntvfs/ipc/ torture/rap/ ntvfs/ utils/getntacl.c ntptr/ smb_server/ libcli/wrepl/ wrepl_server/ libcli/cldap/ libcli/dgram/ libcli/ldap/ libcli/raw/ libcli/nbt/ libnet/ winbind/ rpc_server/ metze (This used to be commit 6223c7fddc972687eb577e04fc1c8e0604c35435)
2007-10-10r25551: Convert to standard bool type.Jelmer Vernooij1-4/+4
(This used to be commit c9651e2c5c078edee7b91085e936a93625c8d708)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell1-3/+2
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)
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-10r16733: implement SMB2 SetInfoStefan Metzmacher1-1/+16
metze (This used to be commit 9b6f74778f8db2fa18bb56dcbc6bd8168a882ac9)
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-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 Metzmacher1-5/+0
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-10r16407: add parsing code the SMB2 GetInfo in the serverStefan Metzmacher1-0/+77
metze (This used to be commit c4755c83c61c0cc822c69cd274056ec20ba66fdb)