Age | Commit message (Collapse) | Author | Files | Lines |
|
structure mapping features instead of doing it all ourselves.
This basically works, but has broken all the existing checked in Python
code.
Sample:
pipe = dcerpc.pipe_connect(binding,
dcerpc.DCERPC_SAMR_UUID, int(dcerpc.DCERPC_SAMR_VERSION),
domain, username, password)
r = dcerpc.samr_Connect2()
r.data_in.system_name = 'foo'
r.data_in.access_mask = 0x02000000
result = dcerpc.dcerpc_samr_Connect2(pipe, r)
(This used to be commit c2996ad910a24c977b4c0a1925118d36454514f7)
|
|
(swig stuff seems broken atm though)
(This used to be commit 9eeb976773a8d2ed26a690c73d67f5db735e8d3a)
|
|
support enum
(This used to be commit dee8eff2590be58c59b0db089fcca4af3e011c42)
|
|
(This used to be commit 12e037dbe3d497aff2415c0a22fab20a7932ab7a)
|
|
(This used to be commit deaa5159f41a8841d75801b441e7bd5cf2636870)
|
|
unmarshalling arrays.
(This used to be commit ee535b6801e553d0a180f18cc2c4b4438ee23de1)
|
|
uuid(1ff70682-0a51-30e8-076d-740be8cee98b) so we now accept
uuid("1ff70682-0a51-30e8-076d-740be8cee98b") in pidl, and
automagically add quotes only if needed
(This used to be commit 4aab2cb210eb9678bb72aebb33dcf6fd499206c1)
|
|
(This used to be commit f490cd719cc02589e73e26fa983aff90708d1926)
|
|
spoolss. Doesn't quite work yet.
(This used to be commit 9045645ddf4eb8b5596d220ed936c8731641ef0a)
|
|
We can now unmarshall a single printer returned from an EnumPrinters.
(This used to be commit 89da7a9196d40699881f12c9a5fe62301aafd4cf)
|
|
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)
|
|
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 558076cc8ddbdb563869f7d35150310217f30c31)
|
|
return WERROR values.
Clean up WERROR vs NTSTATUS handling a bit.
(This used to be commit e6756e3ee0af3e7e98f6deaf9dc83af9aac1b586)
|
|
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 15f8f73f8bfec099973fb8bf167020ae50346cf6)
|
|
(This used to be commit 6a47a079c003c2a139665ad2b5ede5d139049bd1)
|
|
(This used to be commit 8c9c94d578651c5884db0aa0feb6e16858274fbb)
|
|
warnings, making real errors impossible to spot.
this fixes the warnings, and probably fixes some pidl/python bugs as
well.
(This used to be commit 2f1e9954e3381b1864a6fd9fa8b2231478179d4d)
|
|
test cases up till now haven't come across them yet!
(This used to be commit 5fd3c12d4fe3e572618bcd71c5915f69539fe7e6)
|
|
(This used to be commit b63a0ef0d41e6f0fdc6bf46435fb7b81925946da)
|
|
those with a single pointer.
(This used to be commit c4c748ce63fd2d87d4388a1eac9afa586867ce28)
|
|
to be set. They can be if you want, but will be overwritten by the
pidl push code.
(This used to be commit 3170f6ed84e0514bf18d2a346f153bf0231b245b)
|
|
(This used to be commit a2ab6c5ef9cc6db27fc8c73e6117f0f7a116d563)
|
|
resume handles).
Remove some now unused debugging code.
(This used to be commit f250203a5f54c689c09ba780e9e3af7f8f2311bb)
|
|
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.
(This used to be commit 4ddcae90a2e9b93e58bd57932cd9ae4c95be6ae8)
|
|
parameter down to the various conversion functions.
(This used to be commit 46b3d4cfd8effcc75293b8b0af04203fa25742b2)
|
|
Peeked at parser.pm for some hints at getting array lengths right
when the length_is property is present.
(This used to be commit a17aaadb7d57dbe4cf0a62634f405c61b79a953f)
|
|
to an array, check that the value exists and it is of list type.
Fix a typo.
(This used to be commit bcee3860554260bca2bbb6fd73d8770a4997c041)
|
|
(This used to be commit aaef6eaf6e0c38fb277d1be0617dfdff559a0115)
|
|
(This used to be commit 9ea5574bb12161733afb592425724cff8c4bbedd)
|
|
Handle a pointer to an array of structures when converting to Python.
(This used to be commit e135265d1d91ff9a6a4e7ec0079ecd88f0afe784)
|
|
the generated interface code.
Get rid of global variables within the perl generator code.
(This used to be commit 36320c694162a58665ace10576ad18c13a7850fe)
|
|
dictionary does not contain a required key.
(This used to be commit fc5443af9c271baf189ebe0b098e190b5eda4e14)
|
|
type, or the argument to a to_python function isn't a dictionary.
(This used to be commit 0f58ffb142a9b8c5c745b3a2c93a1659ea8282e5)
|
|
use Python lists for arrays when marshaling and unmarshaling arrays.
This gets samr_SetSecurity() working.
(This used to be commit 9bc55de42ab9f0d71abcea65a7f4cf24db452381)
|
|
This gets samr_QuerySecurity() working again.
(This used to be commit 810bce2fe517969e62d87497bbe4ae645badfdf6)
|
|
sids, security descriptors and acls) can be automatically generated
instead of hand-written. Fix up the swig wrapper generator and helper
routines to do this. (Only works for policy handles right now though and
arrays are to be converted into lists instead of being binary blobs).
Fix up wrapper generation for modules that don't define an interface
(e.g misc.idl).
(This used to be commit 160dc90921ecc136a25ae88e5c28800ddda5722a)
|
|
(This used to be commit f88996540cfecf830595425735d2f1d4ad623c3d)
|
|
doesn't convert scalar types, more renaming of function names.
Implement conversion fns for dom_sid, dom_sid2 (to struct version stubbed
out). Also from Python conversions for security_acl and security_descriptors.
(This used to be commit 945a4681051132c13f9235f676464fffb3bfadc8)
|
|
(This used to be commit 84513e4ed14e60b4cd09fcc2e596bc72d3a8807c)
|
|
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)
|
|
be removed later.
Generate more stub code for union arms.
(This used to be commit f8a14e808eb9ec2910fb22f35d828a7eeea14aec)
|
|
(This used to be commit a06727b79228865e03430e41fc991c3d39eca220)
|
|
Now to get unions working as they are currently broken.
(This used to be commit 8072d7f1a4f72d91d54c0e6056819ba5f99ce734)
|
|
the same signature.
Start to handle structures with no pointers.
(This used to be commit c1dc9842683628e05fa66a930a074e741c4a7101)
|
|
Correct function name used when generating function to convert in
typemap so it is consistent with the others.
(This used to be commit ec23bae00fedbd1651800a8f4559dee3bd6c7025)
|
|
call request and response structures.
(This used to be commit d31d23b944b7e4ef300d75dad5038727e9133af1)
|
|
function argument structures and idl structures to and from Python
dictionaries.
(This used to be commit e4729949c61a8df23b5132c6136ae8c3777c348a)
|
|
(This used to be commit 69710bbcb8123e5f9cb882723350506e77307419)
|
|
are currently
not working though.
(This used to be commit 55bd2dc02de13ee3da1cde20694f452df0899a9f)
|
|
(This used to be commit fd31ae38dfe2d005b3e01ac059c2e15fa389aad4)
|