Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | s3-torture: run_locktest5(): replace cli_lock() with cli_lock32() | Björn Baumbach | 2011-07-18 | 1 | -11/+15 |
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> | ||||
* | s3-torture: run_locktest4(): replace cli_lock() with cli_lock32() | Björn Baumbach | 2011-07-18 | 1 | -37/+44 |
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> | ||||
* | s3-torture: run_oplock2(): replace cli_lock() with cli_lock32() | Björn Baumbach | 2011-07-18 | 1 | -5/+6 |
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> | ||||
* | s3-torture: run_locktest9(): replace cli_lock() with cli_lock32() | Björn Baumbach | 2011-07-18 | 1 | -3/+5 |
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> | ||||
* | s3-torture: run_locktest8(): replace cli_lock() with cli_lock32() | Björn Baumbach | 2011-07-18 | 1 | -2/+3 |
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> | ||||
* | s3-torture: run_locktest7(): replace cli_lock() with cli_lock32() | Björn Baumbach | 2011-07-18 | 1 | -4/+6 |
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> | ||||
* | s3-torture: run_locktest3(): replace cli_lock() with cli_lock32() | Björn Baumbach | 2011-07-18 | 1 | -8/+15 |
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> | ||||
* | s3-torture: run_locktest2(): replace check_error() with check_both_error() | Björn Baumbach | 2011-07-11 | 1 | -10/+14 |
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> | ||||
* | s3-torture: run_locktest2(): replace cli_lock() with cli_lock32() | Björn Baumbach | 2011-07-11 | 1 | -20/+35 |
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> | ||||
* | s3-torture: run_locktest1(): replace cli_lock() with cli_lock32() | Björn Baumbach | 2011-07-11 | 1 | -17/+25 |
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> | ||||
* | s3-torture: locktest2: replace cli_lock() with cli_lock32() | Björn Baumbach | 2011-07-11 | 1 | -1/+2 |
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> | ||||
* | s3-torture: let wait_lock() use cli_lock32() instead of cli_lock() | Björn Baumbach | 2011-07-11 | 1 | -3/+13 |
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> | ||||
* | s3-libsmb: let cli_lock64 return NTSTATUS instead of bool | Björn Baumbach | 2011-07-11 | 1 | -9/+7 |
| | | | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Jul 11 12:48:38 CEST 2011 on sn-devel-104 | ||||
* | s3:torture: use cli_is_nt/dos_error() in run_error_map_extract() | Stefan Metzmacher | 2011-07-08 | 1 | -12/+10 |
| | | | | | | Callers should avoid using cli->inbuf directly! metze | ||||
* | s3:torture: add SMB2-BASIC | Stefan Metzmacher | 2011-07-08 | 3 | -1/+150 |
| | | | | | | Based on the initial patch from Volker Lendecke <vl@samba.org>. metze | ||||
* | 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: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 clistr_pull_talloc() for short_name in interpret_long_filename() | Stefan Metzmacher | 2011-07-07 | 2 | -3/+4 |
| | | | | metze | ||||
* | s3: Remove a use of cli_errstr | Volker Lendecke | 2011-07-07 | 1 | -2/+6 |
| | | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Jul 7 18:04:26 CEST 2011 on sn-devel-104 | ||||
* | s3:libsmb: use clistr_pull_talloc() in cli_qfilename() | Stefan Metzmacher | 2011-07-06 | 1 | -2/+2 |
| | | | | metze | ||||
* | s3:libsmb: let cli_qfileinfo[_recv]() return recv_flags2 | Stefan Metzmacher | 2011-07-06 | 1 | -1/+1 |
| | | | | metze | ||||
* | Use tevent_req_oom | Volker Lendecke | 2011-06-20 | 1 | -1/+1 |
| | | | | This fixes a few Coverity errors | ||||
* | tdb_compat: Higher level API fixes. | Rusty Russell | 2011-06-20 | 1 | -4/+4 |
| | | | | | | | | | | | | My previous patches fixed up all direct TDB callers, but there are a few utility functions and the db_context functions which are still using the old -1 / 0 return codes. It's clearer to fix up all the callers of these too, so everywhere is consistent: non-zero means an error. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> | ||||
* | tdb_compat: use tdb_open_compat. | Rusty Russell | 2011-06-20 | 1 | -1/+1 |
| | | | | | | | | | This is a helper for the common case of opening a tdb with a logging function, but it doesn't do all the work, since TDB1 and TDB2's log functions are different types. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> | ||||
* | s3: Test nttrans_create | Volker Lendecke | 2011-06-19 | 3 | -0/+110 |
| | | | | This is a test for the share security descriptor exception for nttrans_create | ||||
* | s3-passdb: Implement new pdb trust calls for the default backend | Sumit Bose | 2011-06-12 | 1 | -0/+83 |
| | | | | | | | Signed-off-by: Simo Sorce <idra@samba.org> Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Sun Jun 12 06:45:25 CEST 2011 on sn-devel-104 | ||||
* | s3-param Remove special case for global_myname(), rename to lp_netbios_name() | Andrew Bartlett | 2011-06-09 | 1 | -1/+1 |
| | | | | | | | | There is no reason this can't be a normal constant string in the loadparm system, now that we have lp_set_cmdline() to handle overrides correctly. Andrew Bartlett | ||||
* | s3-talloc Change TALLOC_ZERO_P() to talloc_zero() | Andrew Bartlett | 2011-06-09 | 1 | -1/+1 |
| | | | | | Using the standard macro makes it easier to move code into common, as TALLOC_ZERO_P isn't standard talloc. | ||||
* | s3-talloc Change TALLOC_P() to talloc() | Andrew Bartlett | 2011-06-09 | 2 | -2/+2 |
| | | | | | Using the standard macro makes it easier to move code into common, as TALLOC_P isn't standard talloc. | ||||
* | s3-talloc Change TALLOC_ARRAY() to talloc_array() | Andrew Bartlett | 2011-06-09 | 3 | -5/+5 |
| | | | | | Using the standard macro makes it easier to move code into common, as TALLOC_ARRAY isn't standard talloc. | ||||
* | Remove the char * argument from the SMB_VFS_GETWD() call. Now always | Jeremy Allison | 2011-06-01 | 1 | -2/+3 |
| | | | | | | | returns malloc'ed memory. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Jun 1 04:06:12 CEST 2011 on sn-devel-104 | ||||
* | s3-globals Remove smbd_event_context() (use server_event_context()) | Andrew Bartlett | 2011-05-31 | 1 | -10/+0 |
| | | | | | | | | This has been a wrapper around server_event_context() for some time now, and removing this from dummmysmbd.c assists with library dependencies. Andrew Bartlett | ||||
* | s3: Fix cli_bad_session_request | Volker Lendecke | 2011-05-29 | 1 | -2/+19 |
| | | | | | We expect a negative session response with a 0x82 error (called name not present), not a 0x82 message | ||||
* | s3: Simplify run_bad_nbt_session | Volker Lendecke | 2011-05-29 | 1 | -40/+26 |
| | |||||
* | s3: Simplify cli_bad_session_request | Volker Lendecke | 2011-05-29 | 1 | -12/+4 |
| | | | | For this purpose we don't need the full cli_state | ||||
* | s3: Use cli_connect_nb in smbtorture open_nbt_connection | Volker Lendecke | 2011-05-28 | 1 | -36/+2 |
| | |||||
* | s3: Add called name_type param to cli_connect_nb | Volker Lendecke | 2011-05-28 | 2 | -2/+4 |
| | |||||
* | s3: Use cli_connect_nb in masktest | Volker Lendecke | 2011-05-28 | 1 | -30/+3 |
| | |||||
* | s3: Fix some nonemtpy blank lines | Volker Lendecke | 2011-05-28 | 1 | -3/+3 |
| | |||||
* | s3: Use cli_connect_nb in locktest | Volker Lendecke | 2011-05-28 | 1 | -28/+3 |
| | | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat May 28 18:06:49 CEST 2011 on sn-devel-104 | ||||
* | s3: Remove the smbtorture3 OPLOCK3 test | Volker Lendecke | 2011-05-22 | 1 | -58/+0 |
| | | | | | This is the last user of cli_receive_smb. Oplocks are nowadays tested in smbtorture4, this mainly has historic value | ||||
* | s3: Convert the OPEN4 test to async oplock handling | Volker Lendecke | 2011-05-22 | 1 | -32/+96 |
| | | | | This removes a caller of cli_receive_smb | ||||
* | s3: Remove a use of cli_send_smb | Volker Lendecke | 2011-05-19 | 1 | -46/+53 |
| | | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu May 19 20:11:33 CEST 2011 on sn-devel-104 | ||||
* | s3-lib Replace StrCaseCmp() with strcasecmp_m() | Andrew Bartlett | 2011-05-18 | 2 | -4/+4 |
| | | | | | | | strcasecmp_m() never needs to call to talloc, and via next_codepoint() still has an ASCII fast-path bypassing iconv() calls. Andrew Bartlett | ||||
* | s3-smbtorture: fix build warning (shadowed NTSTATUS variable). | Günther Deschner | 2011-05-18 | 1 | -1/+0 |
| | | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed May 18 14:17:13 CEST 2011 on sn-devel-104 | ||||
* | s3-torture/nbio.c: Fix cli_errstr() usage (part of bug #7864) | Björn Baumbach | 2011-05-18 | 1 | -7/+16 |
| | | | | | | Convert cli_errstr() to nt_errstr() Signed-off-by: Stefan Metzmacher <metze@samba.org> |