Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-06-16 | s4-smbtorture: only pull info when status code indicates success in ↵ | Günther Deschner | 1 | -3/+5 | |
smbcli_rap_netprintqgetinfo(). Guenther | |||||
2010-06-16 | Revert "s4-smbtorture: only pull info when status code indicates success in ↵ | Günther Deschner | 1 | -5/+3 | |
smbcli_rap_netprintqgetinfo()." This reverts commit 1f1c04010a55e67d8dc2110276eed4cf2a8a0afa. | |||||
2010-06-16 | s4-smbtorture: test smbcli_rap_netprintqgetinfo() with "" printqname. | Günther Deschner | 1 | -0/+8 | |
Guenther | |||||
2010-06-16 | s4-smbtorture: only pull info when status code indicates success in ↵ | Günther Deschner | 1 | -3/+5 | |
smbcli_rap_netprintqgetinfo(). Guenther | |||||
2010-06-15 | s4 torture: RAW-SEARCH: break out some of the old search levels | Aravind Srinivasan | 3 | -2/+33 | |
* Added two new parameters: raw_search_search and raw_ea_size which can be enabled/disabled based on whether the server supports RAW_SEARCH_SEARCH and/or RAW_SEARCH_EA_SIZE levels * Skip unsupported levels from the server and give a warning rather than failing. Signed-off-by: Tim Prouty <tprouty@samba.org> | |||||
2010-06-15 | s4 torture: RAW-SEARCH: Only test supported info levels | Tim Prouty | 1 | -9/+45 | |
2010-06-15 | s4:torture Rework NET-API-BECOMEDC test to use libnet_vampire callbacks. | Andrew Bartlett | 1 | -582/+59 | |
The libnet_vampire code was derived from this code in the first place, but has continued to evolve, while this code has often bitrotted. This avoids the needless duplication of the callbacks, while keeping the toture wrapper. Andrew Bartlett Signed-off-by: Kamen Mazdrashki <kamenim@samba.org> | |||||
2010-06-14 | s4 torture: RAW-WRITE should check lockread_supported | Zachary Loafman | 1 | -0/+5 | |
Signed-off-by: Tim Prouty <tprouty@samba.org> | |||||
2010-06-12 | s4:torture - SAMR testsuite - now we do support "GetAliasMembership" as expected | Matthias Dieter Wallnöfer | 1 | -4/+0 | |
2010-06-11 | s4/test-libnet: Re-align code a bit - more readable this way IMO | Kamen Mazdrashki | 3 | -24/+28 | |
2010-06-11 | s4/test-libnet: Refactor test_group_create() a little to: | Kamen Mazdrashki | 1 | -11/+22 | |
- Close unused policy handle for created group - re-align code - it is more readable this way IMHO | |||||
2010-06-11 | s4/test-libnet: Refactor test_user_create() little bit to: | Kamen Mazdrashki | 1 | -11/+7 | |
- fix a flaw that user RID is not returned in case user is recreated - close unused policy handle to created user - do not take into account the result from test_samr_close_handle - we don't case | |||||
2010-06-11 | s4/test-libnet: add few comments for utility functions | Kamen Mazdrashki | 1 | -3/+11 | |
2010-06-11 | s4/test-libnet: Move LSA close handle function to a common location | Kamen Mazdrashki | 3 | -40/+26 | |
2010-06-11 | s4/test-libnet: remove unused code | Kamen Mazdrashki | 1 | -25/+0 | |
Pre-connecting SAMR and LSA pipes is implemented in test_libnet_context_init() function | |||||
2010-06-11 | s4/test-libnet: Fix compile-time warning | Kamen Mazdrashki | 1 | -1/+1 | |
2010-06-11 | s4-smbtorture: rework internals of RPC-SPOOLSS-ACCESS testsuite. | Günther Deschner | 1 | -71/+181 | |
Guenther | |||||
2010-06-11 | s4/test: use test_libnet_context_init() function to create libnet_context | Kamen Mazdrashki | 2 | -24/+23 | |
This way we ensure that LIBNET call will be issued against the DC we are testing against | |||||
2010-06-11 | s4/test: fix SEGFAULT in test_group_create when rid is NULL | Kamen Mazdrashki | 1 | -1/+4 | |
Caller of this function may not need group RID and in such case it passes NULL for rid parameter | |||||
2010-06-11 | s4/test-libnet: Helper func to initialize libnet_context | Kamen Mazdrashki | 1 | -0/+54 | |
and create rpc connections to SAMR and LSA pipes. This function should be used in cases where we need 'deterministic' connection to the DC we are testing against. The problem is that most of the test follow the pattern: 1. Connect to server supplied on command line 2. Create user/group through connection in 1. 3. Use 'fresh' libnet_context to query/alter the object in step 2. In singe-DC environment this work well. But in multiple-DC environment libnet may connect to another DC (step 3), not the one we use in step 1 and 2. This leads to false error - object created in step 2 is not found on DC we are querying in step 3. | |||||
2010-06-11 | s4/test: Call test_user_cleanup with original RDN for the user | Kamen Mazdrashki | 1 | -1/+1 | |
'name' var is changed during the test execution and should contain samAccountName for the user, while test_user_cleanup() expects account RDN to be passed | |||||
2010-06-11 | s4/test: Fix incorrect NTSTATUS comparison | Kamen Mazdrashki | 1 | -2/+2 | |
In case group already exists, we should get NT_STATUS_GROUP_EXISTS. | |||||
2010-06-11 | s4/test: remove create/delete group implementation in API-CREATEGROUP test | Kamen Mazdrashki | 1 | -110/+3 | |
We already have common implementation for create/delete group in libnet/utils.c | |||||
2010-06-11 | s4/test: Remove duplicated test_opendomain() functionality | Kamen Mazdrashki | 1 | -54/+1 | |
We already have a nice common test_domain_open() function in libnet/util.c | |||||
2010-06-11 | s4/test: libnet_user tests should use common test_user_cleanup | Kamen Mazdrashki | 1 | -129/+5 | |
implementation instead of not-so-informative test_cleanup() | |||||
2010-06-11 | s4/test: Refactor test_user_cleanup to be more robust | Kamen Mazdrashki | 1 | -12/+84 | |
We always call this function with user's account RDN while samr_LookupNames() searches for samAccountName. | |||||
2010-06-11 | s4/test: remove duplicated comment | Kamen Mazdrashki | 1 | -3/+0 | |
2010-06-07 | s4-smbtorture: test workstation auth as well in RPC-SPOOLSS-ACCESS. | Günther Deschner | 1 | -2/+34 | |
Guenther | |||||
2010-06-07 | s4-smbtorture: handle printservers w/o printers in RPC-SPOOLSS-ACCESS. | Günther Deschner | 1 | -2/+2 | |
Guenther | |||||
2010-06-05 | s4-smbtorture: make RPC-SPOOLSS-ACCESS more compatible with older samba ↵ | Günther Deschner | 1 | -6/+9 | |
releases. Guenther | |||||
2010-06-05 | s4-smbtorture: remove another incarnation of test_ClosePrinter. | Günther Deschner | 1 | -19/+0 | |
This should fix the build; why waf didn't catch that durint make bin/smbtorture4 ? Guenther | |||||
2010-06-05 | s4-smbtorture: add RPC-SPOOLSS-ACCESS. | Günther Deschner | 4 | -2/+754 | |
This test creates - a user - a user with BUILTIN\Administrators membership - a user with BUILTIN\Print Operators membership - a user with SePrintOperatorPrivilege (if available) - a user with full access in security descriptor and checks what access rights are granted in spoolss_OpenPrinterEx. Guenther | |||||
2010-06-05 | s4-smbtorture: share test_ClosePrinter between RPC-SPOOLSS and RPC-SPOOLSS-WIN. | Günther Deschner | 2 | -26/+3 | |
Guenther | |||||
2010-06-05 | s4-smbtorture: check error codes in RAP-SAM testsuite. | Günther Deschner | 1 | -0/+2 | |
Guenther | |||||
2010-06-04 | s4-smbtorture: completely rework RPC-SPOOLSS-PRINTER. | Günther Deschner | 2 | -326/+521 | |
This is now a child testsuite to RPC-SPOOLSS. You can call simple tests via RPC-SPOOLSS-{addprinter,addprinterex}-testname. Guenther | |||||
2010-06-04 | s4-smbtorture: rework order of test in RPC-SPOOLSS-PRINTSERVER a bit. | Günther Deschner | 1 | -3/+3 | |
Guenther | |||||
2010-06-03 | s4-smbtorture: convert RPC-SPOOLSS into a torture suite. | Günther Deschner | 2 | -83/+212 | |
Guenther | |||||
2010-06-03 | s4-smbtorture: allow to call single tests from a testcase in a testsuite | Günther Deschner | 1 | -0/+10 | |
directly on the commandline. Guenther | |||||
2010-06-03 | s4-smbtorture: move PrintProcessors winreg test to main RPC-SPOOLSS test. | Günther Deschner | 1 | -7/+2 | |
Guenther | |||||
2010-06-03 | s4-smbtorture: add test_PrintProcessors_winreg. | Günther Deschner | 1 | -0/+71 | |
This does cross reference checks between spoolss PrintProcessors and entries stored in winreg. Guenther | |||||
2010-06-03 | s4-smbtorture: refactor test_EnumPrintProcessors(). | Günther Deschner | 1 | -35/+54 | |
Guenther | |||||
2010-06-03 | s4-smbtorture: only test data up to a length of 9 bytes in ↵ | Günther Deschner | 1 | -1/+1 | |
test_SetPrinterDataEx_matrix(). Guenther | |||||
2010-06-01 | s4-smbtorture: skip driverName and printerName DsSpooler tests for now. | Günther Deschner | 1 | -2/+2 | |
Guenther | |||||
2010-06-01 | s4-smbtorture: Make sure RPC-SPOOLSS and RPC-SPOOLSS-PRINTER pass against s3. | Günther Deschner | 1 | -0/+37 | |
Printjobs are extremely fragile beasts on paused virtual printers within make test. Very often the printq updater in the background is not fast enough, so subsequent tests don't get to the updated information. Something to remember and to work on later... Guenther | |||||
2010-05-31 | s3/s4:netrEnumerateTrustedDomains - this call returns a "NTSTATUS" result | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
See MS-NRPC 3.5.5.6.3. | |||||
2010-05-31 | s4:torture/rpc/netlogon.c - add another "LogonGetDomainInfo" testcase | Matthias Dieter Wallnöfer | 1 | -0/+17 | |
Mark it as dangerous since it does break some target systems. | |||||
2010-05-28 | s4/test-libnet: Remove multiple test_samr_close() impelementations | Kamen Mazdrashki | 2 | -45/+15 | |
We now have a nice common test_samr_close_handle() function to use | |||||
2010-05-28 | s4/test-libnet-user: Remove test_createuser() | Kamen Mazdrashki | 1 | -63/+3 | |
We have same functionality already implemented by test_user_create() in libnet/utils.c | |||||
2010-05-28 | s4/test-libnet-utils: refactor test_user_create() | Kamen Mazdrashki | 1 | -13/+39 | |
- param names made more clear what they stand for - user RID out param is now optional, so that this function may be used in cases where we don't need user RID - SAMR connection handle is closed as it is not used further (we should play nice with servers) | |||||
2010-05-28 | s4/test: remove local impl for open_domain and use common one | Kamen Mazdrashki | 2 | -57/+5 | |