summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
* s4:scripting: rename upgradeprovision -> samba_upgradeprovisionStefan Metzmacher2012-09-124-4/+4
| | | | metze
* s4:setup: remove standalone 'provision'Stefan Metzmacher2012-09-122-279/+0
| | | | metze
* smbd-posix_acls: Use a IDL union to store the ACL entryAndrew Bartlett2012-09-121-41/+11
| | | | | | | This is a clearer, long-term-stable structure we can hash without risking it changing. Andrew Bartlett
* s4:torture:smb2: fix error reporting in the oplock-brl3 testMichael Adam2012-09-111-2/+1
| | | | | | | (Error was set to an unused variable) Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Tue Sep 11 22:09:18 CEST 2012 on sn-devel-104
* s4:torture:smb2: fix error reporting in the oplock-brl2 testMichael Adam2012-09-111-2/+1
| | | | (Error was set to an unused variable)
* s4:torture:smb2: fix error reporting in the oplock-brl1 testMichael Adam2012-09-111-2/+1
| | | | (Error was set to an unused variable)
* s4:torture:smb2: remove an unused variable from the oplock-exclusive2 testMichael Adam2012-09-111-3/+0
|
* s4:torture:smb2: remove an unused variable from the oplock-exclusive1 testMichael Adam2012-09-111-3/+0
|
* provision: Only give the "no posix ACLs" exception if we could not set the SDAndrew Bartlett2012-09-111-6/+6
| | | | | | | This will allow us to run make test on all platforms again, as we emululate the posix ACLs using the fake_acls module. By then testing smbd.have_posix_acls() we gain a more specific error message. Andrew Bartlett
* torture: Add discard_const_p() to work around dlz_create prototypeAndrew Bartlett2012-09-111-2/+2
|
* s4:torture:smb2: add a durable-open.delete_on_close2 testMichael Adam2012-09-111-0/+110
| | | | | | This test verifies that the delete on close flag is kept during a disconnect and is still active on the reconnected handle. When the reconnected handle is closed, the file is deleted.
* s4:torture:smb2: fix the durable-open.delete_on_close1 testMichael Adam2012-09-111-53/+16
| | | | | | | | | | | This test used to flap because there was an invalid check of the file-id. This might or might not be the same after a new open. Hence the flapping. The new version simply opens a file as durable handle with delete_on_close set, writes a byte and closes the file. Then on a new connect, the file is opened again, and it is checked that the file has been created (again) and that it is empty.
* s4:setup/tests: make use of samba-tool domain provisionStefan Metzmacher2012-09-116-19/+19
| | | | metze
* s4:scripting: install samba_kcc to SBINDIRStefan Metzmacher2012-09-111-2/+2
| | | | | | | It's use as "%s/samba_kcc", dyn_SCRIPTSBINDIR" similar to samba_spnupdate and samba_dnsupdate. metze
* s4:scripting: use the 'sbin_files' variableStefan Metzmacher2012-09-111-1/+1
| | | | metze
* s4:samba-tool: add 'samba-tool domain provision'Stefan Metzmacher2012-09-111-1/+264
| | | | | | This is mostly a copy of the standalone source4/setup/provision. metze
* s4:python/netcmd: give the Commad implementations access to the raw argumentsStefan Metzmacher2012-09-111-0/+8
| | | | metze
* s4:samba-tool: remove unused code in testparm.pyStefan Metzmacher2012-09-111-5/+0
| | | | metze
* s4:samba-tool: allow sys.exit(ret) to control the exit codeStefan Metzmacher2012-09-111-1/+1
| | | | | | | Some subcommands may use sys.exit(0), which shouldn't be reported as an error to the caller. metze
* smbtorture: Test that delete requests are not specialVolker Lendecke2012-09-101-0/+78
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* Set trans to a value that is not LDB_SUCCESS (all LDB_ constants areMichele Baldessari2012-09-101-1/+1
| | | | | | | | positive) so that any "goto failed:" call does not end up calling ldb_transaction_cancel() if trans is initialized to 0 (LDB_SUCCESS) by chance. Signed-off-by: Jeremy Allison <jra@samba.org>
* s4:provision: ask the admin about the desired DNS implementationStefan Metzmacher2012-09-101-0/+6
| | | | | | | | | | In interactive mode we should let the admin confirm which implementation he wants. metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Mon Sep 10 11:45:08 CEST 2012 on sn-devel-104
* Force cast to long as on some platform tv_usec is 32bit longMatthieu Patou2012-09-101-2/+2
| | | | | Autobuild-User(master): Matthieu Patou <mat@samba.org> Autobuild-Date(master): Mon Sep 10 07:33:50 CEST 2012 on sn-devel-104
* s4:torture:smb2: simplify durable-open.file-position test to only use one ↵Michael Adam2012-09-071-27/+27
| | | | | | I/O and one handle Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:torture:smb2: change the durable-open.file-position test to use one ↵Michael Adam2012-09-071-17/+27
| | | | | | | | | connection only And do a tcp disconnect followed by a session reconnect instead of immediately using the already opened second connection. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:torture:smb2: fix durable-v2-open.reopen2 to pass against windowsMichael Adam2012-09-071-1/+1
| | | | | | The DH2Q response blob is not sent upon successful durable handle v2 reconnect. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:torture:smb2: simplify the durable-v2.reopen2 test (using only one i/o ↵Michael Adam2012-09-071-51/+52
| | | | | | struct) Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:torture:smb2: simplify the durable-v2-open.reopen1 testMichael Adam2012-09-071-20/+21
| | | | | | only use one smb2_create i/o struct and store the create GUID centrally Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:torture:smb2: in the durable-v2-reopen1 test, use a minimal requestMichael Adam2012-09-071-2/+1
| | | | | | don't copy the old request, but only set the necessary fields Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:torture:smb2: fix cut'n'paste error in the durable-v2-open.reopen2 testMichael Adam2012-09-071-3/+3
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:torture:smb2: fix name of test file in the durable-open.alloc-size testMichael Adam2012-09-071-1/+1
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4-torture: dns torture test depends on AD DC buildAlexander Bokovoy2012-09-071-8/+9
|
* s4:torture:smb2: add a test for alloc size behaviour under durable reconnectMichael Adam2012-09-071-0/+154
| | | | Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
* s4:torture/smb2: add smb2.durable-v2-open.reopen{1,2} testsStefan Metzmacher2012-09-071-0/+184
| | | | | | | They show that only the content of the DH2C request matches and all other values in the SMB2 Create request are ignored. metze
* s4:torture/smb2: check that the server should ignore the fname in a DHnC requestStefan Metzmacher2012-09-071-1/+2
| | | | metze
* s4:torture/smb2: don't expect a DHnQ response in a DHnC requestStefan Metzmacher2012-09-071-4/+0
| | | | | | | This is fixed in Windows 2012 and matches the [MS-SMB2] documentation now. metze
* s4 dns: Make debug output less noisyKai Blin2012-09-074-16/+16
| | | | | Autobuild-User(master): Kai Blin <kai@samba.org> Autobuild-Date(master): Fri Sep 7 00:31:56 CEST 2012 on sn-devel-104
* s4 dns: Check if signing user is allowed to update recordsKai Blin2012-09-061-16/+56
| | | | This should fix bug #9142
* selftest: Test configure stage of dlz_bind9Andrew Bartlett2012-09-061-0/+61
| | | | | Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Thu Sep 6 09:07:11 CEST 2012 on sn-devel-104
* selftest: Add tests for the dlz_bind9 moduleAndrew Bartlett2012-09-065-0/+113
| | | | | | | | This will help ensure that we do not break the fundemental loading etc. From here, it should be easy to extend this to more comprehensive tests. Andrew Bartlett
* join.py: Only replicate DNS zones if the source DC had DNS zonesAndrew Bartlett2012-09-061-7/+18
| | | | | | | | | This avoid folks needing to specify --dns-backend=NONE Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Thu Sep 6 04:48:55 CEST 2012 on sn-devel-104
* s4 dns: Allow configuring signed updatesKai Blin2012-09-051-1/+6
| | | | | Autobuild-User(master): Kai Blin <kai@samba.org> Autobuild-Date(master): Wed Sep 5 20:42:46 CEST 2012 on sn-devel-104
* s4 dns: Make sure to remember incoming tkey nameKai Blin2012-09-051-0/+4
|
* s4 dns: Verify incoming TSIG signaturesKai Blin2012-09-054-0/+189
|
* s4 dns: Handle GSS-TSIG signature creationKai Blin2012-09-053-0/+144
|
* s4 dns: When we got a TKEY, we need to remember which key to use for signingKai Blin2012-09-052-2/+17
|
* s4 dns: TKEY record needs to remember incoming algorithmKai Blin2012-09-052-1/+10
| | | | Samba3 (and older windows versions) use gss.microsoft.com, win7 (and the RFC) use gss-tsig
* s4 dns: Move dns_find_tkey to an extra fileKai Blin2012-09-054-56/+88
|
* s4-dns: Fix linking the dns service.Andreas Schneider2012-09-051-1/+1
| | | | | Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Wed Sep 5 18:40:00 CEST 2012 on sn-devel-104
* selftest: Add python blackbox tests for samba-tool ntacl get/setAndrew Bartlett2012-09-051-2/+67
| | | | | Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Wed Sep 5 15:47:55 CEST 2012 on sn-devel-104