summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2012-09-10smbtorture: Test that delete requests are not specialVolker Lendecke1-0/+78
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-09-10Set trans to a value that is not LDB_SUCCESS (all LDB_ constants areMichele Baldessari1-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>
2012-09-10s4:provision: ask the admin about the desired DNS implementationStefan Metzmacher1-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
2012-09-10Force cast to long as on some platform tv_usec is 32bit longMatthieu Patou1-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
2012-09-07s4:torture:smb2: simplify durable-open.file-position test to only use one ↵Michael Adam1-27/+27
I/O and one handle Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-09-07s4:torture:smb2: change the durable-open.file-position test to use one ↵Michael Adam1-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>
2012-09-07s4:torture:smb2: fix durable-v2-open.reopen2 to pass against windowsMichael Adam1-1/+1
The DH2Q response blob is not sent upon successful durable handle v2 reconnect. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-09-07s4:torture:smb2: simplify the durable-v2.reopen2 test (using only one i/o ↵Michael Adam1-51/+52
struct) Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-09-07s4:torture:smb2: simplify the durable-v2-open.reopen1 testMichael Adam1-20/+21
only use one smb2_create i/o struct and store the create GUID centrally Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-09-07s4:torture:smb2: in the durable-v2-reopen1 test, use a minimal requestMichael Adam1-2/+1
don't copy the old request, but only set the necessary fields Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-09-07s4:torture:smb2: fix cut'n'paste error in the durable-v2-open.reopen2 testMichael Adam1-3/+3
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-09-07s4:torture:smb2: fix name of test file in the durable-open.alloc-size testMichael Adam1-1/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-09-07s4-torture: dns torture test depends on AD DC buildAlexander Bokovoy1-8/+9
2012-09-07s4:torture:smb2: add a test for alloc size behaviour under durable reconnectMichael Adam1-0/+154
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2012-09-07s4:torture/smb2: add smb2.durable-v2-open.reopen{1,2} testsStefan Metzmacher1-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
2012-09-07s4:torture/smb2: check that the server should ignore the fname in a DHnC requestStefan Metzmacher1-1/+2
metze
2012-09-07s4:torture/smb2: don't expect a DHnQ response in a DHnC requestStefan Metzmacher1-4/+0
This is fixed in Windows 2012 and matches the [MS-SMB2] documentation now. metze
2012-09-07s4 dns: Make debug output less noisyKai Blin4-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
2012-09-06s4 dns: Check if signing user is allowed to update recordsKai Blin1-16/+56
This should fix bug #9142
2012-09-06selftest: Test configure stage of dlz_bind9Andrew Bartlett1-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
2012-09-06selftest: Add tests for the dlz_bind9 moduleAndrew Bartlett5-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
2012-09-06join.py: Only replicate DNS zones if the source DC had DNS zonesAndrew Bartlett1-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
2012-09-05s4 dns: Allow configuring signed updatesKai Blin1-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
2012-09-05s4 dns: Make sure to remember incoming tkey nameKai Blin1-0/+4
2012-09-05s4 dns: Verify incoming TSIG signaturesKai Blin4-0/+189
2012-09-05s4 dns: Handle GSS-TSIG signature creationKai Blin3-0/+144
2012-09-05s4 dns: When we got a TKEY, we need to remember which key to use for signingKai Blin2-2/+17
2012-09-05s4 dns: TKEY record needs to remember incoming algorithmKai Blin2-1/+10
Samba3 (and older windows versions) use gss.microsoft.com, win7 (and the RFC) use gss-tsig
2012-09-05s4 dns: Move dns_find_tkey to an extra fileKai Blin4-56/+88
2012-09-05s4-dns: Fix linking the dns service.Andreas Schneider1-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
2012-09-05selftest: Add python blackbox tests for samba-tool ntacl get/setAndrew Bartlett1-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
2012-09-05samba_tool: Improve samba-tool ntacl get/set to use the local sam.ldb SIDAndrew Bartlett1-19/+53
This gets the SID for the local machine correctly. We also add options for --use-ntvfs and --use-s3fs to help control exactly which database is being read and written. Andrew Bartlett
2012-09-05samba_tool: Fix ntacl get to correctly output in sddlAndrew Bartlett1-3/+3
2012-09-05s4-provision: Fix error message to contain the string SSDL of the ↵Andrew Bartlett1-2/+2
failed-to-match ACL
2012-09-05s4 dns: Revert erroneous push from wrong branchKai Blin7-461/+60
I've pushed the wrong branch for this, sorry about that. Autobuild-User(master): Kai Blin <kai@samba.org> Autobuild-Date(master): Wed Sep 5 14:10:54 CEST 2012 on sn-devel-104
2012-09-05s4 dns: Allow configuring signed updatesKai Blin1-1/+6
Autobuild-User(master): Kai Blin <kai@samba.org> Autobuild-Date(master): Wed Sep 5 10:45:22 CEST 2012 on sn-devel-104
2012-09-05s4 dns: Make sure to remember incoming tkey nameKai Blin1-0/+4
2012-09-05more tsig_verify stuffKai Blin3-12/+23
2012-09-05drop meKai Blin1-0/+3
2012-09-05hack: dns_sign_tsig correct memcpyKai Blin1-1/+1
2012-09-05HACK remove debug statementKai Blin1-1/+0
2012-09-05s4 dns: Verify incoming TSIG signaturesKai Blin4-9/+95
2012-09-05s4 dns: Handle GSS-TSIG signaturesKai Blin5-59/+352
2012-09-04s4-selftest: Try a more complex ACL - this example from a GPOAndrew Bartlett1-0/+14
Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Tue Sep 4 11:30:17 CEST 2012 on sn-devel-104
2012-09-04s4-selftest: Try to make ntacl unit tests better match their namesAndrew Bartlett1-5/+5
We are trying to test combinations of setting and getting via the VFS and directly to the underlying DB. Andrew Bartlett
2012-09-04s4-samba-tool: Ensure we also sync the SACL as well as the DACL during ↵Andrew Bartlett1-1/+1
sysvolreset
2012-09-04s3-passdb: Rename pdb_samba4 to samba_dsdb and autoconfigure when we are a AD DCAndrew Bartlett2-13/+14
The name samba_dsdb is not ideal, but it matches the primary ldb module we use, and more importantly it avoids having '4' in the name. We should slowly avoid using the term samba4 in long-term places like the smb.conf because it is confusing to users given we are shipping Samba 4.0 as an AD DC as well as all the other supported roles (domain member/standalone server/classic DC) Additionally, samba4 will be an odd name when we eventually release Samba 5.0! samba4 remains accepted as an alias to ensure existing smb.conf files load, but to allow changes here in the future, we set the value during the smb.conf load, and not during the provision when we are an AD DC. This simplifies the default smb.conf for the vast majority of our users and reduces the number of things listed in smb.conf files that we later have to work around if we wish to change the name/implementation of the passdb glue module again. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Tue Sep 4 04:45:16 CEST 2012 on sn-devel-104
2012-09-03s4-classicupgrade: Show more clearly what is wrong with the Adminstrator SIDAndrew Bartlett1-0/+1
2012-08-31Now SEC_RIGHTS_PRIV_RESTORE and SEC_RIGHTS_PRIV_BACKUP don't include any ↵Jeremy Allison1-4/+27
generic bits (they're used directly in the fileserver where the generic bits have already been mapped into file specific bits) we need to add the generic bits to the test when we have these privileges. Mark samba4.base.maximum_allowed knownfail until we implement NTCREATEX_OPTIONS_BACKUP_INTENT.
2012-08-31Rewrite torture_samba3_rpc_sharesec() to use a non-privileged user for share ↵Jeremy Allison2-15/+182
security descriptor testing.