Age | Commit message (Collapse) | Author | Files | Lines |
|
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)
|
|
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)
|
|
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)
|
|
metze
(This used to be commit 74ded55787d6dee55e87bd55a4f152fa2e8dbeab)
|
|
doesn't contain an entry for the local invocation_id
metze
(This used to be commit 4bd0ddeb80b0a6695a457434594c0240c8880d9f)
|
|
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)
|
|
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)
|
|
(This used to be commit fad03f6c51b40bca2b60036835b998056fec0faa)
|
|
(This used to be commit efaf476337e536740068334ee9af01eb6ce97c4f)
|
|
named nested types yet, as these have to be registered.
(This used to be commit 9b0416b5d06286c81c73477a24cb591fd4b23d18)
|
|
structures/unions/enums/bitmaps to be
used in the Samba 4 NDR parser.
This doesn't actually work yet as Parse::Pidl::NDR doesn't handle nested
data structures yet, but it's a first step.
(This used to be commit 8aac1fc98b812a0668bc0d803d1e2831396b455e)
|
|
always pushed, even if just the buffers part of a struct had to be pushed.
Pull was not affected.
(This used to be commit ffe387920473fb365f740942098085eb40299c84)
|
|
connections
metze
(This used to be commit 426238eb45f0cc41d99961ac554c2528fd8e96f5)
|
|
metze
(This used to be commit e4d69b83dcee2f50e95690d84f95d9e69acf858e)
|
|
love: please merge this
metze
(This used to be commit 3e4ff2de9c57170d275adf54ffa00ac81253a714)
|
|
(This used to be commit afe7d7855841066b88859976ac748cbf438a9a9f)
|
|
structure support.
(This used to be commit 1afedaad44d5d375ebd277017ec61bf9b5741d8a)
|
|
(This used to be commit 5b091c5d75f8580f10bc6a61a0e2203abec98784)
|
|
so that ndr_pull will fail if version isn't 3 and we notice
if the format changes...
metze
(This used to be commit 91f7a094cfd04405c224b9579146d814cba507b3)
|
|
(This used to be commit 1702a663ba4ce6f5803e265a969f2be564fce1e3)
|
|
metze
(This used to be commit ac347d7aa588574f6a18229083569608327874d8)
|
|
maybe there's some broken code in windows which relies
on this...
love: can you merge this to heimdal?
metze
(This used to be commit b64abf9113a939308dc9e92ff7ddaad7be6ab551)
|
|
(This used to be commit 9ba814d033412150d383d3687f02775d4efc618e)
|
|
the krbtgt hdb entry provides.
We need to make sure other KDC's with the same hdb backend data
can accept the TGT. (w2k and w2k3 don't support aes256-cts-hmac-sha1-96 (18)
session keys.)
Love: I'm not sure if this is the correct way of doing it...
metze
(This used to be commit 5840f50d8954e95a7071a90a1c4dcce9ae05d77c)
|
|
are not used anymore
metze
(This used to be commit 9e91bd64492c45ee333f5e797d4d492378600356)
|
|
- use "sambaPassword" only as virtual attribute for passing
the cleartext password (in unix charset) into the ldb layer
- store des-cbc-crc, des-cbc-md5 keys in the Primary:Kerberos
blob to match w2k and w2k3
- aes key support is disabled by default, as we don't know
exacly how longhorn stores them. use password_hash:create_aes_key=yes
to force creation of them.
- store the cleartext password in the Primary:CLEARTEXT blob
if configured
TODO:
- find out how longhorn stores aes keys
- find out how the Primary:WDigest blob needs to be constructed
(not supported by w2k)
metze
(This used to be commit e20b53f6feaaca2cc81ee7d296ca3ff757ee3953)
|
|
always bring it back if we need to. This code was getting in the way while
refactoring.
Add some tests for TDR.
Get rid of typedef in lib/registry/tdr_regf.idl and fix the
TDR code to be able to deal with it.
(This used to be commit 1ad0f99a439f0d52a735b391bf9900d50171aca5)
|
|
(This used to be commit 0d739c7e9807682cd5bc433c3e4f2d4bbe4f1b69)
|
|
(This used to be commit a91e624af22aae5b460ccf94d2540b8780f90070)
|
|
struct foo {
...
};
in IDL will now work. This is the first step towards nested types and
using typedefs for partial types (such as "typedef int *bar;"), a requirement
for complex uses of represent_as().
(This used to be commit a716aa70f0c90898e6fcf57d63a2cf4c40e7d4df)
|
|
(This used to be commit 88fbf9af24a346d3d99af32b8574507b0590846a)
|
|
(This used to be commit 34517c69e67d7eafa00e6fe0072bd04f074cdbde)
|
|
(This used to be commit a21e7b22ac99c66e2b23d0fa694a8a2ea6e7994e)
|
|
(This used to be commit 8b31fba826e5e76031979755f9682a8da5c59148)
|
|
(This used to be commit 745d0eae1a0f681f6a08a7cc259834ddbb5fa023)
|
|
(This used to be commit 0ed195f45fed12905278ba60eabe02a11b59eb90)
|
|
fails that test, so disabling it for now.
(This used to be commit d6026c2046a26f42ca0cd6ebf1f45488fbfb22e1)
|
|
(This used to be commit 883df28d6ebb1993add95174fe2694154995354b)
|
|
Volker
(This used to be commit 573ba38722e338fb4158dfda181308a1a736c5c0)
|
|
(This used to be commit 76b377d5ad5c115e5fbb24a10d543883f04283a6)
|
|
(This used to be commit 56ed4499d69adf57a41632ba12cbfef383a35ab2)
|
|
(This used to be commit 5d4dd136ed29c6418377eae1227cae53fc510356)
|
|
(This used to be commit 61cb52b65b9be2fd09a5c5a02536600c0ac500f7)
|
|
(This used to be commit 9e6d43c45cec24a391d8134a9c177461aabb3e6c)
|
|
metze
(This used to be commit 18a5bf850bad9643e09e111d8c2c4e2c2efce989)
|
|
Not as bad
as not doing it at all, but needs fixing. Also simplify the logic, I had
missed the "goto out" at the end of the function.
Volker
(This used to be commit ed30a0ff602d0a1d4409bee4faf12b6979b5f4b8)
|
|
(This used to be commit 361977448210dfd889abca19b520cd259b9d0855)
|
|
succeeded. Found while testing the brlock seqnum patch.
Tridge, please check!
Volker
(This used to be commit e518c68fc5446304611d096ac2e3cab744734fc3)
|
|
(This used to be commit 33142f7646265a05892f69b52f04fac9a50af914)
|
|
metze
(This used to be commit 307aabe0257559a9211f4f627cb38150a24dc40f)
|