summaryrefslogtreecommitdiffstats
path: root/source/scripting
Commit message (Collapse)AuthorAgeFilesLines
...
* r3459: Fix cut&paste error in copyright header.Tim Potter2004-11-021-2/+2
|
* r3456: Add appropriate #includes to fix Python extensions build.Tim Potter2004-11-021-0/+8
|
* r3430: Add tests for EnumPrinterDataEx, SetPrinterDataEx (doesn't work),Tim Potter2004-11-011-10/+65
| | | | EnumPrinterDrivers.
* r3411: Ignore some autogenerated files.Tim Potter2004-10-311-0/+3
|
* r3410: Handle conversion of DATA_BLOBs and pointers to DATA_BLOBs from python.Tim Potter2004-10-312-1/+43
|
* r3405: Test EnumPrinterData and GetPrinterData.Tim Potter2004-10-311-1/+48
|
* r3403: Add test for operations on print server handle.Tim Potter2004-10-311-15/+72
| | | | | | Add tests for EnumJobs, GetJob. Oops - forgot to EnumPrinters at level2.
* r3401: Fix IDL for SetForm RPC.Tim Potter2004-10-311-10/+29
|
* r3396: Rename form_name -> formname. This time, check smbtorture builds beforeTim Potter2004-10-301-1/+4
| | | | committing. (-:
* r3311: Consistency updates for form name members.Tim Potter2004-10-281-33/+94
| | | | Add tests for EnumForms, GetForm, AddForm, DeleteForm.
* r3309: Add wrapper for dcerpc_server_name() function.Tim Potter2004-10-281-0/+2
|
* r3308: Handle servers that don't have samr_Connect5.Tim Potter2004-10-281-4/+11
|
* r3302: The security descriptors in spoolss_PrinterInfo2 and spoolss_PrinterInfo3Tim Potter2004-10-281-6/+53
| | | | | | need to be marked as subcontext(0). GetPrinter tests now work for all info levels!
* r3217: Start of a spoolss_GetPrinter test.Tim Potter2004-10-251-0/+26
|
* r3216: Add tests for OpenPrinterEx and ClosePrinter.Tim Potter2004-10-251-8/+63
|
* r3204: Got unpacking of an array of PrinterInfo union elements working. Phew.Tim Potter2004-10-251-1/+1
|
* r3010: Do some more PyInt vs PyLong checks.Tim Potter2004-10-171-3/+2
|
* r3009: Fix up unmarshall functions to return Python dict instead of a NTSTATUS.Tim Potter2004-10-171-2/+8
| | | | We can now unmarshall a single printer returned from an EnumPrinters.
* r3007: uint32 values need to be stored in Python longs, as on 32-bit machinesTim Potter2004-10-171-1/+5
| | | | Python ints can only hold int32 values.
* r3001: Expose unmarshalling functions for structures marked "public" in theTim Potter2004-10-162-1/+7
| | | | | | 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!
* r2994: More cleanups. Move the generation of NTSTATUS and WERROR exceptionsTim Potter2004-10-151-32/+0
| | | | | | from inside a swig %exception block and into the argout typemap. This will allow us to wrap functions that don't require exception handling, and also get rid of some ugly code in dcerpc.i
* r2986: Add correct value to dict when generating wrapper for functions thatTim Potter2004-10-152-4/+8
| | | | | | return WERROR values. Clean up WERROR vs NTSTATUS handling a bit.
* r2975: Try to emulate NT_STATUS_IS_ERR() functionality for WERRORs. ↵Tim Potter2004-10-141-2/+4
| | | | | | Unfortunately this means enumerating all the ones we don't think are errors.
* r2966: Handle conversion of DATA_BLOB fields from Python in a slightly nicerTim Potter2004-10-141-10/+10
| | | | | manner. I'm hoping to get rid of DATA_BLOB's but for the moment they make it easy to get some spoolss action happening quickly.
* r2965: Ignore *.pyc files in torture directory.Tim Potter2004-10-142-3/+41
| | | | | | | Allow test module name to be specified on command line for pytorture module. Start spoolss torture test.
* r2964: Add spoolss to list of wrapped client functions.Tim Potter2004-10-141-0/+1
|
* r2817: Get winreg_GetKeySecurity() working but use data blob instead of Tim Potter2004-10-041-32/+77
| | | | security descriptor.
* r2807: OK I think winreg_EnumValue() finally works. The previous versionTim Potter2004-10-031-35/+25
| | | | | | didn't work with non-NULL registry value names. Update testsuite to enumerate all keys and values two levels deep.
* r2801: Wrapped functions that return a DOS error code can return DCERPCTim Potter2004-10-031-0/+4
| | | | | faults if they are badly formed. Handle this by checking the value of NTSTATUS as well as WERROR.
* r2795: Split status code constants into a separate file.Tim Potter2004-10-032-520/+553
|
* r2790: Add code to generate WERROR exceptions. Arrange inclusion of ↵Tim Potter2004-10-021-3/+26
| | | | | | | autogenerated interface files to divvy them up into pipes that return WERRORs and pipes that return NTSTATUS values.
* r2781: Got winreg_EnumValue() working. Check it in so I don't break it tryingTim Potter2004-10-021-12/+22
| | | | to clean it up. (-:
* r2780: Add conversion routines for DATA_BLOB. I'm not convinced that ↵Tim Potter2004-10-021-0/+29
| | | | | | DATA_BLOB's should be treated as scalar types though.
* r2766: Test OpenKey, QueryInfoKey, EnumKey, CloseKey functions.Tim Potter2004-10-011-5/+102
| | | | The IDL for EnumValue is wrong - can't figure it out right now.
* r2765: Allow functions containing WERROR values to be compiled.Tim Potter2004-10-012-0/+4
| | | | Add winreg.i to list of extensions.
* r2739: Start of torture test for winreg wrappers.Tim Potter2004-09-281-0/+23
|
* r2728: Break arg parsing stuff out of samr.py into a standalone program.Tim Potter2004-09-282-47/+53
|
* r2560: Don't require structure fields that have the pidl value() propertyTim Potter2004-09-231-26/+2
| | | | | to be set. They can be if you want, but will be overwritten by the pidl push code.
* r2559: Python ints can't hold the full range of uint32 values so store themTim Potter2004-09-232-22/+55
| | | | | | | as Python longs. Also allow shorter width integer types to be initialised from long values. Their values are truncated if they are too long.
* r2555: Start of a rpcclient type program.Tim Potter2004-09-232-0/+319
|
* r2511: Add NT status codes.Tim Potter2004-09-222-17/+537
|
* r2502: Finish off samr torture test: samr_CreateUser2, samr_SetUserInfo,Tim Potter2004-09-221-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.
* r2492: Some cleanups.Tim Potter2004-09-221-29/+145
| | | | | | Add tests for samr_CreateDomainGroup, samr_DeleteDomainGroup, samr_QueryDomainInfo, samr_SetDomainInfo, samr_EnumDomainUsers, samr_EnumDomainAliases, samr_EnumDomainGroups.
* r2490: Some changes to take into account non-error NTSTATUS codes being ↵Tim Potter2004-09-221-1/+1
| | | | | | | | | | returned: - Only throw an exception if NT_STATUS_IS_ERR() instead of !NT_STATUS_IS_OK(). - Add the NTSTATUS value to the returned dictionary under a key of 'result' so calling functions can access it.
* r2486: Use correct type checks when checking 64-bit quantities (int64, uint64,Tim Potter2004-09-221-16/+16
| | | | | | NTTIME and HYPER_T). Also use the correct conversion routines when creating 64 bit objects.
* r2461: Update samr.py torture test after policy handle parameter renames.Tim Potter2004-09-211-32/+99
| | | | | I thought of another exception to the policy name rule - samr_Close can operate on any kind of samr handle.
* r2429: Add tests for samr_QueryUserInfo(), samr_QueryUserInfo2(),Tim Potter2004-09-201-3/+174
| | | | | samr_GetUserPwInfo(), samr_TestPrivateFunctionsUser(). Add stubs for the rest of the functions in test_OpenDomain() from smbtorture.
* r2427: Add tests for samr_GetDomPwInfo, samr_RemoveMemberFromForeignDomain,Tim Potter2004-09-201-2/+150
| | | | | samr_LookupName, samr_OpenUser, samr_DeleteUser, samr_CreateUse and samr_OpenDomain.
* r2424: Refactor handling of non-OK NTSTATUS returns to be more swiggish.Tim Potter2004-09-201-0/+10
|
* r2423: Add some instructions for building extensions.Tim Potter2004-09-191-0/+37
|