1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-16 20:59:12 +03:00
Commit Graph

101 Commits

Author SHA1 Message Date
07b65ce281 r5018: Initialise required subsystems (by hand, generated by substituting
BINARY for LIBRARY in config.mk).

Cut things down to just the samr pipe for the moment.
(This used to be commit 95d2a58e5b)
2007-10-10 13:09:14 -05:00
b10b7a360a r5017: Fix bug in output typemap for uint32 (!)
(This used to be commit dc845154ca)
2007-10-10 13:09:14 -05:00
5e67970889 r5016: Use LIBRARY instead of BINARY for inserting the swig stuff into the
build system.  This still generates bogus targets (i.e
bin/swig_dcerpc.so.0.0.1) and the subsystem initialisation needs to be
done by hand but it is less of a hack.
(This used to be commit e9b69d19a8)
2007-10-10 13:09:13 -05:00
8fb54d162b r4982: Start to move swig dependencies into new build system. Unfortunately
I can only get something useful happening by using the BINARY keyword
as nothing else seems to generate dependency lists that can be used
when linking the swig shared libraries.  Anyway this is a lot nicer
than having lots of junk in makefile.pm.
(This used to be commit 71a22f5206)
2007-10-10 13:09:11 -05:00
29589f3895 r4981: Fix swig build.
(This used to be commit b44ab87c83)
2007-10-10 13:09:11 -05:00
66bd6142a2 r4546: Use talloc_p() instad of talloc()
(This used to be commit 2ec3a137d7)
2007-10-10 13:08:20 -05:00
c20a326752 r3870: Delete wrappers for tdb_lockkeys() and tdb_unlockkeys().
(This used to be commit 5af52c559e)
2007-10-10 13:06:00 -05:00
e0586efe7a r3607: EnumDomainAlises doesn't take a max_size parameter.
(This used to be commit 996d042bf7)
2007-10-10 13:05:38 -05:00
e34ee4fdaa r3590: Add some more commands to rpcclient from a patch by jbm. Add
SamrQueryDomInfo, SamrQueryDomInfo2, SamrEnumDomainAliases, and
SamrEnumDomainUsers.
(This used to be commit 91eb405354)
2007-10-10 13:05:36 -05:00
6c32daf320 r3589: Add some extra status codes.
(This used to be commit 6d918f1595)
2007-10-10 13:05:36 -05:00
3503373ba5 r3588: Fix bug in converting SIDs containing large unsigned integers from Python.
(This used to be commit a46aba4354)
2007-10-10 13:05:36 -05:00
500ce03f7c r3521: Collect printer driver names in EnumPrinterDrivers.
(This used to be commit 86f54db1ef)
2007-10-10 13:05:28 -05:00
90a8c4acc7 r3506: Test EnumPorts function.
(This used to be commit 354068aae1)
2007-10-10 13:05:22 -05:00
e3e5ef95ad r3505: #include dynconfig.h
(This used to be commit 336eba61e9)
2007-10-10 13:05:22 -05:00
5f68ab2538 r3474: Add conversion functions for the time_t type.
(This used to be commit caa563faaa)
2007-10-10 13:05:18 -05:00
6afe281de8 r3459: Fix cut&paste error in copyright header.
(This used to be commit 922ea35a4b)
2007-10-10 13:05:16 -05:00
2f7d7e47e3 r3456: Add appropriate #includes to fix Python extensions build.
(This used to be commit 7e94d5bd3d)
2007-10-10 13:05:15 -05:00
8c1edd1674 r3430: Add tests for EnumPrinterDataEx, SetPrinterDataEx (doesn't work),
EnumPrinterDrivers.
(This used to be commit fe381c3ebc)
2007-10-10 13:05:10 -05:00
9ebf74c576 r3411: Ignore some autogenerated files.
(This used to be commit f6428f2d01)
2007-10-10 13:05:06 -05:00
751b412326 r3410: Handle conversion of DATA_BLOBs and pointers to DATA_BLOBs from python.
(This used to be commit 12e037dbe3)
2007-10-10 13:05:06 -05:00
5d7c6d7bbd r3405: Test EnumPrinterData and GetPrinterData.
(This used to be commit a4facee860)
2007-10-10 13:05:06 -05:00
0e082a5c9d r3403: Add test for operations on print server handle.
Add tests for EnumJobs, GetJob.

Oops - forgot to EnumPrinters at level2.
(This used to be commit 930d57964b)
2007-10-10 13:05:06 -05:00
75f1497c32 r3401: Fix IDL for SetForm RPC.
(This used to be commit 206f3de297)
2007-10-10 13:05:06 -05:00
89665e87b4 r3396: Rename form_name -> formname. This time, check smbtorture builds before
committing.  (-:
(This used to be commit c776232d01)
2007-10-10 13:05:05 -05:00
c69b5f7642 r3311: Consistency updates for form name members.
Add tests for EnumForms, GetForm, AddForm, DeleteForm.
(This used to be commit 6c49ce976a)
2007-10-10 13:04:52 -05:00
d718b7f683 r3309: Add wrapper for dcerpc_server_name() function.
(This used to be commit 2d60a04f21)
2007-10-10 13:04:52 -05:00
08dd85d26b r3308: Handle servers that don't have samr_Connect5.
(This used to be commit 52af866ffb)
2007-10-10 13:04:52 -05:00
fe54d8bc99 r3302: The security descriptors in spoolss_PrinterInfo2 and spoolss_PrinterInfo3
need to be marked as subcontext(0).

GetPrinter tests now work for all info levels!
(This used to be commit 53bd02960e)
2007-10-10 13:04:51 -05:00
8ade4d9785 r3217: Start of a spoolss_GetPrinter test.
(This used to be commit 994fe92feb)
2007-10-10 13:04:42 -05:00
974d048493 r3216: Add tests for OpenPrinterEx and ClosePrinter.
(This used to be commit b7ff5f0ded)
2007-10-10 13:04:42 -05:00
266e36aa54 r3204: Got unpacking of an array of PrinterInfo union elements working. Phew.
(This used to be commit f490cd719c)
2007-10-10 13:04:40 -05:00
85a2db200a r3010: Do some more PyInt vs PyLong checks.
(This used to be commit b19dc6cd9c)
2007-10-10 12:59:57 -05:00
c7a762bc74 r3009: Fix up unmarshall functions to return Python dict instead of a NTSTATUS.
We can now unmarshall a single printer returned from an EnumPrinters.
(This used to be commit 89da7a9196)
2007-10-10 12:59:56 -05:00
71aaba4ea7 r3007: uint32 values need to be stored in Python longs, as on 32-bit machines
Python ints can only hold int32 values.
(This used to be commit 7c5ada63bf)
2007-10-10 12:59:56 -05:00
addb2a9fd4 r3001: Expose unmarshalling functions for structures marked "public" in the
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 4bc497a299)
2007-10-10 12:59:56 -05:00
8f00427136 r2994: More cleanups. Move the generation of NTSTATUS and WERROR exceptions
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
(This used to be commit 558076cc8d)
2007-10-10 12:59:55 -05:00
dc2df2530f r2986: Add correct value to dict when generating wrapper for functions that
return WERROR values.

Clean up WERROR vs NTSTATUS handling a bit.
(This used to be commit e6756e3ee0)
2007-10-10 12:59:54 -05:00
acf657a7c2 r2975: Try to emulate NT_STATUS_IS_ERR() functionality for WERRORs. Unfortunately
this means enumerating all the ones we don't think are errors.
(This used to be commit a079e044f0)
2007-10-10 12:59:53 -05:00
1c4b87c788 r2966: Handle conversion of DATA_BLOB fields from Python in a slightly nicer
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.
(This used to be commit 15f8f73f8b)
2007-10-10 12:59:52 -05:00
e3627c2c6e r2965: Ignore *.pyc files in torture directory.
Allow test module name to be specified on command line for pytorture
module.

Start spoolss torture test.
(This used to be commit 44bab84f76)
2007-10-10 12:59:52 -05:00
913d5df89e r2964: Add spoolss to list of wrapped client functions.
(This used to be commit 96d31ff19d)
2007-10-10 12:59:52 -05:00
94ae449f33 r2817: Get winreg_GetKeySecurity() working but use data blob instead of
security descriptor.
(This used to be commit bc5165e40a)
2007-10-10 12:59:36 -05:00
263212aba5 r2807: OK I think winreg_EnumValue() finally works. The previous version
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 c09f0f355b)
2007-10-10 12:59:36 -05:00
985abd104d r2801: Wrapped functions that return a DOS error code can return DCERPC
faults if they are badly formed.  Handle this by checking the value of
NTSTATUS as well as WERROR.
(This used to be commit bb1be78197)
2007-10-10 12:59:35 -05:00
68d2ce3320 r2795: Split status code constants into a separate file.
(This used to be commit 12a3f75c1c)
2007-10-10 12:59:34 -05:00
a248164de5 r2790: Add code to generate WERROR exceptions. Arrange inclusion of autogenerated
interface files to divvy them up into pipes that return WERRORs and pipes
that return NTSTATUS values.
(This used to be commit 294d1ae35c)
2007-10-10 12:59:34 -05:00
710ad9613b r2781: Got winreg_EnumValue() working. Check it in so I don't break it trying
to clean it up.  (-:
(This used to be commit cc646f73b8)
2007-10-10 12:59:32 -05:00
7cef5fd077 r2780: Add conversion routines for DATA_BLOB. I'm not convinced that DATA_BLOB's
should be treated as scalar types though.
(This used to be commit c9e96038f8)
2007-10-10 12:59:32 -05:00
76a8fe491e r2766: Test OpenKey, QueryInfoKey, EnumKey, CloseKey functions.
The IDL for EnumValue is wrong - can't figure it out right now.
(This used to be commit 37af942d08)
2007-10-10 12:59:31 -05:00
b11be587e0 r2765: Allow functions containing WERROR values to be compiled.
Add winreg.i to list of extensions.
(This used to be commit 6f3f6de058)
2007-10-10 12:59:31 -05:00