summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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>
* s4-libcli: pysmb: Fix typo in secinfo_flagsAmitay Isaacs2012-03-071-1/+1
| | | | | Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Wed Mar 7 10:56:09 CET 2012 on sn-devel-104
* lib/tdb2: add --valgrind, --valgrind-log options.Rusty Russell2012-03-071-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
* lib/tdb2: wire up unit tests.Rusty Russell2012-03-072-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>
* lib/tdb2: adapt unit tests to SAMBA environment.Rusty Russell2012-03-0789-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>
* lib/ccan: import failtest and required ccan modules for TDB2 unit tests.Rusty Russell2012-03-0769-0/+7608
| | | | | | | New modules: failtest, list, time, read_write_all and tlist. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* s3:selftest: ask smbtorture4 for smb2 testsGregor Beck2012-03-071-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
* selftest: skip samba3.smb2.scan because they are no testsGregor Beck2012-03-061-0/+1
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* selftest: remove samba3.smb2.*scan from knownfailGregor Beck2012-03-061-2/+0
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:torture make a suite for smb2.*scanGregor Beck2012-03-062-8/+19
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:torture: print ntstatus on failure of setup complex file in smb2 ↵Gregor Beck2012-03-061-3/+6
| | | | | | setinfo/getinfo scan Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:torture: use different filenames for smb2 setinfo and getinfo scanGregor Beck2012-03-061-7/+11
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:torture: cleanup after smb2 setinfo scanGregor Beck2012-03-061-0/+1
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:torture: cleanup after smb2 getinfo scanGregor Beck2012-03-061-0/+3
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* selftest: skip samba3.smb2.session because it hangsGregor Beck2012-03-061-0/+1
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* selftest: skip samba3.smb2.hold-oplock because its not a testGregor Beck2012-03-061-0/+1
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* selftest: mark samba3.smb2.ioctl tests knownfailGregor Beck2012-03-061-0/+7
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* selftest: mark samba3.smb2.durable-v2-open tests as knownfailStefan Metzmacher2012-03-061-0/+4
| | | | metze
* selftest: mark samba3.smb2.durable-open.oplock test knownfailGregor Beck2012-03-061-0/+1
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* selftest: mark samba3.smb2.durable-open reopen tests knownfailGregor Beck2012-03-061-0/+5
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* selftest: samba3.smb2.compound.invalid2 worksGregor Beck2012-03-061-1/+0
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>