1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
Commit Graph

3716 Commits

Author SHA1 Message Date
Tim Potter
b5119cd662 r2295: Convert simple scalar types and policy handles between dcerpc function
call request and response structures.
(This used to be commit d31d23b944)
2007-10-10 12:58:40 -05:00
Tim Potter
56d7b0dc8a r2278: Add some more helper functions.
(This used to be commit 5a64449599)
2007-10-10 12:58:38 -05:00
Tim Potter
91222c6029 r2276: Remove garbage collection debugs.
(This used to be commit b7ebafbbe0)
2007-10-10 12:58:37 -05:00
Tim Potter
ec952cde05 r2256: Include autogenerated interfaces for lsa and samr pipes. Typemaps are currently
not working though.
(This used to be commit 55bd2dc02d)
2007-10-10 12:58:35 -05:00
Tim Potter
3f7bf05f75 r2253: Add test program, as small example of what's going on.
(This used to be commit fd31ae38df)
2007-10-10 12:58:35 -05:00
Tim Potter
915f2e539d r2243: Include definition for PRINTF_ATTRIBUTE in Python tdb wrapper.
(This used to be commit 301bb069c3)
2007-10-10 12:58:34 -05:00
Tim Potter
68aad436e6 r2236: Zero request structure to let the REF_ALLOC flag work its magic.
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 fdfabbd4a5)
2007-10-10 12:58:33 -05:00
Tim Potter
0a3a76fe96 r2235: When creating exception data, use Py_BuildValue instead of doing it
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 5fead63618)
2007-10-10 12:58:33 -05:00
Tim Potter
65b5a2297c r2230: Wrapper for dcerpc_samr_Connect2(). All this glue code should be
automatically generated but at the moment it's hand coded.
(This used to be commit e1a368050d)
2007-10-10 12:58:33 -05:00
Tim Potter
86bf5cefa9 r2229: Have dcerpc_pipe_connect() throw an exception if non-zero NTSTATUS is
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 a3a85bd419)
2007-10-10 12:58:33 -05:00
Tim Potter
779b89cfc8 r2228: Finally commit bits of old workareas together to get dcerpc python
bindings happening.  This commit lets python call dcerpc_pipe_connect()
and open the samr pipe.
(This used to be commit f5852bf3e2)
2007-10-10 12:58:33 -05:00
Tim Potter
5230295b6b r2227: Get rid of annoying compiler warning.
(This used to be commit 64f961f039)
2007-10-10 12:58:33 -05:00
Tim Potter
b575ce6b4b r2226: A bunch of fixes to get python tdb module building again. I'm not
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 e6a42f7880)
2007-10-10 12:58:32 -05:00
Stefan Metzmacher
fa2e9ec311 r960: convert 'unsigned int' to uint_t in the most places
metze
(This used to be commit 18062d2ed9)
2007-10-10 12:56:23 -05:00
Stefan Metzmacher
f2ad98a165 r888: more ..int32 -> ..int32_t stuff
metze
(This used to be commit f3b1d3bdc7)
2007-10-10 12:56:16 -05:00
Tim Potter
75eef34a23 r383: Scripting extensions using swig. This commit includes only a (LGPL)
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 bbc15d6f84)
2007-10-10 12:51:36 -05:00