summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* s3:torture/test_smb2: test handle based calls during reauth in ↵Stefan Metzmacher2012-02-291-0/+18
| | | | | | SMB2-MULTI-CHANNEL metze
* s3:torture/test_smb2: do a reauth over multiple channels in SMB2-MULTI-CHANNELStefan Metzmacher2012-02-291-0/+100
| | | | metze
* s3:torture/test_smb2: add a 3rd channel to SMB2-MULTI-CHANNELStefan Metzmacher2012-02-291-1/+154
| | | | metze
* s3:torture/test_smb2: expect FILE_CLOSED on invalid handles in ↵Stefan Metzmacher2012-02-291-2/+4
| | | | | | SMB2-MULTI-CHANNEL metze
* s4:torture/smb2: remove unused varStefan Metzmacher2012-02-291-1/+0
| | | | metze
* libcli/smb/smbXcli: use smb2_key_deviration() to setup SMB 2.24 keysStefan Metzmacher2012-02-291-2/+41
| | | | | | | | | | | | This uses the key diveration function from "NIST Special Publication 800-108" in counter mode (section 5.1). Thanks to Jeremy, Michael and Volker for the debugging! metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Feb 29 04:54:48 CET 2012 on sn-devel-104
* libcli/smb/smb2_signing: implement aes_cmac_128 based signing for SMB 2.24Stefan Metzmacher2012-02-291-18/+58
| | | | metze
* libcli/smb/smb2_signing: add smb2_key_deviration()Stefan Metzmacher2012-02-292-0/+37
| | | | | | | | | This implements a simplified version of "NIST Special Publication 800-108" section 5.1 using hmac-sha256. Thanks to Jeremy, Michael and Volker for the debugging! metze
* lib/crypto: add aes_cmac_128_test.c as local.crypto.aes_cmac_128 testStefan Metzmacher2012-02-293-1/+95
| | | | metze
* lib/crypto: add aes_cmac_128* (rfc 4493)Stefan Metzmacher2012-02-295-5/+233
| | | | | | Thanks to Jeremy, Michael and Volker for the debugging! metze
* s3: Introduce "req" helper var in reply_lockingX_successVolker Lendecke2012-02-291-3/+5
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Wed Feb 29 03:08:53 CET 2012 on sn-devel-104
* s3: Fix a const warningVolker Lendecke2012-02-291-1/+1
|
* s3: Add a test that makes a chained open break an oplockVolker Lendecke2012-02-296-0/+299
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Wed Feb 29 01:13:03 CET 2012 on sn-devel-104
* s3: More fix for smbd -iVolker Lendecke2012-02-281-1/+1
| | | | | We need a full re-initialize, otherwise we don't re-init the USR1 signal handler
* Fix problem reported by Tom Lee <tlee2951@gmail.com> - when calculatingJeremy Allison2012-02-281-3/+28
| | | | | | | | the share security mask, take priviliges into account for the connecting user. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Feb 28 20:21:26 CET 2012 on sn-devel-104
* torture: added samba4-ntvfs targetAndrew Tridgell2012-02-281-0/+3
| | | | | | | | | this will be used for the samba4 server with the ntvfs backend Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Feb 28 13:34:44 CET 2012 on sn-devel-104
* s3fs: when samba is logging to stdout, ask smbd to also do soAndrew Tridgell2012-02-281-1/+3
| | | | | this prevents make test getting spurious errors about opening log files in the install prefix
* smbd: detect EOF on stdin in --foreground modeAndrew Tridgell2012-02-281-0/+25
| | | | if EOF is detected on stdin then exit
* selftest: added a pipe on stdin in s3 child processesAndrew Tridgell2012-02-281-0/+17
| | | | | | this adds a pipe for STDIN in smbd, nmbd and winbindd when run in selftest. This allows those processes to detect when they should exit by looking for EOF on stdin.
* s3fs: added file_server directoryAndrew Tridgell2012-02-285-0/+161
| | | | | | this contains a file server backend that forks and starts smbd Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-smb_server Remove inetd-mode samba3 hookAndrew Bartlett2012-02-282-191/+0
|
* upgradedns: Missing rename from upgradedns to samba_upgradednsAmitay Isaacs2012-02-281-1/+1
| | | | | Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Tue Feb 28 10:06:03 CET 2012 on sn-devel-104
* s4:torture:smb2:durable-open: fix a silly access-after-free panicMichael Adam2012-02-281-7/+0
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Tue Feb 28 08:33:44 CET 2012 on sn-devel-104
* s3:torture/test_smb2: test a tree_connect during reauthStefan Metzmacher2012-02-281-0/+17
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Feb 28 06:58:44 CET 2012 on sn-devel-104
* s3:torture/test_smb2: check directory listing during reauthStefan Metzmacher2012-02-281-0/+72
| | | | metze
* s4:selftest: skip smb2.session testsuiteMichael Adam2012-02-281-0/+1
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Tue Feb 28 03:19:52 CET 2012 on sn-devel-104
* s4:selftest: remove old "samba4.smb2.persistent.handle1" from knownfail - ↵Michael Adam2012-02-281-1/+0
| | | | test does not exist
* s4:torture:smb2: add new "session" testsuite starting with a ↵Michael Adam2012-02-283-1/+145
| | | | session.reconnect test
* s4:torture:smb2: add durable_open.reopen2a - variant of reopen2 with session ↵Michael Adam2012-02-281-0/+77
| | | | reconnect
* s4:torture:smb2: add torture_smb2_connection_ext() that takes previous_sessionMichael Adam2012-02-281-13/+25
|
* s4:libcli:smb2: add a smb2_connect_ext variant of smb2_connect that takes a ↵Michael Adam2012-02-281-12/+36
| | | | previous_session argument
* s4:libcli:smb2: add a previous session argument to smb2_connect_send()Michael Adam2012-02-282-1/+6
|
* s4:torture:smb2: add previous_session argument to torture_smb2_session_setup()Michael Adam2012-02-282-2/+6
| | | | To allow for doing a session reconnect
* s4:libcli:smb2: add a previous session argument to smb2_session_setup_spnego()Michael Adam2012-02-283-10/+18
| | | | So that we can do a session reconnect.
* s3:libsmb:smb2: pass previous session ID to session setup, not previous sessionMichael Adam2012-02-285-18/+14
| | | | | We only need the session, and under some circumstances, it might complicate things for the caller to have to cope with the whole structure (talloc...).
* s3-winbindd: Close netlogon connection if the status returned by the ↵Matthieu Patou2012-02-271-1/+20
| | | | | | | | | | | | | NetrSamLogonEx call is timeout in the pam_auth_crap path If not the child process would hang for quite a long time up to the moment when the connection is cleaned by the kernel (took ~ 20 minutes) in my tests. Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Feb 27 23:10:03 CET 2012 on sn-devel-104
* s3:torture/test_smb2: show that a session is not valid for path based calls ↵Stefan Metzmacher2012-02-271-0/+16
| | | | | | | | | during reauth metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Feb 27 16:29:02 CET 2012 on sn-devel-104
* s3:torture/test_smb2: show that a session is valid during a multi-leg reauthStefan Metzmacher2012-02-271-0/+6
| | | | metze
* s3:torture/test_smb2: fix missleading file name in reauth testStefan Metzmacher2012-02-271-1/+1
| | | | metze
* libcli/smb/smb2_signing: pass down 'protocol' to smb2_signing_[sign|check]_pdu()Stefan Metzmacher2012-02-275-2/+15
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Feb 27 14:26:32 CET 2012 on sn-devel-104
* libcli/smb/smb2_signing: rename session_key to signing_keyStefan Metzmacher2012-02-272-9/+9
| | | | metze
* libcli/smb/smbXcli: remove unused if statement from ↵Stefan Metzmacher2012-02-271-3/+1
| | | | | | smb2cli_conn_dispatch_incoming() metze
* s4:libcli/smb2: remove unused 'session_key' from struct smb2_sessionStefan Metzmacher2012-02-272-4/+5
| | | | metze
* s4:librpc/dcerpc_smb2: make use of smb2cli_session_application_key()Stefan Metzmacher2012-02-271-2/+13
| | | | metze
* libcli/smb/smbXcli: add smb2cli_session_application_key()Stefan Metzmacher2012-02-272-0/+28
| | | | metze
* libcli/smb/smbXcli: maintain smb2 channel_signing_key separate from the ↵Stefan Metzmacher2012-02-275-73/+146
| | | | | | | | | | | | | | | signing_key The signing_key is fix across all channels and is used for session setups on a channel binding. Note: - the last session setup response is signed with the new channel signing key. - the reauth session setups are signed with the channel signing key. It's also not needed to remember the main session key. metze
* libcli/smb/smbXcli: remove unused checks from smb2cli_session_create_channel()Stefan Metzmacher2012-02-271-11/+0
| | | | metze
* s3:torture/test_smb2: remove explicit smb2_signing_check_pdu()Stefan Metzmacher2012-02-271-6/+0
| | | | | | | smb2cli_session_set_session_key() already checks the signature and that function really knows the signing key. metze
* s3:torture/test_smb2: a reauth doesn't update the session/signing keyStefan Metzmacher2012-02-271-17/+0
| | | | metze
* lib/crypto: fix hmac_sha256_final() prototypeStefan Metzmacher2012-02-271-1/+1
| | | | metze