summaryrefslogtreecommitdiff
path: root/source4/scripting/swig/torture
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r6540: Implement a bunch more SAMR functions.Tim Potter1-0/+40
(This used to be commit 7ab240644ec6cfd0449df7e2dfe0eb1b8a52ccdb)
2007-10-10r6512: Refactor samr torture test to use the nicer OO interface instead of theTim Potter1-552/+88
previous dictionary based SWIG interface (which was broken anyway). (This used to be commit 16b7e503bdbe4da96158e504790b1501a99d6db3)
2007-10-10r6329: Write tests for newly implemented alias functions.Tim Potter1-119/+52
(This used to be commit 30d0c9fb2ededb86e40b985820a426f8df84053b)
2007-10-10r6215: Add test for LookupNames. Fix CreateUser2 test.Tim Potter1-32/+9
(This used to be commit e3a69a73222ae3277c2d10d33c5c71b7a14da789)
2007-10-10r6208: Add cli_credentials support for swig wrappers. For the moment itTim Potter2-4/+3
only does anonymous connections. (This used to be commit b09a4723539235fc924134aa50fc4aed040afb33)
2007-10-10r5369: Rename torture modules so they don't conflict with files in ↵Tim Potter2-198/+41
scripting/swig. Start porting samr torture test to new API. (This used to be commit 14593939830e130ae306b82a6c063ec9d7f36b93)
2007-10-10r3588: Fix bug in converting SIDs containing large unsigned integers from ↵Tim Potter1-0/+12
Python. (This used to be commit a46aba43549e5221ec0c15d4133444d8ef77a4fb)
2007-10-10r3521: Collect printer driver names in EnumPrinterDrivers.Tim Potter1-4/+5
(This used to be commit 86f54db1ef96fbffc6f1c7948d8bc849009a536d)
2007-10-10r3506: Test EnumPorts function.Tim Potter1-6/+14
(This used to be commit 354068aae16b7e0c13416cfcdf9bdef5138dccc0)
2007-10-10r3430: Add tests for EnumPrinterDataEx, SetPrinterDataEx (doesn't work),Tim Potter1-10/+65
EnumPrinterDrivers. (This used to be commit fe381c3ebc64a7d067832c7d2aebeb35b1f3923b)
2007-10-10r3411: Ignore some autogenerated files.Tim Potter1-0/+3
(This used to be commit f6428f2d01a4bd8d4acadf96e33957371cdb2021)
2007-10-10r3410: Handle conversion of DATA_BLOBs and pointers to DATA_BLOBs from python.Tim Potter1-1/+26
(This used to be commit 12e037dbe3d497aff2415c0a22fab20a7932ab7a)
2007-10-10r3405: Test EnumPrinterData and GetPrinterData.Tim Potter1-1/+48
(This used to be commit a4facee8602cfb9b2599e0068dd42933ed94655e)
2007-10-10r3403: Add test for operations on print server handle.Tim Potter1-15/+72
Add tests for EnumJobs, GetJob. Oops - forgot to EnumPrinters at level2. (This used to be commit 930d57964b69fda59f473914ac4633984f259c86)
2007-10-10r3401: Fix IDL for SetForm RPC.Tim Potter1-10/+29
(This used to be commit 206f3de297c397c8894f9855ea8571c68823e1fc)
2007-10-10r3396: Rename form_name -> formname. This time, check smbtorture builds beforeTim Potter1-1/+4
committing. (-: (This used to be commit c776232d0130638a85cc8ce75e4bbef75952e856)
2007-10-10r3311: Consistency updates for form name members.Tim Potter1-33/+94
Add tests for EnumForms, GetForm, AddForm, DeleteForm. (This used to be commit 6c49ce976a5c6982fa83de4ea723cef5597c29ef)
2007-10-10r3308: Handle servers that don't have samr_Connect5.Tim Potter1-4/+11
(This used to be commit 52af866ffb427427d21daf11a4ca9a8b9881f1d5)
2007-10-10r3302: The security descriptors in spoolss_PrinterInfo2 and spoolss_PrinterInfo3Tim Potter1-6/+53
need to be marked as subcontext(0). GetPrinter tests now work for all info levels! (This used to be commit 53bd02960e17f7517e0d6c4f489d27b8bdcc7582)
2007-10-10r3217: Start of a spoolss_GetPrinter test.Tim Potter1-0/+26
(This used to be commit 994fe92febe38f06d69f43b01c80e8350e902986)
2007-10-10r3216: Add tests for OpenPrinterEx and ClosePrinter.Tim Potter1-8/+63
(This used to be commit b7ff5f0deded4bcf6695dac0683fd9d271d9c255)
2007-10-10r3204: Got unpacking of an array of PrinterInfo union elements working. Phew.Tim Potter1-1/+1
(This used to be commit f490cd719cc02589e73e26fa983aff90708d1926)
2007-10-10r3009: Fix up unmarshall functions to return Python dict instead of a NTSTATUS.Tim Potter1-2/+8
We can now unmarshall a single printer returned from an EnumPrinters. (This used to be commit 89da7a9196d40699881f12c9a5fe62301aafd4cf)
2007-10-10r3001: Expose unmarshalling functions for structures marked "public" in theTim Potter1-1/+1
idl. This allows us to pass a buffer of bytes returned from a spoolss call and convert it to a Python dictionary. Works for enumprinters level 1! (This used to be commit 4bc497a2994b12845a46b2d19f60bb81c9869fc9)
2007-10-10r2965: Ignore *.pyc files in torture directory.Tim Potter2-3/+41
Allow test module name to be specified on command line for pytorture module. Start spoolss torture test. (This used to be commit 44bab84f765f6a4d37733a353fc6b74b09c1b39a)
2007-10-10r2817: Get winreg_GetKeySecurity() working but use data blob instead ofTim Potter1-32/+77
security descriptor. (This used to be commit bc5165e40a716fb7c612b32c0b6f03cb2d331d11)
2007-10-10r2807: OK I think winreg_EnumValue() finally works. The previous versionTim Potter1-35/+25
didn't work with non-NULL registry value names. Update testsuite to enumerate all keys and values two levels deep. (This used to be commit c09f0f355ba6a589121588492aa2db5deb7121e0)
2007-10-10r2781: Got winreg_EnumValue() working. Check it in so I don't break it tryingTim Potter1-12/+22
to clean it up. (-: (This used to be commit cc646f73b873292eaba152770be9500beff1c988)
2007-10-10r2766: Test OpenKey, QueryInfoKey, EnumKey, CloseKey functions.Tim Potter1-5/+102
The IDL for EnumValue is wrong - can't figure it out right now. (This used to be commit 37af942d08da9ba9dcf351853f9064b5d179d5e4)
2007-10-10r2739: Start of torture test for winreg wrappers.Tim Potter1-0/+23
(This used to be commit cf9b984b8457843d2b6bb1c4ac90d52c9b802d89)
2007-10-10r2728: Break arg parsing stuff out of samr.py into a standalone program.Tim Potter2-47/+53
(This used to be commit 799b377badebf9a3f388b7d3fdc36484aa5e3376)
2007-10-10r2560: Don't require structure fields that have the pidl value() propertyTim Potter1-26/+2
to be set. They can be if you want, but will be overwritten by the pidl push code. (This used to be commit 3170f6ed84e0514bf18d2a346f153bf0231b245b)
2007-10-10r2559: Python ints can't hold the full range of uint32 values so store themTim Potter1-0/+12
as Python longs. Also allow shorter width integer types to be initialised from long values. Their values are truncated if they are too long. (This used to be commit e9eb231d6441774d1b5227962bbe94aa29e20995)
2007-10-10r2511: Add NT status codes.Tim Potter1-17/+17
(This used to be commit 471b13da2b0893a58977154dbe4d004d5c06aed4)
2007-10-10r2502: Finish off samr torture test: samr_CreateUser2, samr_SetUserInfo,Tim Potter1-30/+288
samr_QueryAliasInfo, samr_SetAliasInfo, samr_AddMemberToAlias, samr_AddMultipleMembersToAlias, samr_QueryDisplayInfo, samr_QueryDisplayInfo2, samr_QueryDisplayInfo3, samr_GetDisplayEnumerationIndex, samr_GetDisplayEnumerationIndex2, samr_TestPrivateFunctionsDomain, samr_RidToSid, samr_GetBootKeyInformation, samr_DeleteUser, samr_DeleteAlias, samr_Close. (This used to be commit 808e0708a9601bb94246311e03a1d5adcf654022)
2007-10-10r2492: Some cleanups.Tim Potter1-29/+145
Add tests for samr_CreateDomainGroup, samr_DeleteDomainGroup, samr_QueryDomainInfo, samr_SetDomainInfo, samr_EnumDomainUsers, samr_EnumDomainAliases, samr_EnumDomainGroups. (This used to be commit 991d783c1ade19443c92b85f2b5763b5f51c6d61)
2007-10-10r2461: Update samr.py torture test after policy handle parameter renames.Tim Potter1-32/+99
I thought of another exception to the policy name rule - samr_Close can operate on any kind of samr handle. (This used to be commit 632b7cc0d6b8349a9db1e57c305c359aa500c9e6)
2007-10-10r2429: Add tests for samr_QueryUserInfo(), samr_QueryUserInfo2(),Tim Potter1-3/+174
samr_GetUserPwInfo(), samr_TestPrivateFunctionsUser(). Add stubs for the rest of the functions in test_OpenDomain() from smbtorture. (This used to be commit 1dc86e466dc546a5509fe5195444e48dc026e9a1)
2007-10-10r2427: Add tests for samr_GetDomPwInfo, samr_RemoveMemberFromForeignDomain,Tim Potter1-2/+150
samr_LookupName, samr_OpenUser, samr_DeleteUser, samr_CreateUse and samr_OpenDomain. (This used to be commit 086740c178c80ccb8d8eaff9f97007cb021bca20)
2007-10-10r2421: Fix test for lookupdomain for a non-existent domain.Tim Potter1-1/+7
Export NTSTATUS exception from wrapper module so it can be used by scripts. (This used to be commit 57edfd605bffcf8a0feb5ccc5ec69cf5f35b677b)
2007-10-10r2419: Write tests for samr_EnumDomains() and samr_LookupDomain().Tim Potter1-4/+38
(This used to be commit aa15fd1ecba2163a077f398cecfb49d71a49cc9d)
2007-10-10r2414: samr_Connect.system_name is now an array.Tim Potter1-1/+1
(This used to be commit e1166c210004b090c5922b2f9b10b86ebc3fc11d)
2007-10-10r2410: Add test for samr_SetSecurity().Tim Potter1-2/+7
(This used to be commit e822979e84d33015c937e22174288a3f2c2ff04b)
2007-10-10r2345: Add test for samr_QuerySecurity()Tim Potter1-12/+35
(This used to be commit f6978a007a79c97910856b3c639844495f16ebab)
2007-10-10r2339: my first python commit!Andrew Tridgell1-3/+27
added command line options for binding string, domain, username and password (This used to be commit e94bec1079f266fdb869642eab24f542a81f8e5a)
2007-10-10r2336: Add another conversion function to allow union arms that contain ↵Tim Potter1-0/+13
structures not pointers to structures. Do some renaming of hand-written functions as a result. Include lsa interface before samr interface as samr depends on some lsa structures. Build up a nice hashed index of interfaces, functions, structs and unions. Add test for samr_Connect5() function which contains a union. (This used to be commit 30f068164a5125f84a34f28ed0f2586a2bdec7e4)
2007-10-10r2300: Start writing a Python torture test suite based on the smbtorture rpc ↵Tim Potter1-0/+52
tests. (This used to be commit 73e087f11e401ef8da7c53148444b2745a94dbaf)