Jeremy Allison
b6eb3a6808
Prepare to remove smb_panic() from unix_strlower().
2012-08-09 09:47:35 -07:00
Jeremy Allison
8605b35e88
Fix bad return values in unix_strlower/unix_strupper.
2012-08-09 09:47:35 -07:00
Michael Adam
523602863a
s3:torture:delete: add a 12th subtest to the delete-on-close tests
...
test whether second open is possible with initial delete on close
and how setting and unsetting delete on close on the handle affects
the initial delete on close (it does not...)
2012-08-09 16:22:53 +02:00
Michael Adam
db160bf510
s3:torture:delete: fix 11th test to work against windows
2012-08-09 16:22:50 +02:00
Michael Adam
2e53fb109f
s3:torture:delete: simplify return code handling, fixing a couple of return codes in error cases
2012-08-09 15:29:51 +02:00
Michael Adam
49a2c68011
s3:torture:delete: reduce indentation
2012-08-09 15:29:50 +02:00
Michael Adam
54e5810638
s3:torture:delete: add a comment
2012-08-09 15:29:49 +02:00
Michael Adam
c228b7abee
s3:torture:delete: add a comment
2012-08-09 15:29:47 +02:00
Michael Adam
7a7b86d3c7
s3:torture:delete: add a comment
2012-08-09 15:29:46 +02:00
Michael Adam
5b1afa6307
s3:torture:delete: move the success message for a subtest to the correct place
2012-08-09 15:29:45 +02:00
Michael Adam
2f7a371b92
s3:torture:delete: remove an else, reducing indentation
2012-08-09 15:29:44 +02:00
Michael Adam
3668a4c94c
s3:torture:delete: remove an else, reducing indentation
2012-08-09 15:29:42 +02:00
Michael Adam
777c7a965b
s3:torture:delete: remove an else, reducing indentation
2012-08-09 15:29:41 +02:00
Michael Adam
c36deaf3af
s3:torture:delete: remove an else, reducing indentation
2012-08-09 15:29:40 +02:00
Michael Adam
e833141622
s3:torture:delete: really fail the test in a failure case
2012-08-09 15:29:39 +02:00
Michael Adam
9058288d6a
s3:torture:delete: fix a comment
2012-08-09 15:29:38 +02:00
Michael Adam
bf492d1ffb
s3:torture:delete: fix a message
2012-08-09 15:29:37 +02:00
Michael Adam
ff5e6e33fd
s3:torture:delete: fix a message
2012-08-09 15:29:36 +02:00
Michael Adam
4aac6d00a9
s3:torture:delete: fix a message
2012-08-09 15:29:35 +02:00
Michael Adam
595845ca30
s3:torture:delete: fix a message (counting the opens)
2012-08-09 15:29:33 +02:00
Michael Adam
2aded6aebd
s3:torture:delete: untangle function call from result check
2012-08-09 15:29:32 +02:00
Michael Adam
ef3684739a
s3:torture:delete: untangle function call from result check
2012-08-09 15:29:26 +02:00
Michael Adam
4e75b0c717
s3:torture:delete: untangle function call from result check
2012-08-09 15:27:16 +02:00
Michael Adam
ccb25831e2
s3:torture:delete: untanlge function call from result check
2012-08-09 15:27:15 +02:00
Michael Adam
8a92ae23fe
s3:torture:delete: untangle function call from result check
2012-08-09 15:26:09 +02:00
Michael Adam
02b092533a
s3:torture:delete: untangle function call from result check
2012-08-09 15:26:08 +02:00
Michael Adam
5138eb50a3
s3:torture:delete: untangle function call from result check
2012-08-09 15:26:07 +02:00
Michael Adam
5bc7c77cd8
s3:torture:delete: untangle function call from result check
2012-08-09 15:26:06 +02:00
Michael Adam
b5e9378e28
s3:torture:delete: untangle function call from result check
2012-08-09 15:25:19 +02:00
Michael Adam
361429d02f
s3:torture:delete: untangle function call from result check
2012-08-09 15:25:18 +02:00
Michael Adam
8684506478
s3:torture:delete: untangle function call from result check
2012-08-09 15:25:17 +02:00
Michael Adam
1db70c0b8b
s3:torture:delete: untangle function call from result check
2012-08-09 15:25:16 +02:00
Michael Adam
a70a4ad731
s3:torture:delete: untangle function call from result check
2012-08-09 15:13:33 +02:00
Andrew Bartlett
434bed75c4
s3-events: Do not vasprintf() the tevent debug messages that will not be shown
...
This malloc() and free() actually shows up quite high on a call profile of
provision of the AD DC (and this is the matching patch for source3).
Andrew Bartlett
2012-08-09 20:14:22 +10:00
Stefan Metzmacher
0d7b17f4db
s3:smb2_sesssetup: setup global->[en|de]cryption_key
...
metze
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Thu Aug 9 09:59:02 CEST 2012 on sn-devel-104
2012-08-09 09:59:02 +02:00
Stefan Metzmacher
0cb11efa87
s3:smb2_read: don't try sendfile if encryption is used
...
metze
2012-08-09 08:21:35 +02:00
Stefan Metzmacher
a0cf42b709
s3:smb2_server: add smbd_smb2_request->do_encryption
...
For now it's always false...
metze
2012-08-09 08:21:35 +02:00
Stefan Metzmacher
95e4270813
s3:smb2_tcon: set global->encryption_required and enforce it
...
This the account or client doesn't support encryption we should
reject the tree connect.
metze
2012-08-09 08:21:35 +02:00
Stefan Metzmacher
64dce26533
s3:smb2_sesssetup: set global->encryption_required and enforce it
...
This the account or client doesn't support encryption we should
reject the session setup.
metze
2012-08-09 08:21:35 +02:00
Stefan Metzmacher
8734887348
s3:smbXsrv.idl: add encryption_required to smbXsrv_tcon_global0
...
metze
2012-08-09 08:21:35 +02:00
Stefan Metzmacher
b5a72f4f35
s3:smb2_server: check the session before we could response with an error.
...
metze
2012-08-09 08:21:35 +02:00
Stefan Metzmacher
f15d9a6670
s3:smb2_server: do central file_id check if the operation requires it
...
Note that it's fine to call file_fsp_smb2() twice, the 2nd call
just returns smb2req->compat_chain_fsp without a 2nd lookup.
metze
2012-08-09 08:21:35 +02:00
Stefan Metzmacher
47c5900040
s3:nmbd: log a failure in get_domain_master_name_node_status_success() as level 1
...
metze
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Wed Aug 8 20:14:29 CEST 2012 on sn-devel-104
2012-08-08 20:14:29 +02:00
Stefan Metzmacher
a3ccdafd1b
s3:nmbd: don't log get_domain_master_name_node_status_fail at level 0
...
metze
2012-08-08 18:20:47 +02:00
Stefan Metzmacher
1c76e99ae4
s3:smb2_server: s/i/idx in smbd_smb2_request_pending_queue()
...
metze
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Wed Aug 8 17:32:26 CEST 2012 on sn-devel-104
2012-08-08 17:32:26 +02:00
Stefan Metzmacher
83d262088b
s3:smb2_server: make use of SMBD_SMB2_OUT_HDR_PTR() in smbd_smb2_request_pending_queue()
...
metze
2012-08-08 12:52:52 +02:00
Stefan Metzmacher
0067de2074
s3:smb2_server: remove useless variable 'i'
...
metze
2012-08-08 12:52:51 +02:00
Stefan Metzmacher
63d92a192d
s3:smb2_server: rewrite dup_smb2_vec3() using SMBD_SMB2_*_IOV_OFS and helper variables
...
metze
2012-08-08 12:52:51 +02:00
Stefan Metzmacher
fc8e3bd569
s3:smb2_server: make use of SMBD_SMB2_* macros in smbd_smb2_request_done_ex()
...
metze
2012-08-08 12:52:51 +02:00
Stefan Metzmacher
97b5aaa648
s3:smb2_server: make use of SMBD_SMB2_* macros in smbd_smb2_request_verify_sizes()
...
metze
2012-08-08 12:52:50 +02:00