summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-03-04selftest: Fix waitpid termination testAndrew Bartlett1-2/+2
2012-03-04selftest: Use fork()/exec() rather than system()Andrew Bartlett2-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-04s3-winbindd: Add stdin handler for winbindAndrew Bartlett2-3/+48
This will help avoid runaway processes in the test env, particularly when the whole selftest.pl is killed. Andrew Bartlett
2012-03-04s3-nmbd: Add stdin handler for nmbdAndrew Bartlett1-0/+33
This will help avoid runaway processes in the test env, particularly when the whole selftest.pl is killed. Andrew Bartlett
2012-03-04change low FDs are handled in SambaAndrew Bartlett7-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-04s3: don't replace the error message if already definedMatthieu Patou1-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-04s3: print a nice warning when HAVE_ADS is not enabled but you still try to ↵Matthieu Patou1-0/+5
do net rpc keytab vampire
2012-03-04selftest: Remove unused vde functions.Jelmer Vernooij1-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-04selftest/README: Expand inconsistent tabsJelmer Vernooij1-11/+11
2012-03-04selftest: Remove outdated template.Jelmer Vernooij1-47/+0
2012-03-04selftest: Remove unused and broken target 'windows'.Jelmer Vernooij2-46/+0
2012-03-04samba.7: Remove references to long gone testprns and smbsh utilities.Jelmer Vernooij1-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-03s3: Fix a bogus if (client_len < 0)Volker Lendecke1-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-03selftest: more precisely skip durable-open, not durable.openMichael Adam1-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-03s4:torture:smb2: start a testsuite for durable v2 handles: durable and ↵Michael Adam4-1/+557
persistent opens
2012-03-03s4:libcli:smb2: set SMB2_CAP_ALL in the negprotMichael Adam1-1/+5
2012-03-03s3:libsmb: pass smb2 capabilities and client guid in cli_state_create()Stefan Metzmacher1-2/+7
metze Signed-off-by: Michael Adam <obnox@samba.org>
2012-03-03s4:libcli:smb2: store the share capabilites in the smb2_tree objectMichael Adam3-0/+3
2012-03-03smbXcli: add the possiblilty to negotiate client capabilites in smb >= 2.2Michael Adam5-6/+17
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2012-03-03s4:libcli:smb2: allow max protocol 0x0224Michael Adam1-1/+1
2012-03-03s4:libcli:smb2: add support for parsing the durable handle v2 response in ↵Michael Adam1-0/+19
smb2_create_recv()
2012-03-03s4:libcli:smb2: add support durable handle reconnect v2 blob in smb2_create_sendMichael Adam1-0/+27
2012-03-03s4:libcli:smb2: add support durable handle request v2 blob in smb2_create_sendMichael Adam1-0/+28
2012-03-03s4:libcli:smb2: add durable handle v2 data to the smb2_create i/o structureMichael Adam1-0/+13
2012-03-03libcli:smb: define SMB2_DHANDLE_FLAG_PERSISTENTMichael Adam1-0/+5
2012-03-03libcli:smb: add new SMB2 share flagsMichael Adam1-1/+5
* FORCE_LEVELII_OPLOCKS * ENABLE_HASH_V1 * ENABLE_HASH_V2 * ENCRYPT_DATA
2012-03-03libcli:smb: upgrade SMB2_CAP_ALL to include the newly known capsMichael Adam1-1/+8
2012-03-03libcli:smb: add defines for SMB2.2 share capabilitiesMichael Adam1-1/+4
* continuous avaliability * cluster * scaleout
2012-03-03libcli:smb: add defines for SMB2.2 global capabilitiesMichael Adam1-4/+9
* multi channel * persistent handles * directory leasing * encryption
2012-03-03libcli:smb: define DH2Q and DH2C tags for smb2 extra create blobsMichael Adam1-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-03s4:torture:smb2: rename some of the durable-handle subtests more systematicallyMichael Adam1-34/+34
2012-03-03s4:torture:smb2:durable_open: update (C)Michael Adam1-0/+1
2012-03-03s4:torture:smb2:durable-open: skip the open-with-lease test on servers ↵Stefan Metzmacher1-0/+6
without lease support Signed-off-by: Michael Adam <obnox@samba.org>
2012-03-03s4:torture:smb2: durable-open: make tables staticMichael Adam1-2/+2
2012-03-03s4:test:smb2:durable_open: skip lease tests when the server does not support ↵Stefan Metzmacher1-0/+25
leases Signed-off-by: Michael Adam <obnox@samba.org>
2012-03-03s4:torture:smb2:durable_open: remove unused lease variables in the ↵Stefan Metzmacher1-4/+0
open-oplock test Signed-off-by: Michael Adam <obnox@samba.org>
2012-03-03s3:smbd:smb2_write: improve logging in the error caseMichael Adam1-4/+14
2012-03-03s4:samba-tool domain level raise command - reference SAMDB object correctlyMatthias Dieter Wallnöfer1-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-03smb2_constants: fix a typoChristian Ambach1-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-02s3:smb2_server: use SMB2_WATCH_TREEChristian Ambach1-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-02smb2_constants: add SMB2_WATCH_TREEChristian Ambach1-0/+3
2012-03-02s3:smb2_server fix a typoChristian Ambach1-1/+1
2012-03-03s3: Fix some blank line endingsVolker Lendecke1-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-03examples: Make examples/VFS/Makefile.in FreeBSD-friendlyVolker Lendecke1-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-02SEGV in acl_validate_spn_value: dnsHostName NULLArvid Requate1-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-02selftest: Rework samba4.blackbox.bogusdomain to use a temporary userAndrew Bartlett2-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-02selftest: close stdin and wait with waitpid() for a safer exitAndrew Bartlett2-2/+36
This avoids timelimit sending kill -9 after 1 second, which may disrupt the writing of gcov data. Andrew Bartlett
2012-03-02selftest: Put stdin pipe on the environmentAndrew Bartlett1-9/+8
This seems to help us close the right pipe at cleanup time. Andrew Bartlett
2012-03-02s3: Test for statfs before statfs64Volker Lendecke1-20/+20
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Fri Mar 2 12:04:35 CET 2012 on sn-devel-104
2012-03-02s3: Further fix for bug 8777Brad Smith3-12/+35