summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r21535: - fixed a crash in the RAW-ACLS test. When a dcerpc_pipe is createdAndrew Tridgell11-21/+36
using the pattern in the clilsa code, it didn't fill in the p->binding structure. This affects nearly all users of dcerpc_pipe_open_smb(), so the simplest fix is to ensure that dcerpc_pipe_open_smb() initialises the binding if its not already there. - re-enable the RAW-ACLS test (This used to be commit d8875c286d2be49c01703d8fd58bbc1842054bd9)
2007-10-10r21534: Add some more tests for wireshark.Jelmer Vernooij3-6/+50
(This used to be commit b10432096181cf8e7d729e58a5ab54fac5eaa5fe)
2007-10-10r21533: try to get rid of the valgrind warnings of uninitialized memoryStefan Metzmacher1-1/+1
passed to a socket metze (This used to be commit 18ce33844738179a5434b91b362606bc4bdfa6b5)
2007-10-10r21532: Add tests for StripPrefixes utility function.Jelmer Vernooij3-16/+22
(This used to be commit 365052555e0e9224bdfda0c2a10f78cbeee5b06c)
2007-10-10r21531: Use pidl-specific utility functions. Patch from Ronnie SahlbergJelmer Vernooij1-7/+7
(This used to be commit e6fdcdf95e984a254cebd197269cf3e911009f02)
2007-10-10r21528: This file gets called by testit(), so it shouldn't call testit().Brad Henry1-4/+2
NET tests against Windows weren't getting run, testit() here just created a recipe. (This used to be commit c71dee34025b152d1af209b06023e30d2539fbc0)
2007-10-10r21524: don't send unitialized data to the socketStefan Metzmacher1-1/+1
metze (This used to be commit 50955aa669c11a2ba20e2ce335dcb4bc3a178109)
2007-10-10r21523: fix a valgrind warning, we write the struct content to the file and ↵Stefan Metzmacher1-0/+1
should not leave t2.out uninialized metze (This used to be commit 4723374d14e9c5648708a7fc5460e8ccda193d1e)
2007-10-10r21522: Stop passing the VM config file path to wintest_2k3_dc.sh on the ↵Brad Henry1-1/+1
command line. Forgot this one in the last commit. (This used to be commit 2982d9e90c26a78fb4a38ecaa65c192f5f764bf3)
2007-10-10r21521: Add missing quotes around shell variables which could have spaces.Brad Henry4-12/+10
Stop passing the VM config file path to wintest_2k3_dc.sh on the command line as it is now properly passed through the environment. Windows tests, including the DC tests found in test_w2k3.sh should work properly with 'make wintest' and a configured VMware environment. These tests are executed on build-farm host bnhtest. (This used to be commit 7496a28b4388535a426ca753bc9000670f6e42e1)
2007-10-10r21520: fix the altercontext test... sorryStefan Metzmacher1-0/+2
I'm only fixing the bug I introduced here, not the rest of the mess in the pipe handling, as we don't fill in pipe->binding and pipe->conn->binding_str consistant... metze (This used to be commit cec74f352822a767770e9e00e87a94d0e37d80c9)
2007-10-10r21519: when we want to send non initialized data, thenStefan Metzmacher1-0/+1
generate a random buffer explicit to make valgrind happy found by valgrind in the build-farm on fort, there are some more places like this... metze (This used to be commit 2654f595cae046924be33a3f8f758a20565156ee)
2007-10-10r21518: fix panic, sorry...Stefan Metzmacher1-1/+1
metze (This used to be commit 3c786eb6bdb3289a237d231e75092a8b3ca56197)
2007-10-10r21516: - use the same assoc_group_id, for all 3 drsuapi connectionStefan Metzmacher1-4/+21
- use the PFC_CONC_MPX flag for the 3rd connection - to DsGetNCChanges requests on the 3rd connection with the bind handle from the 2nd connection to match w2k3 metze (This used to be commit 5071af332c2c079fd94c577e58ee6e8ccf157ffa)
2007-10-10r21515: add some more PFC_FLAGS from the DCERPC spec, and fix some namesStefan Metzmacher5-11/+32
also make it possible to pass and get the assoc_group_id for a pipe. also make it possible to pass the DCERPC_PFC_FLAG_CONC_MPX flag in bind requests. From the spec it triggers support for concurrent multiplexing on a single connection. w2k3 uses the assoc_group_id feature when it becomes a domain controller of an existing domain. Know the ugly part, with this it's possible to use a policy handle from one connection on a different one... typically the DsBind() call is on the 1st connection while DsGetNCChanges() call using the first connections bind handle are on the 2nd connection. The second connection also has the DCERPC_PFC_FLAG_CONC_MPX flag attached, but that doesn't seem to be related to the cross connection handle usage Can anyone think of a nice way to implement the assoc_group_id stuff in our server? metze (This used to be commit 2d8c85397d9027485ed6dbdcca87cc1ec84c7b76)
2007-10-10r21514: move away from a hardcoded "smbtorturedc"Stefan Metzmacher1-31/+67
--option="become dc:smbtorture dc=mydcname" --option="become dc:do not unjoin=yes" joins as mydcname and creates mydcname_*.ldb files under lp_private_dir() metze (This used to be commit 22bc6d541e9de2dc494cda154d6fabbc3c907da8)
2007-10-10r21513: I don't know how long this has been wrong, but fix this up so we canAndrew Bartlett1-1/+1
re-provision (as is required for the TEST_LDAP=yes version of make test). Andrew Bartlett (This used to be commit ea4c2ea22fb3975d80130f52edecaf6d1790adde)
2007-10-10r21512: finish DsBind() in the DRSUAPI server:Stefan Metzmacher2-14/+140
- fill in our on bind_info struct correctly - remember the local and remote DsBindInfo28 struct - remember the remote bind_buid w2k3 now tries replicate using DsGetNCChanges() from us, after the NET-API-BECOME-DC test created the domain controller and replicated all data. (But we still give a DCERPC fault in DsGetNCChanges()...) metze (This used to be commit 33550c063d4e206fce63fdd99dc93a56995db580)
2007-10-10r21511: this seems to be the nicer fix for the problem withStefan Metzmacher2-12/+4
the windows 2000 LDAP client metze (This used to be commit d40465470fa09827ea529e1f2c80bca9efc152a8)
2007-10-10r21510: make it possible to push tags with length > 0xFFFFFFStefan Metzmacher1-1/+12
metze (This used to be commit 8e604107da4a8a1bf6ccab45e85e147daab29519)
2007-10-10r21504: for simo...Stefan Metzmacher1-1/+1
metze (This used to be commit f773b1dc6fc39e59a2d71d7d017a63512a95cfa8)
2007-10-10r21503: add usefull function to get the site dn for the local serverStefan Metzmacher1-0/+17
metze (This used to be commit 08b8e9acff6779ecc2e568ae0a875013d93838b7)
2007-10-10r21502: add a very useful option "become dc:donnot leave=yes"Stefan Metzmacher1-0/+5
with this you can join a domain as dc for testing:-) You still need to setup some dns entries... and add the ldap/.... servicePrincipalName's abartlet: it's wrong to include ldap/ in the list of host=, we should change this... metze (This used to be commit 12f610d747fe827ed402984fa63680b576ed7b03)
2007-10-10r21501: ugly but the windows 2000 mmc deturns decoding error without thisStefan Metzmacher1-0/+4
metze (This used to be commit f17da75754f8cc79b60e04b54a4bc99191e71ff3)
2007-10-10r21499: fill in the correct forest dns nameStefan Metzmacher1-2/+35
metze (This used to be commit c736543b15571a7c0080ba09e51b9bcf76ecda52)
2007-10-10r21498: Putting the second parameter in quotes so that we accept spaces in ↵Brad Henry1-1/+1
the config file path. (This used to be commit 7facfe9247e98421e998092482f52db05228ace6)
2007-10-10r21497: Pass more of the RPC-CRACKNAMES test by using the new search_options ↵Andrew Bartlett1-26/+89
control. Andrew Bartlett (This used to be commit 47c8a059c4d90b7befde390d2d050f0d1934ecc1)
2007-10-10r21496: A number of ldb control and LDAP changes, surrounding theAndrew Bartlett15-413/+603
'phantom_root' flag in the search_options control - Add in support for LDB controls to the js layer - Test the behaviour - Implement support for the 'phantom_root' flag in the partitions module - Make the LDAP server set the 'phantom_root' flag in the search_options control - This replaces the global_catalog flag passed down as an opaque pointer - Rework the string-format control parsing function into ldb_parse_control_strings(), returning errors by ldb_errorstring() method, rather than with printf to stderr - Rework some of the ldb_control handling logic Andrew Bartlett (This used to be commit 2b3df7f38d7790358dbb4de1b8609bf794a351fb)
2007-10-10r21495: Pass the VM .vmx file path to wintest_2k3_dc.sh on the command line.Brad Henry2-1/+2
(This used to be commit 06bf94781e688c57f625161722e0a25af5a8d2e3)
2007-10-10r21494: Fix 'make wintest' to support command-line changes to 'vm-get-ip.pl' ↵Brad Henry8-64/+88
and the revertsnapshot() shell function. Restructure existing tests to work with the recent build farm changes. Added windows DC testing to 'make wintest'. Some improvements and generalization to the way errors are handled. (This used to be commit de9687404e802d7e7629c9d03f496d3c5bd30397)
2007-10-10r21493: Patch from Ronnie Sahlberg. From his email:Jelmer Vernooij1-3/+5
This patch changes the function name and signature that pidl generate a call for when dissecting a policy handle to a new, more PIDL-friendly function. It also stores the procedure name in a new pinfo-> field so that helpers that want to know the procedure name can finbd out easily. The new PIDL helper function for policy handles use this new field and will show OpenHKU(<...>) opened in frame X closed in frame Y for the policy handle. (This used to be commit 0c4fb484f0e515eb4055c58cd73ca798a8c46d69)
2007-10-10r21492: Finish work on nested type support in EJS.Jelmer Vernooij3-122/+127
(This used to be commit e88055b76a3d81fcc40773d880f76a1c3f53fbf0)
2007-10-10r21491: Verify that the DNS domain name is filled in on GUID searches in theAndrew Bartlett1-0/+32
RPC-CRACKNAMES test. Andrew Bartlett (This used to be commit 7773f23e89340c459a0028a4c36b869d95ed8eb1)
2007-10-10r21490: Add some tests for the EJS codeJelmer Vernooij2-72/+75
More work on supporting nested types in EJS. (This used to be commit cb7faeab88952b59add1c814e1881ee9bb88b7ec)
2007-10-10r21489: Remove accidently committed test idl.Jelmer Vernooij1-1/+1
(This used to be commit 268915961d0b2766eb9a4e106fdf5cfdf68de07e)
2007-10-10r21488: Ignore autogenerated file.Jelmer Vernooij1-0/+1
(This used to be commit 12d45cede3eec1db0b5bf9a24498944ff1412835)
2007-10-10r21487: Fix warning when using anonymous types, initial work on nested type ↵Jelmer Vernooij3-7/+32
support in ejs. (This used to be commit a396c5de12cd958fe0457fa5372e539132ad7ed9)
2007-10-10r21486: Remove spurious semicolons.Jelmer Vernooij1-4/+7
(This used to be commit d2307f3f7e364a2d17f48301a921a532ae313986)
2007-10-10r21485: Remove obsolete smb_interfaces code (discussed with tpot).Jelmer Vernooij1-8/+0
(This used to be commit 92acdb380a02cae59b563e70ae0c18ab537cdb4c)
2007-10-10r21484: Fix Needed* for nested datastructures.Jelmer Vernooij4-85/+115
(This used to be commit ec3c9ebfd0de287411ce399967409f902653d5c6)
2007-10-10r21477: Remove unnecessary properties.Jelmer Vernooij2-5/+0
(This used to be commit 17d1da19474de3c501b532aec74b1fb93ed3ae3f)
2007-10-10r21476: Add another test for EnumValue.Jelmer Vernooij1-0/+11
(This used to be commit 8370b19ebbd4a7d2296fc50b267c8720b5a0a50b)
2007-10-10r21475: Updated vm_get_ip.pl to read the name of the environment variable ↵Brad Henry3-1/+139
containing the VM path from the command line. wintest_2k3_dc.sh is a new script which will run a group of tests against a Windows 2003 DC. The group of tests to run should be passed in on the command line. These tests were taken from the source/script/tests/test_win2k3.sh script. tests_win2k3_dc.sh is a new script intended to be called by 'make wintest_dc' (patch to source/main.mk forthcoming). This is intended to provide the basis for Windows 2003 DC testing in the build farm. In order to use these tests, you should have a DC setup as a VM in VMware server. This process is not automated yet, but can be done by following a few steps: 1. Prepare a Windows 2003 VM in VMware Server by downloading and extracting: svn://svn.samba.org/home/svn/samba/branches/SOC/bnh/vm_setup.tar.gz and following the instructions in the README file. 2. Copying the following file onto the filesystem of the VM configured in step 1: svn://svn.samba.org/home/svn/samba/branches/SOC/bnh/dcpromo_2k3dc_newdomain.answerfile.txt and use it to promote the VM. For example: "dcpromo /answer:<path to answerfile>" 3. On the system you are testing from, set the environment variable WINTESTCONF, and SRCDIR. WINTESTCONF should point to the path of a test_win.conf file modified for your environment. There's a default copy in source/script/tests/win/test_win.conf. SRCDIR should point to the base of your Samba 4 source tree. At that point, you should be able to run wintest_2k3_dc.sh by passing a group of tests at the command line. For example: source/script/tests/win/wintest_2k3_dc.sh RPC-DRSUAPI Sorry for the long-winded commit message! (This used to be commit a0d1c690de2e58eddf5517eb974e09c2bba23605)
2007-10-10r21473: Added new parameters to test_win.conf that apply only to the DC tests.Brad Henry2-3/+41
Made the restore_snapshot() routine in wintest_functions.sh more robust. This change would have broken the existing windows tests, if they weren't already broken. Will fix those once the windows DC tests are committed and working in the build farm. (This used to be commit 76c6c5b8de58618ac013f5b26a6aafc98e15f57c)
2007-10-10r21470: generate Primary:WDigest blob with precalculated digest-md5 hashes:Stefan Metzmacher1-6/+383
see http://technet2.microsoft.com/WindowsServer/en/library/717b450c-f4a0-4cc9-86f4-cc0633aae5f91033.mspx?mfr=true for how the hashes are supposed to be (but w2k3 doesn't to some correctly...) this is a verify nice tool to test the hash genaration, but you need to add support for "" realm strings... http://fresh.t-systems-sfr.com/unix/src/www/httpauth-0.6.tar.gz:a/httpauth-0.6/tools/mkha1.c metze (This used to be commit 26d51741b6aa54c47ee039ac14390f1f0ee51e30)
2007-10-10r21466: run the LDAP-UPTODATEVECTOR test in make testStefan Metzmacher1-0/+2
metze (This used to be commit 74ded55787d6dee55e87bd55a4f152fa2e8dbeab)
2007-10-10r21465: the LDAP-UPTODATEVECTOR test shows that the replUpToDateVectorStefan Metzmacher1-37/+11
doesn't contain an entry for the local invocation_id metze (This used to be commit 4bd0ddeb80b0a6695a457434594c0240c8880d9f)
2007-10-10r21464: add parsing code for the Primary:WDigest blobStefan Metzmacher1-0/+17
the hashes are MD5("user:realm:password") which a lot of user and realm combinations see: http://fresh.t-systems-sfr.com/unix/src/www/httpauth-0.6.tar.gz:a/httpauth-0.6/tools/mkha1.c metze (This used to be commit f764941af6a13b59ea604b4b5c275da802b3e061)
2007-10-10r21463: add a LDAP-UPTODATEVECTOR test, it shows that the "replUpToDateVector"Stefan Metzmacher3-7/+180
isn't updated by originating changes, and that there's no entry for the local dsa invocation_id metze (This used to be commit a9b757dddc496b705d04ee73f52b7f4f16e972e9)
2007-10-10r21459: Remove name argument, more refactoring.Jelmer Vernooij2-59/+78
(This used to be commit fad03f6c51b40bca2b60036835b998056fec0faa)