summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* lib/tdb: fix tests for standalone out-of-tree.Rusty Russell2012-03-101-1/+2
| | | | | | | | | | | | Commit 4d58d0fa8f936e7efdc02e31c053d42a47b3e62a didn't work for lib/tdb outside the build tree: symlink was pointing to wrong place. Copy simplification from lib/tdb2, and fix the build farm. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Autobuild-User: Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date: Sat Mar 10 07:07:45 CET 2012 on sn-devel-104
* samba.tests.samba_tool.base: Avoid unnecessary call to ↵Jelmer Vernooij2012-03-101-2/+1
| | | | | | | testtools.matchers.Contains. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Mar 10 05:27:51 CET 2012 on sn-devel-104
* samba.tests.samba_tool.user: Remove unused imports.Jelmer Vernooij2012-03-101-2/+0
|
* Ensure the right tsocket.h is included.Jeremy Allison2012-03-101-1/+1
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Mar 10 03:47:04 CET 2012 on sn-devel-104
* Fix up Christian Ambach's multi-credit code - the CreditCharge field is a ↵Jeremy Allison2012-03-091-2/+2
| | | | 16-bit int read, not a 32-bit one.
* s3:smb2_server validate message ids with largemtuChristian Ambach2012-03-091-27/+56
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3:smb2_server verify creditchargeChristian Ambach2012-03-096-0/+37
| | | | | | | for all requests that have max_???? checks, also do a check of the creditcharge the client has sent (when using largemtu) Signed-off-by: Jeremy Allison <jra@samba.org>
* s3:smb2_server add function to verify creditchargeChristian Ambach2012-03-092-0/+42
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3:smb2_server: announce LargeMTU for SMB2.1Christian Ambach2012-03-091-4/+27
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3:smb2_server increase defaults for read/write/trans sizes to 1MBChristian Ambach2012-03-091-3/+3
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3:smb2_server: add supports_multicredit to sconnChristian Ambach2012-03-091-0/+1
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3:smb2_server use the correct variables for max read/writeChristian Ambach2012-03-091-2/+2
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* Fix bug #8797 - Samba does not correctly handle DENY ACEs when privileges apply.Richard Sharpe2012-03-101-26/+28
| | | | | | | Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Mar 10 01:33:45 CET 2012 on sn-devel-104
* s3: asprintf->talloc_asprintfVolker Lendecke2012-03-091-4/+6
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Fri Mar 9 19:01:06 CET 2012 on sn-devel-104
* s3: Replace a SMB_ASSERT with an error returnVolker Lendecke2012-03-091-1/+5
|
* s3: Remove some superfluous ()Volker Lendecke2012-03-091-1/+1
|
* s4 dns: Add support for PTR queries.Kai Blin2012-03-091-1/+5
| | | | | Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Fri Mar 9 12:27:38 CET 2012 on sn-devel-104
* s4-librpc: Remove unused new_evAndrew Bartlett2012-03-091-3/+0
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Mar 9 07:18:45 CET 2012 on sn-devel-104
* auth/ntlmssp: Remove reference to struct ntlmssp_stateAndrew Bartlett2012-03-091-6/+1
|
* auth/ntlmssp: Remove gensec_security element from gensec_ntlmssp_stateAndrew Bartlett2012-03-095-11/+8
| | | | | | This just means there is one less pointer to ensure we initialise. Andrew Bartlett
* selftest: mark samba3.smb2.session tests as knownfail instead of skipStefan Metzmacher2012-03-092-1/+2
| | | | | | | | | Pair-Programmed-With: Gregor Beck <gbeck@sernet.de> metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Mar 9 02:34:38 CET 2012 on sn-devel-104
* s4:torture/smb2: avoid hanging in smb2.session.reconnect against sambaStefan Metzmacher2012-03-081-8/+12
| | | | | | | | Now we fail the test directly instead of waiting for oplocks to timeout. Pair-Programmed-With: Gregor Beck <gbeck@sernet.de> metze
* auth/kerberos: Fall back to gsskrb5_get_subkey if we did not get the key typeAndrew Bartlett2012-03-081-4/+23
| | | | | | | | | | The key type OID is optional, but we require that information to determine if we should use NEW_SPNEGO. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Mar 8 11:53:57 CET 2012 on sn-devel-104
* auth/kerberos: Ensure we do not print invalid memory in failure caseAndrew Bartlett2012-03-081-4/+1
| | | | | | This codeblock may not have any set->elements, so we should not print them. Copy&paste in the original code. Andrew Bartlett
* wintest: continue turning over VMs...Andrew Bartlett2012-03-081-4/+4
|
* dlz_bind9: Log Samba DEBUG() messages to the bind9 logsAndrew Bartlett2012-03-081-2/+29
|
* lib/util: Add a callback facility for debug messagesAndrew Bartlett2012-03-082-14/+52
| | | | | | | This will allow dlz_bind9 to put log messages somewhere useful, which may make it easier to debug. Andrew Bartlett
* s3-auth: Remove single-implementation plugin layerAndrew Bartlett2012-03-085-19/+50
| | | | | | | | The ->get_ntlm_challenge and ->check_ntlm_password elements of struct auth_context were only ever initialised to a single value. Make it easier to follow by just calling the function directly. Andrew Bartlett
* s3-auth: Follow auth_ntlmssp and use auth4_context for Session SetupAndrew Bartlett2012-03-084-55/+32
| | | | | | | | | | This patch ensures consistency in behaviour between NTLMSSP and NTLM session setup handlers. By calling the same layer that auth_ntlmssp calls, we can not only allow redirection of all authentication to the AD DC, we ensure that map to guest and username map handling is consistent, even in the file server alone. Andrew Bartlett
* selftest: add more tests for different authentication codepathsAndrew Bartlett2012-03-082-0/+5
|
* autobuild: Enable standalone tdb2 testsAmitay Isaacs2012-03-081-1/+10
| | | | | Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Thu Mar 8 09:32:24 CET 2012 on sn-devel-104
* failtest: don't assume FD_SETSIZE is maximum runtime fd.Rusty Russell2012-03-083-3/+68
| | | | | | | | | | | | | This breaks when rlimit is less. Unfortunately, valgrind (32 bit x86, 3.7.0.SVN, Ubuntu) fails to set the file limit properly on the test: reducing it to the obvious getrlimit/setrlimit/getrlimit works fine, so leaving diagnostics for another day. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (Imported from CCAN commit a85a809bb17af6b6cf6fa31b300c6622f64ee700) Autobuild-User: Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date: Thu Mar 8 06:30:48 CET 2012 on sn-devel-104
* s4-selftest: create the st/provision if it didn't exists alreadyMatthieu Patou2012-03-081-0/+2
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Thu Mar 8 00:25:24 CET 2012 on sn-devel-104
* s4-upgradeprovision: Add options to do a DB backup only and not to fix acls ↵Matthieu Patou2012-03-071-17/+26
| | | | in sysvol
* Change default protocol to SMB2_02.Jeremy Allison2012-03-072-4/+18
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Mar 7 22:41:21 CET 2012 on sn-devel-104
* s3: piddir creation fix part 2.Ira Cooper2012-03-072-0/+8
| | | | | | | Since the piddir got moved from the lockdir by default, the default piddir wasn't getting created, stopping some configurations from running. Signed-off-by: Jeremy Allison <jra@samba.org>
* addns: Fix the Solaris/Illumos build.Ira Cooper2012-03-074-0/+12
| | | | | | uuid_t is not defined without including sys/uuid.h, configure+waf checks added. Signed-off-by: Jeremy Allison <jra@samba.org>
* s3: piddir creation fix.Ira Cooper2012-03-071-0/+3
| | | | | | | Since the piddir got moved from the lockdir by default, the default piddir wasn't getting created stopping some configurations from running. Signed-off-by: Jeremy Allison <jra@samba.org>
* s4:librpc/rpc: make dcerpc_bh_raw_call_* more robust against disconnects and ↵Stefan Metzmacher2012-03-071-0/+15
| | | | | | | | | | | | timeouts Using tevent_req_defer_callback() should make the situation a bit better, until we have a common robust low level dcerpc library. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Mar 7 18:44:24 CET 2012 on sn-devel-104
* s4:librpc/rpc: make dcerpc_bh_is_connected() more robustStefan Metzmacher2012-03-071-0/+8
| | | | metze
* s3-rpc_server: Do not register embedded ncacn_np endpoints by defaultAndrew Bartlett2012-03-072-1/+9
| | | | | | | | | | | | | | The end point mapper is primarily in support of lsasd, and the key SAMR, LSA and NETLOGON services being accessed over TCP/IP. The end point mapper does not appear to be used for the well-known mappings to named pipes, and we have a problem with how to safely register the embedded pipes. For now, disable this to avoid re-registration storms in production, until we sort out a better way. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Mar 7 14:27:38 CET 2012 on sn-devel-104
* s3-rpc_server: Register embedded RPC services after starting lsasd and spoolssdAndrew Bartlett2012-03-071-4/+4
| | | | | | | This ensures that these services are not accidentally registered in these child processes. Andrew Bartlett
* s4-smb_server: Put error from share_get_config() into the logsAndrew Bartlett2012-03-071-1/+1
|
* s3-rpc_server: Do not setup ncalrpc pipes and TCP for embedded rpc serversAndrew Bartlett2012-03-072-109/+38
| | | | | | | | | | | | | Embedded RPC services are those not launched in the preforked lsasd and spoolssd children. The reason that these child processes were created is that is is not possible to correctly listen for ncalrpc and TCP connections without creating a child process. Therefore, we should not have these embedded RPC services to listen on these sockets just because the endpoint mapper has been enabled. Andrew Bartlett
* selftest: Only run s3dc with a forked lsasdAndrew Bartlett2012-03-071-11/+11
| | | | | | | | | | | This ensures that we run ktest, member and s3member in the default configuration, to try and cover both code paths. (This does not change the tests being run, but at least the initialisation code will be checked, plus whatever the rpcclient test can cover). Andrew Bartlett
* s3-smbd make change_to_user_by_session staticAndrew Bartlett2012-03-072-4/+2
|
* selftest: mark samba4.smb2.getinfo.getinfo as knownfailStefan Metzmacher2012-03-071-0/+1
| | | | | | | | | Samba4 seems to have problems with streams on directories. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Mar 7 12:44:10 CET 2012 on sn-devel-104
* s4:torture: smb2.getinfo test return status of stream creationGregor Beck2012-03-071-2/+6
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:torture/smb2: add simple smb2.session.reauth testGregor Beck2012-03-071-0/+57
| | | | | | Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:libcli/smb2: allow smb2_session_setup_spnego to handle reauthGregor Beck2012-03-071-0/+12
| | | | | | Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>