summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-03-01heimdal: Fix the build on FreeBSDVolker Lendecke1-1/+1
We don't have BACKTRACE_SYMBOLS by default
2012-03-01Add open_dir_with_privilege() to ensure we're opening the correct directory ↵Jeremy Allison5-3/+72
when doing backup requests. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Mar 1 03:50:40 CET 2012 on sn-devel-104
2012-02-29Implement FLAG_TRANS2_FIND_BACKUP_INTENT for trans2 with privileges.Jeremy Allison1-4/+46
2012-02-29Add accessor functions to set a bool "priv" on a directory handle. Not yet ↵Jeremy Allison2-0/+13
used, but will be part of FLAG_TRANS2_FIND_BACKUP_INTENT code.
2012-02-29Add the implementation of check_reduced_name_with_privilege(). Now to plumb intoJeremy Allison5-8/+177
SMB1 requests.
2012-02-29Add check_reduced_name_with_privilege(), filename_convert_with_privilege() ↵Jeremy Allison3-5/+103
(currently unimplemented) in order to prepare for adding SeBackup/SeRestore code to the main fileserver. Not yet plumbed into the main SMB1/SMB2 code.
2012-02-29selftest: add more tests for plugin_s4_dcAndrew Bartlett1-2/+2
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Feb 29 12:14:05 CET 2012 on sn-devel-104
2012-02-29selftest: change plugin_dc to test using s3fsAndrew Bartlett2-79/+9
2012-02-29selftest: skip the troublesome samba4.rpc.unixinfo testAndrew Bartlett1-0/+2
The issue here is that while the single rpc_server process is stuck in an nss_winbind getpwuid() call, winbindd cannot contact netlogon to make the connection to the domain. nss_winbind comes into play when (for s3fs) the NSS_WRAPPER_WINBIND_SO_PATH environment variable is set. In the medium term, the unixinfo pipe should either be rewritten fully async or removed. Andrew Bartlett
2012-02-29s4:winbind: use ncalrpc for connections to ourselfStefan Metzmacher2-7/+38
That avoids recursion if "smbd" is used as file server. metze
2012-02-29selftest: Do not run chgdcpass test on the main DCAndrew Bartlett2-1/+47
If winbindd has it's password changed from under it, it becomes grumpy. Andrew Bartlett
2012-02-29s4-winbindd: Do not ask for a tree that we will not useAndrew Bartlett1-4/+0
2012-02-29testsuite: Replace deprecated bzero with memsetAmitay Isaacs143-347/+347
This fixes build issues on solaris reported in bug #8767. https://bugzilla.samba.org/show_bug.cgi?id=8767 Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Wed Feb 29 10:39:10 CET 2012 on sn-devel-104
2012-02-29libcli/smb/smb2_signing: rename smb2_key_deviration -> smb2_key_derivationMichael Adam3-5/+5
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Wed Feb 29 09:01:54 CET 2012 on sn-devel-104
2012-02-29s3:torture/test_smb2: test path based calls during reauth in SMB2-MULTI-CHANNELStefan Metzmacher1-3/+51
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Feb 29 07:23:14 CET 2012 on sn-devel-104
2012-02-29s3:torture/test_smb2: test handle based calls during reauth in ↵Stefan Metzmacher1-0/+18
SMB2-MULTI-CHANNEL metze
2012-02-29s3:torture/test_smb2: do a reauth over multiple channels in SMB2-MULTI-CHANNELStefan Metzmacher1-0/+100
metze
2012-02-29s3:torture/test_smb2: add a 3rd channel to SMB2-MULTI-CHANNELStefan Metzmacher1-1/+154
metze
2012-02-29s3:torture/test_smb2: expect FILE_CLOSED on invalid handles in ↵Stefan Metzmacher1-2/+4
SMB2-MULTI-CHANNEL metze
2012-02-29s4:torture/smb2: remove unused varStefan Metzmacher1-1/+0
metze
2012-02-29libcli/smb/smbXcli: use smb2_key_deviration() to setup SMB 2.24 keysStefan Metzmacher1-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
2012-02-29libcli/smb/smb2_signing: implement aes_cmac_128 based signing for SMB 2.24Stefan Metzmacher1-18/+58
metze
2012-02-29libcli/smb/smb2_signing: add smb2_key_deviration()Stefan Metzmacher2-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
2012-02-29lib/crypto: add aes_cmac_128_test.c as local.crypto.aes_cmac_128 testStefan Metzmacher3-1/+95
metze
2012-02-29lib/crypto: add aes_cmac_128* (rfc 4493)Stefan Metzmacher5-5/+233
Thanks to Jeremy, Michael and Volker for the debugging! metze
2012-02-29s3: Introduce "req" helper var in reply_lockingX_successVolker Lendecke1-3/+5
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Wed Feb 29 03:08:53 CET 2012 on sn-devel-104
2012-02-29s3: Fix a const warningVolker Lendecke1-1/+1
2012-02-29s3: Add a test that makes a chained open break an oplockVolker Lendecke6-0/+299
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Wed Feb 29 01:13:03 CET 2012 on sn-devel-104
2012-02-28s3: More fix for smbd -iVolker Lendecke1-1/+1
We need a full re-initialize, otherwise we don't re-init the USR1 signal handler
2012-02-28Fix problem reported by Tom Lee <tlee2951@gmail.com> - when calculatingJeremy Allison1-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
2012-02-28torture: added samba4-ntvfs targetAndrew Tridgell1-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
2012-02-28s3fs: when samba is logging to stdout, ask smbd to also do soAndrew Tridgell1-1/+3
this prevents make test getting spurious errors about opening log files in the install prefix
2012-02-28smbd: detect EOF on stdin in --foreground modeAndrew Tridgell1-0/+25
if EOF is detected on stdin then exit
2012-02-28selftest: added a pipe on stdin in s3 child processesAndrew Tridgell1-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.
2012-02-28s3fs: added file_server directoryAndrew Tridgell5-0/+161
this contains a file server backend that forks and starts smbd Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2012-02-28s4-smb_server Remove inetd-mode samba3 hookAndrew Bartlett2-191/+0
2012-02-28upgradedns: Missing rename from upgradedns to samba_upgradednsAmitay Isaacs1-1/+1
Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Tue Feb 28 10:06:03 CET 2012 on sn-devel-104
2012-02-28s4:torture:smb2:durable-open: fix a silly access-after-free panicMichael Adam1-7/+0
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Tue Feb 28 08:33:44 CET 2012 on sn-devel-104
2012-02-28s3:torture/test_smb2: test a tree_connect during reauthStefan Metzmacher1-0/+17
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Feb 28 06:58:44 CET 2012 on sn-devel-104
2012-02-28s3:torture/test_smb2: check directory listing during reauthStefan Metzmacher1-0/+72
metze
2012-02-28s4:selftest: skip smb2.session testsuiteMichael Adam1-0/+1
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Tue Feb 28 03:19:52 CET 2012 on sn-devel-104
2012-02-28s4:selftest: remove old "samba4.smb2.persistent.handle1" from knownfail - ↵Michael Adam1-1/+0
test does not exist
2012-02-28s4:torture:smb2: add new "session" testsuite starting with a ↵Michael Adam3-1/+145
session.reconnect test
2012-02-28s4:torture:smb2: add durable_open.reopen2a - variant of reopen2 with session ↵Michael Adam1-0/+77
reconnect
2012-02-28s4:torture:smb2: add torture_smb2_connection_ext() that takes previous_sessionMichael Adam1-13/+25
2012-02-28s4:libcli:smb2: add a smb2_connect_ext variant of smb2_connect that takes a ↵Michael Adam1-12/+36
previous_session argument
2012-02-28s4:libcli:smb2: add a previous session argument to smb2_connect_send()Michael Adam2-1/+6
2012-02-28s4:torture:smb2: add previous_session argument to torture_smb2_session_setup()Michael Adam2-2/+6
To allow for doing a session reconnect
2012-02-28s4:libcli:smb2: add a previous session argument to smb2_session_setup_spnego()Michael Adam3-10/+18
So that we can do a session reconnect.
2012-02-28s3:libsmb:smb2: pass previous session ID to session setup, not previous sessionMichael Adam5-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...).