Jelmer Vernooij
d237698850
blackbox.ldb: Support using system ldbsearch.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Nov 27 04:32:11 CET 2010 on sn-devel-104
2010-11-27 04:32:11 +01:00
Andrew Bartlett
b8631597f5
s4-test_kinit Add tests for lowercase realm combinations
...
This tests that the handling of lowercase realms works in our KDC and
libraries.
Andrew Bartlett
2010-11-16 16:01:19 +11:00
Kai Blin
b73a05e4e1
s4 net: rename to samba-tool in order to not clash with s3 net
...
Autobuild-User: Kai Blin <kai@samba.org>
Autobuild-Date: Thu Oct 28 07:25:16 UTC 2010 on sn-devel-104
2010-10-28 07:25:16 +00:00
Stefan Metzmacher
fd628e7ae4
midltests: add more union_align examples
...
This demonstrates the difference between NDR32 and NDR64
metze
2010-10-24 19:04:08 +02:00
Andrew Tridgell
006111646c
s4-test: fixed a typo in test_kinit.sh
...
too many Ts
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Fri Oct 15 10:14:27 UTC 2010 on sn-devel-104
2010-10-15 10:14:27 +00:00
Andrew Tridgell
d59a342c71
s4-test: fixed test_kinit.sh time command test
...
passing -W breaks -k yes
2010-10-15 09:32:03 +00:00
Günther Deschner
229f5443b7
testprogs: print architecture used in win32 spoolss testsuite.
...
Guenther
2010-10-01 22:30:22 +02:00
Stefan Metzmacher
77d959fb15
midltests: add midltests-pipe-sync-ndr32-downgrade-02.idl
...
metze
2010-09-29 10:49:41 +02:00
Stefan Metzmacher
45e3e54e08
midltests: support for fragmented RPC traffic
...
metze
2010-09-29 10:49:40 +02:00
Stefan Metzmacher
6c0a4b6477
midltests: print out the alloc_hint for requests and responses
...
metze
2010-09-29 10:49:40 +02:00
Stefan Metzmacher
25e19287f0
midltests: improve NDR64 downgrade
...
metze
2010-09-29 10:49:39 +02:00
Stefan Metzmacher
437db14522
midltests: revert to a simple default midltests.idl
...
metze
2010-09-29 10:49:39 +02:00
Stefan Metzmacher
e2c305deb1
midltests/todo: add some random idl files I had tested month ago
...
metze
2010-09-29 03:08:25 +02:00
Stefan Metzmacher
ad99711f49
midltests: add midltests-pipe-sync-ndr32-downgrade-01.idl example
...
metze
2010-09-29 03:08:25 +02:00
Stefan Metzmacher
c5e221c5f8
midltests: add some usefull defines to midltests.idl
...
metze
2010-09-29 03:08:24 +02:00
Stefan Metzmacher
06108687e8
midltests: make it possible to allow downgrades to NDR32
...
metze
2010-09-29 03:08:24 +02:00
Stefan Metzmacher
115ad60125
midltests: add a midltests_tcp.exe tool
...
This uses a man in the middle approach in order to dump the
request and response pdus.
It also tests NDR32 and NDR64.
metze
2010-09-29 01:42:28 +02:00
Stefan Metzmacher
cf4e57281b
midltests: move the current implementation to midltests_simple.exe
...
metze
2010-09-29 01:42:27 +02:00
Stefan Metzmacher
d8a0436fb4
testprogs/win32: add vs2010-metze.cmd
...
metze
2010-09-29 01:42:26 +02:00
Günther Deschner
b772f4cdff
testprogs: skip two tests in spoolss tester.
...
Guenther
2010-09-17 10:06:16 +02:00
Stefan Metzmacher
6fe216642a
testprogs/midltests: add some example IDL files and there midltests.exe output
...
metze
2010-08-12 14:31:15 +02:00
Stefan Metzmacher
34692556be
s4:blackblock/ktpass: use test specific user name
...
metze
2010-07-31 11:22:15 +02:00
Matthieu Patou
e461e29cd9
s4 unittests: add blackblox test for ktpass
2010-07-17 17:56:16 +04:00
Andrew Bartlett
0e212acd32
s4:testprogs Operate the blackbox kinit and net tests using the :local config
...
This :local tells selftest.pl to use the local smb.conf for the test
environment, not the generic client smb.conf
This then makes the rest work properly - otherwise, it may attempt to
connect to the wrong KDC for example.
The only problem is that we can't test the 'net join' with this set,
so this is removed from the test. The member server test environment
checks this anyway.
Andrew Bartlett
2010-07-16 07:08:41 +10:00
Andrew Bartlett
8769e75a61
s4:testprogs Show that we no longer delete the old keytab entries
...
By using a CCACHE obtained while the old password was still valid, we
can tell if the server still accepts incoming Kerberos connections
with the old password.
Andrew Bartlett
2010-07-15 22:08:22 +10:00
Andrew Bartlett
5d61b477c6
s4:testprogs Prove kerberos still works after a password change
...
Changing the machine account password should not prevent connections
with a current, valid CCACHE. This is because when the password is
changed, the server-side keytab keeps one old password around.
Andrew Bartlett
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-15 22:08:22 +10:00
Matthieu Patou
0496af8341
s4: Unit test update_machine_account_password through kinit
...
This patch is for testing the chgdcpass script which is mostly a call to
update_machine_account_password.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-15 22:08:20 +10:00
Stefan Metzmacher
22dfb16d73
testprogs/blackbox/subunit.sh: initialize failed to 0
...
This is a short-term workarround for broken scripts,
which use "exit $failed", without initializing failed.
We need a discussion on the mailing list how to handle this
in a nicer way.
This should fix some random failures in the blackbox tests.
metze
2010-07-10 09:35:04 +02:00
Matthias Dieter Wallnöfer
518232d457
s4:kinit blackbox test - set/reset also here the "minPwdAge"
2010-07-03 16:08:24 +02:00
Matthias Dieter Wallnöfer
73c69a195a
s4:blackbox/test_passwords.sh - perform also here the adaptions for "minPwdAge" != 0
2010-07-03 11:38:49 +02:00
Andrew Bartlett
48c8896f2e
s4:selftest Split out PKINIT tests from test_kinit.sh and test enc types
...
This allows us to run the PKINIT tests only against the main DC (for
which the certificates were generated), while testing the available
encryption types in each functional level.
In particular, we need to assert that AES encryption is available in
the 2008 functional level.
Andrew Bartlett
2010-06-29 16:59:31 +10:00
Stefan Metzmacher
df96f18e8f
testprogs/win32: add prepare_dcpromo tool
...
This tool can set the DOMAIN-SID and nextRid counter in
the local SAM on windows servers (tested with w2k8r2)
dcpromo will use this values for the ad domain it creates.
This might be useful for upgrades from a Samba3 domain.
metze
2010-06-22 10:47:39 +02:00
Stefan Metzmacher
d18fbda0d0
testprogs/win32: make it possible to specify MINGW_CC
...
metze
2010-05-19 13:59:45 +02:00
Stefan Metzmacher
4ce04f6f6f
testprogs/win32/spoolss: we don't need absolute pathes to mingw locations
...
metze
2010-05-19 13:58:26 +02:00
Stefan Metzmacher
38d1776c79
testprogs/win32/npecho: use 'rm -f' instead of 'del' on unix
...
metze
2010-05-19 13:57:04 +02:00
Stefan Metzmacher
d133ef997d
testprogs/win32: explain how to use nmake with NMakefile
...
metze
2010-05-19 13:56:54 +02:00
Stefan Metzmacher
64fa63c3e9
testprogs/win32/spoolss: rename Makefile.mingw GNUmakefile
...
metze
2010-05-19 11:12:53 +02:00
Stefan Metzmacher
b00acc81fb
testprogs/win32/spoolss: rename Makefile => NMakefile
...
metze
2010-05-19 11:12:53 +02:00
Günther Deschner
f754942862
testprogs: update Makefile.mingw (although mingw current cant build it).
...
Guenther
2010-05-10 11:50:29 +02:00
Günther Deschner
86ec5fe3ee
testprogs: update README to reflect the util rename.
...
Guenther
2010-05-10 11:50:28 +02:00
Günther Deschner
cda0c75e18
testprogs: add readme for testspoolss.exe.
...
Patch from Kurt Pfeifle <Kurt.Pfeifle@ricoh.de>.
Guenther
2010-05-10 11:50:28 +02:00
Günther Deschner
e94825d159
testprogs: add vcproj and sln files for testspoolss.exe.
...
Patch from Kurt Pfeifle <Kurt.Pfeifle@ricoh.de>.
Guenther
2010-05-10 11:50:28 +02:00
Günther Deschner
eb28a761e9
testprogs: rename spoolss.exe to testspoolss.exe.
...
Patch from Kurt Pfeifle <Kurt.Pfeifle@ricoh.de>.
Guenther
2010-05-10 11:50:25 +02:00
Matthias Dieter Wallnöfer
088a25912e
s4:blackbox/test_kinit.sh - Test the new "net user add <user> [<password>]" syntax
2010-05-09 19:14:47 +02:00
Andrew Tridgell
48330c828e
s4-test: check that a weak password is rejected by kpasswd
...
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-04-16 14:12:44 +10:00
Stefan Metzmacher
16d4d0346d
testprogs/blackbox/test_kinit: reorder arguments to "net time" to fix make test
...
metze
2010-04-13 10:09:18 +02:00
Andrew Bartlett
df7fbf28ee
s4:testprogs Update test to match current Heimdal
2010-03-27 12:23:21 +11:00
Andrew Bartlett
6798543842
s4:testprogs Fix kinit test for updated Heimdal
2010-03-27 11:53:49 +11:00
Andrew Bartlett
0a65bb57a1
s4:selftest Add testing of kpasswd password set on servicePrincipalName
2010-03-25 16:32:04 +11:00
Günther Deschner
6f36e9d504
testprogs: add EnumPrinterData test to win32 spoolss test.
...
Guenther
2010-03-15 17:27:12 +01:00