Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-07-08 | s3:libsmb: add smb2cli_tcon*() and smb2cli_tdis*() | Stefan Metzmacher | 5 | -0/+249 | |
Based on the initial patch from Volker Lendecke <vl@samba.org>. metze | |||||
2011-07-08 | s3:libsmb: add smb2cli_sesssetup*() and smb2cli_logoff*() | Stefan Metzmacher | 4 | -0/+405 | |
Based on the initial patch from Volker Lendecke <vl@samba.org>. metze | |||||
2011-07-08 | s3:libsmb: add smb2cli_negprot*() | Stefan Metzmacher | 5 | -0/+205 | |
Based on the initial patch from Volker Lendecke <vl@samba.org>. metze | |||||
2011-07-08 | s3:libsmb: add basic smb2 client infrastructure | Stefan Metzmacher | 5 | -0/+587 | |
Based on the initial patch from Volker Lendecke <vl@samba.org>. metze | |||||
2011-07-08 | Fix bug #8293 - SMB2 doesn't rotate the log files often enough. | Jeremy Allison | 3 | -3/+21 | |
Move the num_requests field out of the smb1 struct into the generic struct smbd_server_connection struct. Use it to count SMB2 requests as well as SMB1 and ensure that check_log_size() is called every 50 SMB2 requests. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Jul 8 01:14:53 CEST 2011 on sn-devel-104 | |||||
2011-07-07 | s3:smb2_server: call change_to_root_user() or smbd_smb2_request_check_tcon() | Stefan Metzmacher | 1 | -3/+26 | |
For all requests which don't operate on a tcon, we should call change_to_root_user(), to match the SMB1 behavior. For SMB1 we do the following operations without AS_USER: /* 0x70 */ { "SMBtcon",reply_tcon,0}, /* 0x71 */ { "SMBtdis",reply_tdis,DO_CHDIR}, /* 0x72 */ { "SMBnegprot",reply_negprot,0}, /* 0x73 */ { "SMBsesssetupX",reply_sesssetup_and_X,0}, /* 0x74 */ { "SMBulogoffX",reply_ulogoffX, 0}, /* ulogoff doesn't give a valid TID */ /* 0x75 */ { "SMBtconX",reply_tcon_and_X,0}, ... /* 0x2b */ { "SMBecho",reply_echo,0}, ... /* 0xa4 */ { "SMBntcancel",reply_ntcancel, 0 }, For SMB2tdis we still call smbd_smb2_request_check_tcon() as close_cnum() calls change_to_root_user() when needed. metze Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2011-07-07 | s3-client: Remove use of cli_errstr() | Björn Baumbach | 1 | -2/+2 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-07-07 | s3-libsmb: Remove use of cli_errstr() | Björn Baumbach | 1 | -3/+8 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-07-07 | s3-torture: run_shortname_test: Remove uses of cli_errstr() | Björn Baumbach | 1 | -3/+3 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-07-07 | s3-torture: run_simple_posix_open_test: Remove uses of cli_errstr() | Björn Baumbach | 1 | -21/+31 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-07-07 | s3-torture: use nt_errstr() for cli_unlink() error handling | Stefan Metzmacher | 1 | -1/+3 | |
Use nt_errstr() instead of cli_errstr() for error handling on cli_unlink() calls. Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-07-07 | s3-torture: introduce check_both_error() | Björn Baumbach | 1 | -0/+34 | |
Check if the server produced the expected dos or nt error code like check_error(), but without a cli_state struct. Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-07-07 | s3:libsmb: finally remove unused cli_state->outbuf | Stefan Metzmacher | 3 | -11/+2 | |
metze | |||||
2011-07-07 | s3:libsmb: remove unused clistr_push_fn() | Stefan Metzmacher | 2 | -31/+0 | |
metze | |||||
2011-07-07 | s3:libsmb: remove unused clistr_pull_fn() | Stefan Metzmacher | 2 | -18/+0 | |
metze | |||||
2011-07-07 | s3:torture/scanner: use trans2_bytes_push_str() in scan_nttrans() | Stefan Metzmacher | 1 | -14/+52 | |
metze | |||||
2011-07-07 | s3:torture/scanner: use trans2_bytes_push_str() in scan_trans2() | Stefan Metzmacher | 1 | -14/+52 | |
metze | |||||
2011-07-07 | s3:libsmb: use trans2_bytes_push_str() in cli_tcon_andx_create() for the ↵ | Stefan Metzmacher | 1 | -12/+11 | |
plaintext password This makes sure we push the string always in DOS charset. metze | |||||
2011-07-07 | s3:libsmb: use trans2_bytes_push_str() in cli_set_ea_path() | Stefan Metzmacher | 1 | -8/+9 | |
metze | |||||
2011-07-07 | s3:libsmb: use trans2_bytes_push_str() in cli_dfs_get_referral() | Stefan Metzmacher | 1 | -6/+10 | |
metze | |||||
2011-07-07 | s3:libsmb: use a talloc_stackframe in cli_dfs_get_referral() | Stefan Metzmacher | 1 | -4/+3 | |
metze | |||||
2011-07-07 | s3:libsmb: use trans2_bytes_push_str/bytes() in cli_list_trans_*() | Stefan Metzmacher | 1 | -20/+26 | |
metze | |||||
2011-07-07 | s3:libsmb: use clistr_pull_talloc() for short_name in interpret_long_filename() | Stefan Metzmacher | 4 | -10/+19 | |
metze | |||||
2011-07-07 | s3:libsmb: interpret_long_filename() short_name is always UNICODE | Stefan Metzmacher | 1 | -8/+3 | |
metze | |||||
2011-07-07 | s3:libsmb: add trans2_bytes_push_bytes() | Stefan Metzmacher | 2 | -0/+21 | |
metze | |||||
2011-07-07 | s3:libsmb: make trans2_bytes_push_str() non-static | Stefan Metzmacher | 2 | -3/+6 | |
We should use this and get rid of clistr_push(). metze | |||||
2011-07-07 | s3:utils: avoid cli_nt_error()/cli_errstr() if we already have the status | Stefan Metzmacher | 1 | -2/+2 | |
metze | |||||
2011-07-07 | s3-printing: remove tdb migration invalid printer name checks | David Disseldorp | 1 | -9/+2 | |
WERR_INVALID_PRINTER_NAME only needed to be handled when printing tdb migration used spoolss, with winreg such errors are no longer possible. Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Jul 7 19:15:34 CEST 2011 on sn-devel-104 | |||||
2011-07-07 | s3-printing: make sure to first migrate the printers then the security ↵ | Günther Deschner | 2 | -4/+28 | |
descriptor. Guenther Pair-Programmed-With: David Disseldorp <ddiss@suse.de> | |||||
2011-07-07 | s3-printing: fill info2_mask in printer migration | David Disseldorp | 1 | -4/+7 | |
Also fix possibly uninitialised status return from printing_tdb_migrate_printer(). | |||||
2011-07-07 | s3-printing: remove spoolss pipe from migration library, only using winreg ↵ | Günther Deschner | 4 | -46/+5 | |
finally. Guenther Pair-Programmed-With: David Disseldorp <ddiss@suse.de> | |||||
2011-07-07 | s3-printing: use winreg interface for migration, instead of spoolss. | Günther Deschner | 1 | -181/+38 | |
Guenther Pair-Programmed-With: David Disseldorp <ddiss@suse.de> | |||||
2011-07-07 | s3-printing: safe a ton of roundtrips by reusing existing winreg ↵ | Günther Deschner | 3 | -156/+229 | |
binding_handles. Guenther Pair-Programmed-With: David Disseldorp <ddiss@suse.de> | |||||
2011-07-07 | s3-printing: use winreg_internal functions. | Günther Deschner | 3 | -87/+87 | |
Guenther Pair-Programmed-With: David Disseldorp <ddiss@suse.de> | |||||
2011-07-07 | s3-printing: add winreg_internal functions. | Günther Deschner | 4 | -1/+541 | |
Guenther Pair-Programmed-With: David Disseldorp <ddiss@suse.de> | |||||
2011-07-07 | s3-printing: add winreg_printer_binding_handle and remove most of ↵ | Günther Deschner | 2 | -4772/+12 | |
srv_spoolss_util.c. Guenther Pair-Programmed-With: David Disseldorp <ddiss@suse.de> | |||||
2011-07-07 | s3-printing: add rpc_client/cli_winreg_spoolss.c | Günther Deschner | 4 | -6/+4668 | |
Guenther Pair-Programmed-With: David Disseldorp <ddiss@suse.de> | |||||
2011-07-07 | s3-waf: make LIBCLI_SPOOLSS a shared library | Günther Deschner | 1 | -3/+4 | |
Guenther Pair-Programmed-With: David Disseldorp <ddiss@suse.de> | |||||
2011-07-07 | s3-printing: move spoolss_create_default_devmode/secdesc to init_spoolss.h | Günther Deschner | 4 | -179/+182 | |
Guenther Pair-Programmed-With: David Disseldorp <ddiss@suse.de> | |||||
2011-07-07 | s3-printing: move driver_info_ctr_to_info8 to init_spoolss.h | Günther Deschner | 5 | -93/+92 | |
Guenther Pair-Programmed-With: David Disseldorp <ddiss@suse.de> | |||||
2011-07-07 | s3-printing: move os2 related functions to printing/nt_printing_os2.c. | Günther Deschner | 7 | -145/+191 | |
Guenther Pair-Programmed-With: David Disseldorp <ddiss@suse.de> | |||||
2011-07-07 | s3: Remove a use of cli_errstr | Volker Lendecke | 1 | -2/+6 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Jul 7 18:04:26 CEST 2011 on sn-devel-104 | |||||
2011-07-07 | s3-waf: Fix linking bugs causing segfaults. | Andreas Schneider | 2 | -2/+2 | |
As auth_util.c is linked several times the static variables have different address on different calls. This leads to segfaults. Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Thu Jul 7 16:50:05 CEST 2011 on sn-devel-104 | |||||
2011-07-07 | s3:testparm: avoid spurious warnings about dos mode mapping and create mask ↵ | Gregor Beck | 1 | -19/+27 | |
if store dos attributes is set Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Jul 7 12:49:01 CEST 2011 on sn-devel-104 | |||||
2011-07-06 | s3:libsmb: use clistr_pull_talloc() in cli_qfilename() | Stefan Metzmacher | 3 | -9/+30 | |
metze | |||||
2011-07-06 | s3:libsmb: let cli_qfileinfo[_recv]() return recv_flags2 | Stefan Metzmacher | 4 | -6/+16 | |
metze | |||||
2011-07-06 | s3:libsmb: use clistr_pull_talloc() in cli_get_fs_volume_info() | Stefan Metzmacher | 3 | -10/+32 | |
metze | |||||
2011-07-06 | s3:libsmb: the SMB_QUERY_FS_VOLUME_INFO response needs at least 18 data bytes | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2011-07-06 | s3:libsmb: don't use cli->inbuf in cli_dfs_get_referral() | Stefan Metzmacher | 1 | -5/+7 | |
The rdata buffer returned by cli_trans() doesn't belong to cli->inbuf, so don't use it. metze | |||||
2011-07-06 | s3:libsmb: fix error handling in cli_dfs_get_referral() | Stefan Metzmacher | 1 | -3/+11 | |
We should not return NT_STATUS_OK on error. metze |