1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-27 08:23:49 +03:00
Commit Graph

16 Commits

Author SHA1 Message Date
Andrew Tridgell
3aaa2e86d9 updated SMB2 code for getinfo according to WSPP docs
- Updated getinfo structures and field names
- also updated the protocol revision number handling to reflect
  new docs
2008-02-14 17:11:36 +11:00
Andrew Tridgell
f6cdf3f117 A better way to handle the different format of RenameInformation in SMB2
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.
2008-02-14 14:54:21 +11:00
Andrew Tridgell
ca6d9be6cb Convert SMB and SMB2 code to use a common buffer handling structure
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.
2008-02-14 10:12:33 +11:00
Jelmer Vernooij
2f29f80e07 r26639: librpc: Pass iconv convenience on from RPC connection to NDR library, so it can be overridden by OpenChange. 2008-01-01 16:12:15 -06:00
Jelmer Vernooij
61ad78ac98 r26638: libndr: Require explicitly specifying iconv_convenience for ndr_struct_push_blob(). 2008-01-01 16:12:11 -06:00
Stefan Metzmacher
6223c7fddc r25920: ndr: change NTSTAUS into enum ndr_err_code (samba4 callers)
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
2007-12-21 05:45:02 +01:00
Jelmer Vernooij
c9651e2c5c r25551: Convert to standard bool type. 2007-10-10 15:07:54 -05:00
Andrew Tridgell
fcf38a38ac r23792: convert Samba4 to GPLv3
There are still a few tidyups of old FSF addresses to come (in both s3
and s4). More commits soon.
2007-10-10 14:59:12 -05:00
Stefan Metzmacher
51d59d23a1 r16872: when we know the data length we can preallocate the buffer
and avoid a realloc

metze
2007-10-10 14:09:55 -05:00
Stefan Metzmacher
9b6f74778f r16733: implement SMB2 SetInfo
metze
2007-10-10 14:09:41 -05:00
Stefan Metzmacher
1a4978118d r16670: try to match the vista error codes a bit more
metze
2007-10-10 14:09:37 -05:00
Stefan Metzmacher
6908582f68 r16666: implement setting of security_descriptors via SMB2 SetInfo
metze
2007-10-10 14:09:36 -05:00
Stefan Metzmacher
70cc992843 r16568: add parsing code for SMB2 SetInfo
metze
2007-10-10 14:09:35 -05:00
Stefan Metzmacher
cdee9b2168 r16520: move smb2srv_break_recv back to fileio.c
metze
2007-10-10 14:09:31 -05:00
Stefan Metzmacher
49b5b3cd58 r16467: implement SMB2 GetInfo server code
metze
2007-10-10 14:09:30 -05:00
Stefan Metzmacher
c4755c83c6 r16407: add parsing code the SMB2 GetInfo in the server
metze
2007-10-10 14:09:13 -05:00