summaryrefslogtreecommitdiff
path: root/source4/scripting
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r2359: More consistency fixes: pass a talloc context to every function thatTim Potter1-22/+61
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)
2007-10-10r2358: More renaming of functions to keep things consistent.Tim Potter1-30/+39
(This used to be commit 84513e4ed14e60b4cd09fcc2e596bc72d3a8807c)
2007-10-10r2357: Start coding conversion routines for security descriptors, acls and sids.Tim Potter1-3/+56
(This used to be commit c8d13a809b5b01823a62e5868bac47e1f2f25092)
2007-10-10r2345: Add test for samr_QuerySecurity()Tim Potter1-12/+35
(This used to be commit f6978a007a79c97910856b3c639844495f16ebab)
2007-10-10r2344: Return PyDict_New() in stub functions instead of Py_None to avoidTim Potter1-2/+2
crashing in garbage collector (hmm - all that was required was probably a Py_INCREF(Py_None) though). (This used to be commit a3eac318a624d214084741839faa2ad485902f6f)
2007-10-10r2342: Remove obsolete file.Tim Potter1-59/+0
(This used to be commit b7ef3d0a006ab8c07354ca83fcaf6018c3b595af)
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 Potter2-4/+17
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-10r2324: Add hand-written versions of functions from misc.idl.Tim Potter1-1/+26
(This used to be commit d6876701cc027ec2b14923e3483e0432e7011138)
2007-10-10r2300: Start writing a Python torture test suite based on the smbtorture rpc ↵Tim Potter2-11/+52
tests. (This used to be commit 73e087f11e401ef8da7c53148444b2745a94dbaf)
2007-10-10r2299: Map a (C) NULL pointer to (Python) None and vice versa.Tim Potter1-0/+6
(This used to be commit 05cff58070b7070157aea47c5da8512145c2774a)
2007-10-10r2297: Add string conversion functions.Tim Potter1-1/+6
(This used to be commit cbfb177394aaf2a382b481ffb3152ad3fe81de5a)
2007-10-10r2296: Correct setting of access_mask in test program.Tim Potter1-1/+1
(This used to be commit e4a5840ff84553c67c87e002e9e074095f4d18c5)
2007-10-10r2295: Convert simple scalar types and policy handles between dcerpc functionTim Potter1-0/+40
call request and response structures. (This used to be commit d31d23b944b7e4ef300d75dad5038727e9133af1)
2007-10-10r2278: Add some more helper functions.Tim Potter1-10/+40
(This used to be commit 5a64449599beb7b46484f1c3aef10f7e7b878319)
2007-10-10r2276: Remove garbage collection debugs.Tim Potter1-2/+0
(This used to be commit b7ebafbbe0ada17748ad4bb36da4c0d63a2b10f5)
2007-10-10r2256: Include autogenerated interfaces for lsa and samr pipes. Typemaps ↵Tim Potter1-1/+3
are currently not working though. (This used to be commit 55bd2dc02de13ee3da1cde20694f452df0899a9f)
2007-10-10r2253: Add test program, as small example of what's going on.Tim Potter2-0/+15
(This used to be commit fd31ae38dfe2d005b3e01ac059c2e15fa389aad4)
2007-10-10r2243: Include definition for PRINTF_ATTRIBUTE in Python tdb wrapper.Tim Potter1-0/+10
(This used to be commit 301bb069c31ee7ce09bdd6cd2dd4b7fa0441e1a1)
2007-10-10r2236: Zero request structure to let the REF_ALLOC flag work its magic.Tim Potter1-0/+21
Add argout typemap which throws an exception if NTSTATUS != OK and creates a dictionary of return values. samr_Connect2 function now works! (This used to be commit fdfabbd4a597b0d9b44832fdbfc200f857728c2b)
2007-10-10r2235: When creating exception data, use Py_BuildValue instead of doing itTim Potter1-6/+18
all by hand. Use $symname to name TALLOC_CTX's created in wrapper function. Also, make sure to free context afterwards. Set the DCERPC_NDR_REF_ALLOC flag in the dcerpc_pipe struct to save use lots of initialisation. (This used to be commit 5fead63618b5ee76cadc4719d933ea9cee7538b5)
2007-10-10r2230: Wrapper for dcerpc_samr_Connect2(). All this glue code should beTim Potter2-2/+39
automatically generated but at the moment it's hand coded. (This used to be commit e1a368050d3abb6a6ca6529315dc4228e8590c7f)
2007-10-10r2229: Have dcerpc_pipe_connect() throw an exception if non-zero NTSTATUS isTim Potter1-4/+22
returned from the C function. This way we can return the struct dcerpc_pipe object instead of a tuple of (NTSTATUS, dcerpc_pipe) which is a bad interface. (This used to be commit a3a85bd419e38f0dce138e67174517e23a361010)
2007-10-10r2228: Finally commit bits of old workareas together to get dcerpc pythonTim Potter3-0/+99
bindings happening. This commit lets python call dcerpc_pipe_connect() and open the samr pipe. (This used to be commit f5852bf3e2064f03aa9b63af4aa1b4f9e39bdb24)
2007-10-10r2227: Get rid of annoying compiler warning.Tim Potter1-0/+8
(This used to be commit 64f961f039545c9948eb7d7652b7494be2443174)
2007-10-10r2226: A bunch of fixes to get python tdb module building again. I'm notTim Potter1-2/+3
sure how this can be integrated into the build system properly though. Editing makefile.pl is the wrong way to do this. (This used to be commit e6a42f7880993271f2610584182f7d47538b6747)
2007-10-10r960: convert 'unsigned int' to uint_t in the most placesStefan Metzmacher1-1/+1
metze (This used to be commit 18062d2ed9fc9224c43143c10efbf2f6f1f5bbe0)
2007-10-10r888: more ..int32 -> ..int32_t stuffStefan Metzmacher1-1/+1
metze (This used to be commit f3b1d3bdc74f08ee2a1d22102d57bff94f71f5a5)
2007-10-10r383: Scripting extensions using swig. This commit includes only a (LGPL)Tim Potter3-0/+192
python interface to tdb and a rudimentary build system. Configure with --with-python and make swig to build and append $(builddir)/scripting/swig/python to PYTHONPATH. (This used to be commit bbc15d6f84b6a247ae87b253752a86a38f1d6798)