1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

338 Commits

Author SHA1 Message Date
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
Günther Deschner
a319eb9700 testprogs: add test_PrinterDataW.
Guenther
2010-03-04 10:10:02 +01:00
Günther Deschner
55946ddd1d testprogs: use dump_data in dump_printer_data.
Guenther
2010-03-04 10:10:02 +01:00
Günther Deschner
74ba0b7189 testprogs: add print_printer_dataw and dump_data to printlib.
Guenther
2010-03-04 10:10:02 +01:00
Günther Deschner
66b4463fc1 testprogs: add some multibyte versions of PrinterData calls.
Guenther
2010-03-04 10:10:02 +01:00
Günther Deschner
892213c7b7 testprogs: fix boolean return code of test_PrinterData.
Guenther
2010-03-03 14:42:31 +01:00
Günther Deschner
74703e4897 testprogs: make sure to do the same tests as in smbtorture in test_PrinterData().
Guenther
2010-03-02 19:03:17 +01:00
Günther Deschner
f73c27116c testprogs: fix REG_SZ in print_printer_data.
Guenther
2010-03-02 19:03:16 +01:00
Günther Deschner
8919a58583 testprogs: test result of GetPrinterDataEx against SetPrinterDataEx args.
Guenther
2010-03-02 15:29:38 +01:00
Günther Deschner
cf12d4556a testprogs: better usage text.
Guenther
2010-03-01 21:15:34 +01:00
Günther Deschner
36d3aa69f1 testprogs: add very basic PrinterData test for printers.
This very basically tests SetPrinterDataEx, GetPrinterDataEx and
DeletePrinterDataEx.

Guenther
2010-03-01 21:15:33 +01:00
Günther Deschner
0d0d778b21 testprogs: rename test_PrinterData to test_PrinterData_Server.
Guenther
2010-03-01 21:15:33 +01:00
Günther Deschner
d44dd1005b testprogs: add SetPrinterDataEx test.
Guenther
2010-03-01 21:15:33 +01:00
Günther Deschner
b797481b8d testprogs: add DeletePrinterKey test.
Guenther
2010-03-01 21:15:33 +01:00
Günther Deschner
1b6f1e8c30 testprogs: add DeletePrinterDataEx test.
Guenther
2010-03-01 21:15:33 +01:00
Günther Deschner
61568cf4c8 testprogs: allow to test a single printer when given on the cmdline. 2010-03-01 21:15:33 +01:00
Günther Deschner
32371e9ba6 testprogs: add RPC_X_NULL_REF_POINTER error code 2010-03-01 21:15:33 +01:00
Günther Deschner
274baba4ab testprogs: print the directory paths as well in spoolss test.
Guenther
2010-02-26 11:07:57 +01:00
Andrew Bartlett
a9d9447d5a s4:credentials Add hooks to extract a named Kerberos credentials cache
This allows the integration of external tools that can't be linked
into C or python, but need to authenticate as the local machine
account.

The machineaccountccache script demonstrates this, and debugging has
been improved in cli_credentials_set_secrets() by passing back and
error string.

Andrew Bartlett
2010-02-20 17:58:07 +11:00
Günther Deschner
e40310a64b testprogs: ignore GetJob level 3 and 4 against samba for now.
Guenther
2010-02-19 10:12:07 +01:00
Günther Deschner
77164a8a5d testprogs: add tests for GetJob() to spoolss test.
Guenther
2010-02-18 22:01:04 +01:00
Günther Deschner
0bf9c5ecf6 testprogs: add RPC_S_PROCNUM_OUT_OF_RANGE error.
Guenther
2010-02-18 16:41:59 +01:00
Günther Deschner
9ff2c1ea64 testprogs: print SDDL string of printer security descriptors 2010-02-18 02:18:59 +01:00
Günther Deschner
77fc30b481 testprogs: add rather simple device mode tests to spoolss test.
Guenther
2010-02-16 17:28:02 +01:00
Günther Deschner
351f694d61 testprogs: add "samba3" and "architecture=" options to spoolss tester.
Guenther
2010-02-15 23:05:05 +01:00
Günther Deschner
1988f4274c testprogs: fix EnumJobs debug output in spoolss test.
Found by Kai, thanks!

Guenther
2010-02-15 22:12:34 +01:00
Günther Deschner
89621d8d19 testprogs: print all printerinfo levels in spoolss test.
Guenther
2010-02-12 20:46:44 +01:00
Günther Deschner
5e1dd19221 testprogs: one more error code for spoolss test.
Guenther
2010-02-11 13:26:13 +01:00
Günther Deschner
4f8a4cb81b testprogs: print secdesc->Control in spoolss test.
Guenther
2010-02-11 13:24:41 +01:00
Günther Deschner
490e1f84fe testprogs: use ConvertSidToStringSid in order to print sids in spoolss test.
Guenther
2010-02-11 13:24:41 +01:00
Günther Deschner
1cd9df8da2 testprogs: add more error codes for spoolss test.
Guenther
2010-02-10 14:07:31 +01:00
Günther Deschner
7c95d559c3 testprogs: regenerate printlib prototypes for spoolss test.
Guenther
2010-02-09 16:39:37 +01:00