Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-03-04 | s3: Fix some && vs & warnings | Volker Lendecke | 1 | -3/+3 | |
Signed-off-by: Andreas Schneider <asn@samba.org> Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Sun Mar 4 13:31:25 CET 2012 on sn-devel-104 | |||||
2012-03-04 | selftest: Rework Samba3.pm process termination | Andrew Bartlett | 1 | -15/+23 | |
We now store the timelimit child PID in memory, and confirm that the child has exited with both waitpid() and kill(0, $pid). By calling Samba::cleanup_child() we get exit status information. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sun Mar 4 11:51:12 CET 2012 on sn-devel-104 | |||||
2012-03-04 | selftest: Rework Samba4.pm process termination. | Andrew Bartlett | 1 | -6/+23 | |
We now double-check the waitpid() result with kill(0, $pid) We now also send a SIGTERM, then a SIGKILL. Andrew Bartlett | |||||
2012-03-04 | selftest: Fix waitpid termination test | Andrew Bartlett | 1 | -2/+2 | |
2012-03-04 | selftest: Use fork()/exec() rather than system() | Andrew Bartlett | 2 | -71/+59 | |
This follows the Samba3.pm model for starting child processes is to use fork()/exec(). This reduces the number of processes being created by selftest.pl, and gives us more information about the child process and the running state in the parent. Andrew Bartlett | |||||
2012-03-04 | s3-winbindd: Add stdin handler for winbind | Andrew Bartlett | 2 | -3/+48 | |
This will help avoid runaway processes in the test env, particularly when the whole selftest.pl is killed. Andrew Bartlett | |||||
2012-03-04 | s3-nmbd: Add stdin handler for nmbd | Andrew Bartlett | 1 | -0/+33 | |
This will help avoid runaway processes in the test env, particularly when the whole selftest.pl is killed. Andrew Bartlett | |||||
2012-03-04 | change low FDs are handled in Samba | Andrew Bartlett | 7 | -31/+25 | |
We now only close fds 0, 1, 2 when we are a forked daemon, and take care not to close a file descriptor that we might need for foreground stdin monitoring. This should fix stdout logging in the lsa and epmapper deamons (ie in make test). Andrew Bartlett | |||||
2012-03-04 | s3: don't replace the error message if already defined | Matthieu Patou | 1 | -3/+5 | |
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sun Mar 4 10:13:24 CET 2012 on sn-devel-104 | |||||
2012-03-04 | s3: print a nice warning when HAVE_ADS is not enabled but you still try to ↵ | Matthieu Patou | 1 | -0/+5 | |
do net rpc keytab vampire | |||||
2012-03-04 | selftest: Remove unused vde functions. | Jelmer Vernooij | 1 | -25/+0 | |
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Mar 4 07:54:51 CET 2012 on sn-devel-104 | |||||
2012-03-04 | selftest/README: Expand inconsistent tabs | Jelmer Vernooij | 1 | -11/+11 | |
2012-03-04 | selftest: Remove outdated template. | Jelmer Vernooij | 1 | -47/+0 | |
2012-03-04 | selftest: Remove unused and broken target 'windows'. | Jelmer Vernooij | 2 | -46/+0 | |
2012-03-04 | samba.7: Remove references to long gone testprns and smbsh utilities. | Jelmer Vernooij | 1 | -18/+0 | |
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Mar 4 01:56:19 CET 2012 on sn-devel-104 | |||||
2012-03-03 | s3: Fix a bogus if (client_len < 0) | Volker Lendecke | 1 | -1/+1 | |
On some platforms socklen_t might be unsigned, so comparing for <0 always returns true. Also, tsocket_address_bsd_sockaddr returns ssize_t. Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Sat Mar 3 23:38:31 CET 2012 on sn-devel-104 | |||||
2012-03-03 | selftest: more precisely skip durable-open, not durable.open | Michael Adam | 1 | -1/+1 | |
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Sat Mar 3 19:17:32 CET 2012 on sn-devel-104 | |||||
2012-03-03 | s4:torture:smb2: start a testsuite for durable v2 handles: durable and ↵ | Michael Adam | 4 | -1/+557 | |
persistent opens | |||||
2012-03-03 | s4:libcli:smb2: set SMB2_CAP_ALL in the negprot | Michael Adam | 1 | -1/+5 | |
2012-03-03 | s3:libsmb: pass smb2 capabilities and client guid in cli_state_create() | Stefan Metzmacher | 1 | -2/+7 | |
metze Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2012-03-03 | s4:libcli:smb2: store the share capabilites in the smb2_tree object | Michael Adam | 3 | -0/+3 | |
2012-03-03 | smbXcli: add the possiblilty to negotiate client capabilites in smb >= 2.2 | Michael Adam | 5 | -6/+17 | |
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> | |||||
2012-03-03 | s4:libcli:smb2: allow max protocol 0x0224 | Michael Adam | 1 | -1/+1 | |
2012-03-03 | s4:libcli:smb2: add support for parsing the durable handle v2 response in ↵ | Michael Adam | 1 | -0/+19 | |
smb2_create_recv() | |||||
2012-03-03 | s4:libcli:smb2: add support durable handle reconnect v2 blob in smb2_create_send | Michael Adam | 1 | -0/+27 | |
2012-03-03 | s4:libcli:smb2: add support durable handle request v2 blob in smb2_create_send | Michael Adam | 1 | -0/+28 | |
2012-03-03 | s4:libcli:smb2: add durable handle v2 data to the smb2_create i/o structure | Michael Adam | 1 | -0/+13 | |
2012-03-03 | libcli:smb: define SMB2_DHANDLE_FLAG_PERSISTENT | Michael Adam | 1 | -0/+5 | |
2012-03-03 | libcli:smb: add new SMB2 share flags | Michael Adam | 1 | -1/+5 | |
* FORCE_LEVELII_OPLOCKS * ENABLE_HASH_V1 * ENABLE_HASH_V2 * ENCRYPT_DATA | |||||
2012-03-03 | libcli:smb: upgrade SMB2_CAP_ALL to include the newly known caps | Michael Adam | 1 | -1/+8 | |
2012-03-03 | libcli:smb: add defines for SMB2.2 share capabilities | Michael Adam | 1 | -1/+4 | |
* continuous avaliability * cluster * scaleout | |||||
2012-03-03 | libcli:smb: add defines for SMB2.2 global capabilities | Michael Adam | 1 | -4/+9 | |
* multi channel * persistent handles * directory leasing * encryption | |||||
2012-03-03 | libcli:smb: define DH2Q and DH2C tags for smb2 extra create blobs | Michael Adam | 1 | -0/+2 | |
These are the tags for the SMB2_CREATE_DURABLE_HANDLE_REQUEST_V2 and SMB2_CREATE_DURABLE_HANDLE_RECONNECT_V2, the second version of the SMB2_CREATE_DURABLE_HANDLE_REQUEST (DHnQ) and SMB2_CREATE_DURABLE_HANDLE_RECONNECT (DHnC), which are only available for SMB 2.2 (and newer). | |||||
2012-03-03 | s4:torture:smb2: rename some of the durable-handle subtests more systematically | Michael Adam | 1 | -34/+34 | |
2012-03-03 | s4:torture:smb2:durable_open: update (C) | Michael Adam | 1 | -0/+1 | |
2012-03-03 | s4:torture:smb2:durable-open: skip the open-with-lease test on servers ↵ | Stefan Metzmacher | 1 | -0/+6 | |
without lease support Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2012-03-03 | s4:torture:smb2: durable-open: make tables static | Michael Adam | 1 | -2/+2 | |
2012-03-03 | s4:test:smb2:durable_open: skip lease tests when the server does not support ↵ | Stefan Metzmacher | 1 | -0/+25 | |
leases Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2012-03-03 | s4:torture:smb2:durable_open: remove unused lease variables in the ↵ | Stefan Metzmacher | 1 | -4/+0 | |
open-oplock test Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2012-03-03 | s3:smbd:smb2_write: improve logging in the error case | Michael Adam | 1 | -4/+14 | |
2012-03-03 | s4:samba-tool domain level raise command - reference SAMDB object correctly | Matthias Dieter Wallnöfer | 1 | -3/+3 | |
https://bugzilla.samba.org/show_bug.cgi?id=8787 Reviewed-by: Jelmer Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sat Mar 3 12:54:21 CET 2012 on sn-devel-104 | |||||
2012-03-03 | smb2_constants: fix a typo | Christian Ambach | 1 | -1/+1 | |
Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Sat Mar 3 09:04:40 CET 2012 on sn-devel-104 | |||||
2012-03-02 | s3:smb2_server: use SMB2_WATCH_TREE | Christian Ambach | 1 | -1/+1 | |
it makes the code easier to understand if it uses the names specified in MS-SMB2 instead of just the underlying values | |||||
2012-03-02 | smb2_constants: add SMB2_WATCH_TREE | Christian Ambach | 1 | -0/+3 | |
2012-03-02 | s3:smb2_server fix a typo | Christian Ambach | 1 | -1/+1 | |
2012-03-03 | s3: Fix some blank line endings | Volker Lendecke | 1 | -5/+5 | |
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Sat Mar 3 03:41:03 CET 2012 on sn-devel-104 | |||||
2012-03-03 | examples: Make examples/VFS/Makefile.in FreeBSD-friendly | Volker Lendecke | 1 | -6/+14 | |
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Sat Mar 3 00:53:43 CET 2012 on sn-devel-104 | |||||
2012-03-02 | SEGV in acl_validate_spn_value: dnsHostName NULL | Arvid Requate | 1 | -1/+1 | |
This patch addresses a segfault in acl_validate_spn_value which occurs when the "dnsHostName" attribute is missing. This seems to be the case in domains migrated with samba3upgrade. Looks similar to MS KB 817543. Signed-off-by: Nadezhda Ivanova <nivanova@drizzit.(none)> Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Fri Mar 2 21:26:40 CET 2012 on sn-devel-104 | |||||
2012-03-02 | selftest: Rework samba4.blackbox.bogusdomain to use a temporary user | Andrew Bartlett | 2 | -4/+12 | |
This avoids leaving an account in the test environment after the test is run and therefore avoids issues with interations with other tests. Also, we now use the local administrator account in the member server to add the test account. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Mar 2 14:44:36 CET 2012 on sn-devel-104 | |||||
2012-03-02 | selftest: close stdin and wait with waitpid() for a safer exit | Andrew Bartlett | 2 | -2/+36 | |
This avoids timelimit sending kill -9 after 1 second, which may disrupt the writing of gcov data. Andrew Bartlett |