Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | param: Move per-share parameters into a seperate file, to share with s3 | Andrew Bartlett | 2011-07-08 | 5 | -37/+43 |
| | | | | | | | This will allow the struct loadparm_service to be in common between the two loadparm implementations in the tree. Andrew Bartlett | ||||
* | s4-param Remove offset != -1 checks | Andrew Bartlett | 2011-07-08 | 1 | -7/+2 |
| | | | | | | No offset values are set to -1 in the parameter table Andrew Bartlett | ||||
* | s4-param change to struct bitmap to match s3-param | Andrew Bartlett | 2011-07-08 | 2 | -16/+17 |
| | |||||
* | s4-param Also check the p_class matches when comparing offset | Andrew Bartlett | 2011-07-08 | 1 | -1/+3 |
| | |||||
* | s3-param check for aliases with both p_class and offset | Andrew Bartlett | 2011-07-08 | 1 | -6/+17 |
| | | | | | | This bug was found when comparing with the source4 loadparm code. Andrew Bartlett | ||||
* | lib/util Move bitmap.c to lib/util | Andrew Bartlett | 2011-07-08 | 15 | -23/+51 |
| | |||||
* | param: Add hooks to s3 parm_struct and the parameters void * pointer | Andrew Bartlett | 2011-07-08 | 7 | -31/+78 |
| | | | | | | | | This is to that the pyparam hooks can use the hooks to connect with the s3 loadparm system. This now also includes per-service parameters. Andrew Bartlett | ||||
* | s3-lib use True and False in bitmap.c | Andrew Bartlett | 2011-07-08 | 1 | -7/+7 |
| | |||||
* | s3-param: calculate default_server_announce at runtime | Andrew Bartlett | 2011-07-08 | 1 | -15/+5 |
| | |||||
* | s3-param Remove lp_set_passdb_backend() | Andrew Bartlett | 2011-07-08 | 3 | -7/+1 |
| | |||||
* | s3-zfsacl: Fix a debug message | Volker Lendecke | 2011-07-08 | 1 | -1/+1 |
| | | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Jul 8 11:22:55 CEST 2011 on sn-devel-104 | ||||
* | s3:wscript_build: remove unused variable | Stefan Metzmacher | 2011-07-08 | 1 | -2/+0 |
| | | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Jul 8 02:43:22 CEST 2011 on sn-devel-104 | ||||
* | s3:selftest: run SMB2-BASIC | Stefan Metzmacher | 2011-07-08 | 1 | -1/+1 |
| | | | | metze | ||||
* | s3:torture: add SMB2-BASIC | Stefan Metzmacher | 2011-07-08 | 5 | -2/+153 |
| | | | | | | Based on the initial patch from Volker Lendecke <vl@samba.org>. metze | ||||
* | s3:libsmb: add smb2cli_query_directory*() | Stefan Metzmacher | 2011-07-08 | 4 | -0/+207 |
| | | | | | | Based on the initial patch from Volker Lendecke <vl@samba.org>. metze | ||||
* | s3:libsmb: add smb2cli_write*() | Stefan Metzmacher | 2011-07-08 | 4 | -0/+156 |
| | | | | | | Based on the initial patch from Volker Lendecke <vl@samba.org>. metze | ||||
* | s3:libsmb: add smb2cli_read*() | Stefan Metzmacher | 2011-07-08 | 4 | -0/+187 |
| | | | | | | Based on the initial patch from Volker Lendecke <vl@samba.org>. metze | ||||
* | s3:libsmb: add smb2cli_flush*() | Stefan Metzmacher | 2011-07-08 | 4 | -0/+128 |
| | | | | | | Based on the initial patch from Volker Lendecke <vl@samba.org>. metze | ||||
* | s3:libsmb: add smb2cli_close*() | Stefan Metzmacher | 2011-07-08 | 4 | -0/+129 |
| | | | | | | Based on the initial patch from Volker Lendecke <vl@samba.org>. metze | ||||
* | s3:libsmb: add smb2cli_create*() | Stefan Metzmacher | 2011-07-08 | 4 | -1/+285 |
| | | | | | | Based on the initial patch from Volker Lendecke <vl@samba.org>. metze | ||||
* | s3:libsmb: add smb2cli_tcon*() and smb2cli_tdis*() | Stefan Metzmacher | 2011-07-08 | 5 | -0/+249 |
| | | | | | | Based on the initial patch from Volker Lendecke <vl@samba.org>. metze | ||||
* | s3:libsmb: add smb2cli_sesssetup*() and smb2cli_logoff*() | Stefan Metzmacher | 2011-07-08 | 4 | -0/+405 |
| | | | | | | Based on the initial patch from Volker Lendecke <vl@samba.org>. metze | ||||
* | s3:libsmb: add smb2cli_negprot*() | Stefan Metzmacher | 2011-07-08 | 5 | -0/+205 |
| | | | | | | Based on the initial patch from Volker Lendecke <vl@samba.org>. metze | ||||
* | s3:libsmb: add basic smb2 client infrastructure | Stefan Metzmacher | 2011-07-08 | 5 | -0/+587 |
| | | | | | | Based on the initial patch from Volker Lendecke <vl@samba.org>. metze | ||||
* | Fix bug #8293 - SMB2 doesn't rotate the log files often enough. | Jeremy Allison | 2011-07-08 | 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 | ||||
* | s3:smb2_server: call change_to_root_user() or smbd_smb2_request_check_tcon() | Stefan Metzmacher | 2011-07-07 | 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> | ||||
* | libcli: remove duplicate of #define NT_STATUS_NO_SUCH_JOB | Björn Baumbach | 2011-07-07 | 1 | -1/+0 |
| | | | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Jul 7 20:29:13 CEST 2011 on sn-devel-104 | ||||
* | s3-client: Remove use of cli_errstr() | Björn Baumbach | 2011-07-07 | 1 | -2/+2 |
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> | ||||
* | s3-libsmb: Remove use of cli_errstr() | Björn Baumbach | 2011-07-07 | 1 | -3/+8 |
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> | ||||
* | s3-torture: run_shortname_test: Remove uses of cli_errstr() | Björn Baumbach | 2011-07-07 | 1 | -3/+3 |
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> | ||||
* | s3-torture: run_simple_posix_open_test: Remove uses of cli_errstr() | Björn Baumbach | 2011-07-07 | 1 | -21/+31 |
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> | ||||
* | s3-torture: use nt_errstr() for cli_unlink() error handling | Stefan Metzmacher | 2011-07-07 | 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> | ||||
* | s3-torture: introduce check_both_error() | Björn Baumbach | 2011-07-07 | 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> | ||||
* | s3:libsmb: finally remove unused cli_state->outbuf | Stefan Metzmacher | 2011-07-07 | 3 | -11/+2 |
| | | | | metze | ||||
* | s3:libsmb: remove unused clistr_push_fn() | Stefan Metzmacher | 2011-07-07 | 3 | -37/+0 |
| | | | | metze | ||||
* | s3:libsmb: remove unused clistr_pull_fn() | Stefan Metzmacher | 2011-07-07 | 3 | -24/+0 |
| | | | | metze | ||||
* | s3:torture/scanner: use trans2_bytes_push_str() in scan_nttrans() | Stefan Metzmacher | 2011-07-07 | 1 | -14/+52 |
| | | | | metze | ||||
* | s3:torture/scanner: use trans2_bytes_push_str() in scan_trans2() | Stefan Metzmacher | 2011-07-07 | 1 | -14/+52 |
| | | | | metze | ||||
* | s3:libsmb: use trans2_bytes_push_str() in cli_tcon_andx_create() for the ↵ | Stefan Metzmacher | 2011-07-07 | 1 | -12/+11 |
| | | | | | | | | plaintext password This makes sure we push the string always in DOS charset. metze | ||||
* | s3:libsmb: use trans2_bytes_push_str() in cli_set_ea_path() | Stefan Metzmacher | 2011-07-07 | 1 | -8/+9 |
| | | | | metze | ||||
* | s3:libsmb: use trans2_bytes_push_str() in cli_dfs_get_referral() | Stefan Metzmacher | 2011-07-07 | 1 | -6/+10 |
| | | | | metze | ||||
* | s3:libsmb: use a talloc_stackframe in cli_dfs_get_referral() | Stefan Metzmacher | 2011-07-07 | 1 | -4/+3 |
| | | | | metze | ||||
* | s3:libsmb: use trans2_bytes_push_str/bytes() in cli_list_trans_*() | Stefan Metzmacher | 2011-07-07 | 1 | -20/+26 |
| | | | | metze | ||||
* | s3:libsmb: use clistr_pull_talloc() for short_name in interpret_long_filename() | Stefan Metzmacher | 2011-07-07 | 4 | -10/+19 |
| | | | | metze | ||||
* | s3:libsmb: interpret_long_filename() short_name is always UNICODE | Stefan Metzmacher | 2011-07-07 | 1 | -8/+3 |
| | | | | metze | ||||
* | s3:libsmb: add trans2_bytes_push_bytes() | Stefan Metzmacher | 2011-07-07 | 2 | -0/+21 |
| | | | | metze | ||||
* | s3:libsmb: make trans2_bytes_push_str() non-static | Stefan Metzmacher | 2011-07-07 | 2 | -3/+6 |
| | | | | | | We should use this and get rid of clistr_push(). metze | ||||
* | s3:utils: avoid cli_nt_error()/cli_errstr() if we already have the status | Stefan Metzmacher | 2011-07-07 | 1 | -2/+2 |
| | | | | metze | ||||
* | s3-printing: remove tdb migration invalid printer name checks | David Disseldorp | 2011-07-07 | 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 | ||||
* | s3-printing: make sure to first migrate the printers then the security ↵ | Günther Deschner | 2011-07-07 | 2 | -4/+28 |
| | | | | | | | | descriptor. Guenther Pair-Programmed-With: David Disseldorp <ddiss@suse.de> |