summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-03-10samba.tests.samba_tool.base: Avoid unnecessary call to ↵Jelmer Vernooij1-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
2012-03-10samba.tests.samba_tool.user: Remove unused imports.Jelmer Vernooij1-2/+0
2012-03-10Ensure the right tsocket.h is included.Jeremy Allison1-1/+1
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Mar 10 03:47:04 CET 2012 on sn-devel-104
2012-03-09Fix up Christian Ambach's multi-credit code - the CreditCharge field is a ↵Jeremy Allison1-2/+2
16-bit int read, not a 32-bit one.
2012-03-09s3:smb2_server validate message ids with largemtuChristian Ambach1-27/+56
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-03-09s3:smb2_server verify creditchargeChristian Ambach6-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>
2012-03-09s3:smb2_server add function to verify creditchargeChristian Ambach2-0/+42
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-03-09s3:smb2_server: announce LargeMTU for SMB2.1Christian Ambach1-4/+27
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-03-09s3:smb2_server increase defaults for read/write/trans sizes to 1MBChristian Ambach1-3/+3
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-03-09s3:smb2_server: add supports_multicredit to sconnChristian Ambach1-0/+1
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-03-09s3:smb2_server use the correct variables for max read/writeChristian Ambach1-2/+2
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-03-10Fix bug #8797 - Samba does not correctly handle DENY ACEs when privileges apply.Richard Sharpe1-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
2012-03-09s3: asprintf->talloc_asprintfVolker Lendecke1-4/+6
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Fri Mar 9 19:01:06 CET 2012 on sn-devel-104
2012-03-09s3: Replace a SMB_ASSERT with an error returnVolker Lendecke1-1/+5
2012-03-09s3: Remove some superfluous ()Volker Lendecke1-1/+1
2012-03-09s4 dns: Add support for PTR queries.Kai Blin1-1/+5
Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Fri Mar 9 12:27:38 CET 2012 on sn-devel-104
2012-03-09s4-librpc: Remove unused new_evAndrew Bartlett1-3/+0
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Mar 9 07:18:45 CET 2012 on sn-devel-104
2012-03-09auth/ntlmssp: Remove reference to struct ntlmssp_stateAndrew Bartlett1-6/+1
2012-03-09auth/ntlmssp: Remove gensec_security element from gensec_ntlmssp_stateAndrew Bartlett5-11/+8
This just means there is one less pointer to ensure we initialise. Andrew Bartlett
2012-03-09selftest: mark samba3.smb2.session tests as knownfail instead of skipStefan Metzmacher2-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
2012-03-08s4:torture/smb2: avoid hanging in smb2.session.reconnect against sambaStefan Metzmacher1-8/+12
Now we fail the test directly instead of waiting for oplocks to timeout. Pair-Programmed-With: Gregor Beck <gbeck@sernet.de> metze
2012-03-08auth/kerberos: Fall back to gsskrb5_get_subkey if we did not get the key typeAndrew Bartlett1-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
2012-03-08auth/kerberos: Ensure we do not print invalid memory in failure caseAndrew Bartlett1-4/+1
This codeblock may not have any set->elements, so we should not print them. Copy&paste in the original code. Andrew Bartlett
2012-03-08wintest: continue turning over VMs...Andrew Bartlett1-4/+4
2012-03-08dlz_bind9: Log Samba DEBUG() messages to the bind9 logsAndrew Bartlett1-2/+29
2012-03-08lib/util: Add a callback facility for debug messagesAndrew Bartlett2-14/+52
This will allow dlz_bind9 to put log messages somewhere useful, which may make it easier to debug. Andrew Bartlett
2012-03-08s3-auth: Remove single-implementation plugin layerAndrew Bartlett5-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
2012-03-08s3-auth: Follow auth_ntlmssp and use auth4_context for Session SetupAndrew Bartlett4-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
2012-03-08selftest: add more tests for different authentication codepathsAndrew Bartlett2-0/+5
2012-03-08autobuild: Enable standalone tdb2 testsAmitay Isaacs1-1/+10
Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Thu Mar 8 09:32:24 CET 2012 on sn-devel-104
2012-03-08failtest: don't assume FD_SETSIZE is maximum runtime fd.Rusty Russell3-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
2012-03-08s4-selftest: create the st/provision if it didn't exists alreadyMatthieu Patou1-0/+2
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Thu Mar 8 00:25:24 CET 2012 on sn-devel-104
2012-03-07s4-upgradeprovision: Add options to do a DB backup only and not to fix acls ↵Matthieu Patou1-17/+26
in sysvol
2012-03-07Change default protocol to SMB2_02.Jeremy Allison2-4/+18
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Mar 7 22:41:21 CET 2012 on sn-devel-104
2012-03-07s3: piddir creation fix part 2.Ira Cooper2-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>
2012-03-07addns: Fix the Solaris/Illumos build.Ira Cooper4-0/+12
uuid_t is not defined without including sys/uuid.h, configure+waf checks added. Signed-off-by: Jeremy Allison <jra@samba.org>
2012-03-07s3: piddir creation fix.Ira Cooper1-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>
2012-03-07s4:librpc/rpc: make dcerpc_bh_raw_call_* more robust against disconnects and ↵Stefan Metzmacher1-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
2012-03-07s4:librpc/rpc: make dcerpc_bh_is_connected() more robustStefan Metzmacher1-0/+8
metze
2012-03-07s3-rpc_server: Do not register embedded ncacn_np endpoints by defaultAndrew Bartlett2-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
2012-03-07s3-rpc_server: Register embedded RPC services after starting lsasd and spoolssdAndrew Bartlett1-4/+4
This ensures that these services are not accidentally registered in these child processes. Andrew Bartlett
2012-03-07s4-smb_server: Put error from share_get_config() into the logsAndrew Bartlett1-1/+1
2012-03-07s3-rpc_server: Do not setup ncalrpc pipes and TCP for embedded rpc serversAndrew Bartlett2-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
2012-03-07selftest: Only run s3dc with a forked lsasdAndrew Bartlett1-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
2012-03-07s3-smbd make change_to_user_by_session staticAndrew Bartlett2-4/+2
2012-03-07selftest: mark samba4.smb2.getinfo.getinfo as knownfailStefan Metzmacher1-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
2012-03-07s4:torture: smb2.getinfo test return status of stream creationGregor Beck1-2/+6
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-03-07s4:torture/smb2: add simple smb2.session.reauth testGregor Beck1-0/+57
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-03-07s4:libcli/smb2: allow smb2_session_setup_spnego to handle reauthGregor Beck1-0/+12
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-03-07s4-libcli: pysmb: Fix typo in secinfo_flagsAmitay Isaacs1-1/+1
Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Wed Mar 7 10:56:09 CET 2012 on sn-devel-104