summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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
2012-03-07lib/tdb2: add --valgrind, --valgrind-log options.Rusty Russell1-1/+13
Not used by default, since it slows down testing (on my laptop) from 22 seconds to 2 minutes 30 seconds. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Wed Mar 7 04:57:21 CET 2012 on sn-devel-104
2012-03-07lib/tdb2: wire up unit tests.Rusty Russell2-1/+81
The tests are ccan-style, so the names tell how to link them. This logic is generic, and could be moved to wafsamba, cleaned up, and used elsewhere. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2012-03-07lib/tdb2: adapt unit tests to SAMBA environment.Rusty Russell89-147/+234
This means changing headers, implementing a simple tap-like wrapper, and also splitting out the helpers into those which are linked with the api* tests (which can't use non-public tdb2 functions) and those linked with the run* tests (which can). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2012-03-07lib/ccan: import failtest and required ccan modules for TDB2 unit tests.Rusty Russell69-0/+7608
New modules: failtest, list, time, read_write_all and tlist. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2012-03-07s3:selftest: ask smbtorture4 for smb2 testsGregor Beck1-2/+9
Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Mar 7 01:34:05 CET 2012 on sn-devel-104
2012-03-06selftest: skip samba3.smb2.scan because they are no testsGregor Beck1-0/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-03-06selftest: remove samba3.smb2.*scan from knownfailGregor Beck1-2/+0
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-03-06s4:torture make a suite for smb2.*scanGregor Beck2-8/+19
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-03-06s4:torture: print ntstatus on failure of setup complex file in smb2 ↵Gregor Beck1-3/+6
setinfo/getinfo scan Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-03-06s4:torture: use different filenames for smb2 setinfo and getinfo scanGregor Beck1-7/+11
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-03-06s4:torture: cleanup after smb2 setinfo scanGregor Beck1-0/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-03-06s4:torture: cleanup after smb2 getinfo scanGregor Beck1-0/+3
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-03-06selftest: skip samba3.smb2.session because it hangsGregor Beck1-0/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-03-06selftest: skip samba3.smb2.hold-oplock because its not a testGregor Beck1-0/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-03-06selftest: mark samba3.smb2.ioctl tests knownfailGregor Beck1-0/+7
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-03-06selftest: mark samba3.smb2.durable-v2-open tests as knownfailStefan Metzmacher1-0/+4
metze