Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | r2421: Fix test for lookupdomain for a non-existent domain. | Tim Potter | 2004-09-19 | 2 | -2/+15 | |
| | | | | Export NTSTATUS exception from wrapper module so it can be used by scripts. | |||||
* | r2419: Write tests for samr_EnumDomains() and samr_LookupDomain(). | Tim Potter | 2004-09-19 | 1 | -4/+38 | |
| | ||||||
* | r2416: More argument checks. Raise an exception instead of segfaulting if a | Tim Potter | 2004-09-19 | 1 | -1/+41 | |
| | | | | dictionary does not contain a required key. | |||||
* | r2415: Throw a TypeError exception if a scalar value doesn't have the correct | Tim Potter | 2004-09-19 | 1 | -8/+48 | |
| | | | | type, or the argument to a to_python function isn't a dictionary. | |||||
* | r2414: samr_Connect.system_name is now an array. | Tim Potter | 2004-09-19 | 1 | -1/+1 | |
| | ||||||
* | r2410: Add test for samr_SetSecurity(). | Tim Potter | 2004-09-18 | 1 | -2/+7 | |
| | ||||||
* | r2408: Tridge suggested that all the structures from misc.idl (policy handles, | Tim Potter | 2004-09-18 | 1 | -132/+2 | |
| | | | | | | | | | | 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). | |||||
* | r2359: More consistency fixes: pass a talloc context to every function that | Tim Potter | 2004-09-15 | 1 | -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. | |||||
* | r2358: More renaming of functions to keep things consistent. | Tim Potter | 2004-09-15 | 1 | -30/+39 | |
| | ||||||
* | r2357: Start coding conversion routines for security descriptors, acls and sids. | Tim Potter | 2004-09-15 | 1 | -3/+56 | |
| | ||||||
* | r2345: Add test for samr_QuerySecurity() | Tim Potter | 2004-09-15 | 1 | -12/+35 | |
| | ||||||
* | r2344: Return PyDict_New() in stub functions instead of Py_None to avoid | Tim Potter | 2004-09-15 | 1 | -2/+2 | |
| | | | | | crashing in garbage collector (hmm - all that was required was probably a Py_INCREF(Py_None) though). | |||||
* | r2342: Remove obsolete file. | Tim Potter | 2004-09-15 | 1 | -59/+0 | |
| | ||||||
* | r2339: my first python commit! | Andrew Tridgell | 2004-09-15 | 1 | -3/+27 | |
| | | | | added command line options for binding string, domain, username and password | |||||
* | r2336: Add another conversion function to allow union arms that contain ↵ | Tim Potter | 2004-09-14 | 2 | -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. | |||||
* | r2324: Add hand-written versions of functions from misc.idl. | Tim Potter | 2004-09-13 | 1 | -1/+26 | |
| | ||||||
* | r2300: Start writing a Python torture test suite based on the smbtorture rpc ↵ | Tim Potter | 2004-09-12 | 2 | -11/+52 | |
| | | | | tests. | |||||
* | r2299: Map a (C) NULL pointer to (Python) None and vice versa. | Tim Potter | 2004-09-12 | 1 | -0/+6 | |
| | ||||||
* | r2297: Add string conversion functions. | Tim Potter | 2004-09-12 | 1 | -1/+6 | |
| | ||||||
* | r2296: Correct setting of access_mask in test program. | Tim Potter | 2004-09-12 | 1 | -1/+1 | |
| | ||||||
* | r2295: Convert simple scalar types and policy handles between dcerpc function | Tim Potter | 2004-09-12 | 1 | -0/+40 | |
| | | | | call request and response structures. | |||||
* | r2278: Add some more helper functions. | Tim Potter | 2004-09-10 | 1 | -10/+40 | |
| | ||||||
* | r2276: Remove garbage collection debugs. | Tim Potter | 2004-09-10 | 1 | -2/+0 | |
| | ||||||
* | r2256: Include autogenerated interfaces for lsa and samr pipes. Typemaps ↵ | Tim Potter | 2004-09-08 | 1 | -1/+3 | |
| | | | | | | are currently not working though. | |||||
* | r2253: Add test program, as small example of what's going on. | Tim Potter | 2004-09-08 | 2 | -0/+15 | |
| | ||||||
* | r2243: Include definition for PRINTF_ATTRIBUTE in Python tdb wrapper. | Tim Potter | 2004-09-07 | 1 | -0/+10 | |
| | ||||||
* | r2236: Zero request structure to let the REF_ALLOC flag work its magic. | Tim Potter | 2004-09-06 | 1 | -0/+21 | |
| | | | | | | | Add argout typemap which throws an exception if NTSTATUS != OK and creates a dictionary of return values. samr_Connect2 function now works! | |||||
* | r2235: When creating exception data, use Py_BuildValue instead of doing it | Tim Potter | 2004-09-06 | 1 | -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. | |||||
* | r2230: Wrapper for dcerpc_samr_Connect2(). All this glue code should be | Tim Potter | 2004-09-05 | 2 | -2/+39 | |
| | | | | automatically generated but at the moment it's hand coded. | |||||
* | r2229: Have dcerpc_pipe_connect() throw an exception if non-zero NTSTATUS is | Tim Potter | 2004-09-05 | 1 | -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. | |||||
* | r2228: Finally commit bits of old workareas together to get dcerpc python | Tim Potter | 2004-09-05 | 3 | -0/+99 | |
| | | | | | bindings happening. This commit lets python call dcerpc_pipe_connect() and open the samr pipe. | |||||
* | r2227: Get rid of annoying compiler warning. | Tim Potter | 2004-09-04 | 1 | -0/+8 | |
| | ||||||
* | r2226: A bunch of fixes to get python tdb module building again. I'm not | Tim Potter | 2004-09-04 | 1 | -2/+3 | |
| | | | | | sure how this can be integrated into the build system properly though. Editing makefile.pl is the wrong way to do this. | |||||
* | r960: convert 'unsigned int' to uint_t in the most places | Stefan Metzmacher | 2004-06-01 | 1 | -1/+1 | |
| | | | | metze | |||||
* | r888: more ..int32 -> ..int32_t stuff | Stefan Metzmacher | 2004-05-25 | 1 | -1/+1 | |
| | | | | metze | |||||
* | r383: Scripting extensions using swig. This commit includes only a (LGPL) | Tim Potter | 2004-04-28 | 3 | -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. |