summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* libcli:smb: define SMB2_HDR_FLAG_REPLAY_OPERATIONMichael Adam2012-03-041-0/+1
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Sun Mar 4 15:10:38 CET 2012 on sn-devel-104
* s3: Fix some && vs & warningsVolker Lendecke2012-03-041-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
* selftest: Rework Samba3.pm process terminationAndrew Bartlett2012-03-041-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
* selftest: Rework Samba4.pm process termination.Andrew Bartlett2012-03-041-6/+23
| | | | | | | | We now double-check the waitpid() result with kill(0, $pid) We now also send a SIGTERM, then a SIGKILL. Andrew Bartlett
* selftest: Fix waitpid termination testAndrew Bartlett2012-03-041-2/+2
|
* selftest: Use fork()/exec() rather than system()Andrew Bartlett2012-03-042-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
* s3-winbindd: Add stdin handler for winbindAndrew Bartlett2012-03-042-3/+48
| | | | | | | This will help avoid runaway processes in the test env, particularly when the whole selftest.pl is killed. Andrew Bartlett
* s3-nmbd: Add stdin handler for nmbdAndrew Bartlett2012-03-041-0/+33
| | | | | | | This will help avoid runaway processes in the test env, particularly when the whole selftest.pl is killed. Andrew Bartlett
* change low FDs are handled in SambaAndrew Bartlett2012-03-047-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
* s3: don't replace the error message if already definedMatthieu Patou2012-03-041-3/+5
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sun Mar 4 10:13:24 CET 2012 on sn-devel-104
* s3: print a nice warning when HAVE_ADS is not enabled but you still try to ↵Matthieu Patou2012-03-041-0/+5
| | | | do net rpc keytab vampire
* selftest: Remove unused vde functions.Jelmer Vernooij2012-03-041-25/+0
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Mar 4 07:54:51 CET 2012 on sn-devel-104
* selftest/README: Expand inconsistent tabsJelmer Vernooij2012-03-041-11/+11
|
* selftest: Remove outdated template.Jelmer Vernooij2012-03-041-47/+0
|
* selftest: Remove unused and broken target 'windows'.Jelmer Vernooij2012-03-042-46/+0
|
* samba.7: Remove references to long gone testprns and smbsh utilities.Jelmer Vernooij2012-03-041-18/+0
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Mar 4 01:56:19 CET 2012 on sn-devel-104
* s3: Fix a bogus if (client_len < 0)Volker Lendecke2012-03-031-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
* selftest: more precisely skip durable-open, not durable.openMichael Adam2012-03-031-1/+1
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Sat Mar 3 19:17:32 CET 2012 on sn-devel-104
* s4:torture:smb2: start a testsuite for durable v2 handles: durable and ↵Michael Adam2012-03-034-1/+557
| | | | persistent opens
* s4:libcli:smb2: set SMB2_CAP_ALL in the negprotMichael Adam2012-03-031-1/+5
|
* s3:libsmb: pass smb2 capabilities and client guid in cli_state_create()Stefan Metzmacher2012-03-031-2/+7
| | | | | | metze Signed-off-by: Michael Adam <obnox@samba.org>
* s4:libcli:smb2: store the share capabilites in the smb2_tree objectMichael Adam2012-03-033-0/+3
|
* smbXcli: add the possiblilty to negotiate client capabilites in smb >= 2.2Michael Adam2012-03-035-6/+17
| | | | Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
* s4:libcli:smb2: allow max protocol 0x0224Michael Adam2012-03-031-1/+1
|
* s4:libcli:smb2: add support for parsing the durable handle v2 response in ↵Michael Adam2012-03-031-0/+19
| | | | smb2_create_recv()
* s4:libcli:smb2: add support durable handle reconnect v2 blob in smb2_create_sendMichael Adam2012-03-031-0/+27
|
* s4:libcli:smb2: add support durable handle request v2 blob in smb2_create_sendMichael Adam2012-03-031-0/+28
|
* s4:libcli:smb2: add durable handle v2 data to the smb2_create i/o structureMichael Adam2012-03-031-0/+13
|
* libcli:smb: define SMB2_DHANDLE_FLAG_PERSISTENTMichael Adam2012-03-031-0/+5
|
* libcli:smb: add new SMB2 share flagsMichael Adam2012-03-031-1/+5
| | | | | | | * FORCE_LEVELII_OPLOCKS * ENABLE_HASH_V1 * ENABLE_HASH_V2 * ENCRYPT_DATA
* libcli:smb: upgrade SMB2_CAP_ALL to include the newly known capsMichael Adam2012-03-031-1/+8
|
* libcli:smb: add defines for SMB2.2 share capabilitiesMichael Adam2012-03-031-1/+4
| | | | | | * continuous avaliability * cluster * scaleout
* libcli:smb: add defines for SMB2.2 global capabilitiesMichael Adam2012-03-031-4/+9
| | | | | | | * multi channel * persistent handles * directory leasing * encryption
* libcli:smb: define DH2Q and DH2C tags for smb2 extra create blobsMichael Adam2012-03-031-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).
* s4:torture:smb2: rename some of the durable-handle subtests more systematicallyMichael Adam2012-03-031-34/+34
|
* s4:torture:smb2:durable_open: update (C)Michael Adam2012-03-031-0/+1
|
* s4:torture:smb2:durable-open: skip the open-with-lease test on servers ↵Stefan Metzmacher2012-03-031-0/+6
| | | | | | without lease support Signed-off-by: Michael Adam <obnox@samba.org>
* s4:torture:smb2: durable-open: make tables staticMichael Adam2012-03-031-2/+2
|
* s4:test:smb2:durable_open: skip lease tests when the server does not support ↵Stefan Metzmacher2012-03-031-0/+25
| | | | | | leases Signed-off-by: Michael Adam <obnox@samba.org>
* s4:torture:smb2:durable_open: remove unused lease variables in the ↵Stefan Metzmacher2012-03-031-4/+0
| | | | | | open-oplock test Signed-off-by: Michael Adam <obnox@samba.org>
* s3:smbd:smb2_write: improve logging in the error caseMichael Adam2012-03-031-4/+14
|
* s4:samba-tool domain level raise command - reference SAMDB object correctlyMatthias Dieter Wallnöfer2012-03-031-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
* smb2_constants: fix a typoChristian Ambach2012-03-031-1/+1
| | | | | Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Sat Mar 3 09:04:40 CET 2012 on sn-devel-104
* s3:smb2_server: use SMB2_WATCH_TREEChristian Ambach2012-03-021-1/+1
| | | | | it makes the code easier to understand if it uses the names specified in MS-SMB2 instead of just the underlying values
* smb2_constants: add SMB2_WATCH_TREEChristian Ambach2012-03-021-0/+3
|
* s3:smb2_server fix a typoChristian Ambach2012-03-021-1/+1
|
* s3: Fix some blank line endingsVolker Lendecke2012-03-031-5/+5
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Sat Mar 3 03:41:03 CET 2012 on sn-devel-104
* examples: Make examples/VFS/Makefile.in FreeBSD-friendlyVolker Lendecke2012-03-031-6/+14
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Sat Mar 3 00:53:43 CET 2012 on sn-devel-104
* SEGV in acl_validate_spn_value: dnsHostName NULLArvid Requate2012-03-021-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
* selftest: Rework samba4.blackbox.bogusdomain to use a temporary userAndrew Bartlett2012-03-022-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