summaryrefslogtreecommitdiff
path: root/source4/librpc/rpc/pyrpc.c
AgeCommit message (Collapse)AuthorFilesLines
2010-09-03pidl: Keep only a single copy of samba.dcerpc.base.ClientConnection.Jelmer Vernooij1-168/+9
2010-08-23s4-pyrpc: use s4_event_context_init()Andrew Tridgell1-1/+1
This fixes a crash when using kerberos and the python dcercpc interface, which requires event nesting Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-07-16s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell1-2/+2
this converts all callers that use the Samba4 loadparm lp_ calling convention to use the lpcfg_ prefix. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-06-19pyrpc: Fix reference counting when using secondary connections.Jelmer Vernooij1-18/+42
2010-04-15s4:librpc/rpc/pyrpc.c: map NT_STATUS_NET_WRITE_FAULT to the matching ↵Stefan Metzmacher1-7/+3
NT_STATUS_RPC_* code metze
2010-04-13s4:librpc/rpc: the python bindings should use !NT_STATUS_IS_OK instead of ↵Stefan Metzmacher1-4/+4
NT_STATUS_IS_ERR Everything but NT_STATUS_OK is an error here. metze
2010-04-13s4:librpc/rpc: make PyErr_SetDCERPCStatus() staticStefan Metzmacher1-1/+3
metze
2010-04-08pynet: Create a net class.Jelmer Vernooij1-2/+2
2010-04-02pyrpc: do the pipe connect on a real memory contextAndrew Tridgell1-1/+1
2010-03-18s4:librpc/rpc: let pyrpc make use of dcerpc_binding_handle stubsStefan Metzmacher1-1/+4
metze
2010-02-09s4:Remove "Py_RETURN_NONE" compatibility codeMatthias Dieter Wallnöfer1-4/+0
This was needed only by Python 2.3 which we no longer support.
2009-10-23s4-python: we need to include Python.h firstAndrew Tridgell1-1/+1
If we don't include Python.h first then we get a pile of warnings due to broken redefines of XOPEN_SOURCE in the Python includes.
2009-06-02Fix more unresolved symbols.Jelmer Vernooij1-2/+1
2009-04-20s4:librpc/rpc: remove async argument from the sync dcerpc_request() functionStefan Metzmacher1-1/+1
metze
2009-02-05s4:pyrpc: fix compiler warningsStefan Metzmacher1-3/+5
metze
2009-01-08Avoid using a utility header for Python replacements included in Samba,Jelmer Vernooij1-1/+5
since this will not be shipped with talloc/tdb/tevent/etc.
2009-01-07s3/s4 build: Fix Py_RETURN_NONE to work with python versions < 2.4Tim Prouty1-1/+1
2009-01-07Set proper python exception when running out of memory.Jelmer Vernooij1-2/+6
2009-01-06py: Properly increase the reference counter of Py_None.Jelmer Vernooij1-2/+2
2008-12-29s4:lib/tevent: rename structsStefan Metzmacher1-2/+2
list="" list="$list event_context:tevent_context" list="$list fd_event:tevent_fd" list="$list timed_event:tevent_timer" for s in $list; do o=`echo $s | cut -d ':' -f1` n=`echo $s | cut -d ':' -f2` r=`git grep "struct $o" |cut -d ':' -f1 |sort -u` files=`echo "$r" | grep -v source3 | grep -v nsswitch | grep -v packaging4` for f in $files; do cat $f | sed -e "s/struct $o/struct $n/g" > $f.tmp mv $f.tmp $f done done metze
2008-12-22pidl/python: Factor out connect code rather than duplicating it in eachJelmer Vernooij1-2/+68
Python module.
2008-12-22Add header for pyparam.Jelmer Vernooij1-1/+1
2008-06-14Use a custom init function for samba4 that sets a samba4Simo Sorce1-1/+1
specific debug function. By default do not debug, this is the most appropriate action for a library as we cannot assume what stderr is use for in the main app. The main app is responsible to set ev_debug_stderr if they so desire. (This used to be commit e566a2f308ac6fb4b526a744f7059b565670aea5)
2008-05-26Implement IRPC calls over the internal messaging bus.Jelmer Vernooij1-2/+2
(This used to be commit 777dc3a2c7b5bf855344ba3ae8c8b564c48fc0c6)
2008-05-26Remove some unused cruft.Jelmer Vernooij1-55/+18
(This used to be commit 8f47157f09cbf4200f0f7c5efe8750fd5d316a3b)
2008-05-25Fix compilation errors.Jelmer Vernooij1-1/+6
(This used to be commit daae053365cf6c5be7b31aa51a239c2660cfc120)
2008-05-25Trim the size of the Python bindings a bit.Jelmer Vernooij1-1/+100
(This used to be commit 717ce0b640a5c3aa62804b9869ef4dcc0f71b7ba)
2008-05-25Expose transfer and abstract syntax.Jelmer Vernooij1-2/+34
(This used to be commit a875e07a37568b7e51c290074d5e3834c2caa4d6)
2008-05-25Expose request timeout variable in Python.Jelmer Vernooij1-1/+10
(This used to be commit daed1432d22f5fa78907ee0fef9def8802538150)
2008-05-25Add support for secondary contexts from Python.Jelmer Vernooij1-40/+96
(This used to be commit 16d1ad050546ae6500153438db8d3c857e6f3ad5)
2008-05-25Check for fault codes when connecting.Jelmer Vernooij1-2/+4
(This used to be commit 42537b1d5282784550120358f3641f299351fba7)
2008-05-24Add helper function to return DCE/RPC fault codes.Jelmer Vernooij1-2/+15
(This used to be commit 4716cdfb5d5abad85cba18be89d72fe8ee18f359)
2008-05-24Fix memory initialization in raw calls.Jelmer Vernooij1-1/+1
(This used to be commit 788b2dbfe4b1ef14ab30d487d845e493be46fbd1)
2008-05-24Support optional object argument when sending DCE/RPC requests.Jelmer Vernooij1-15/+20
(This used to be commit 75ba01a0fad87a9a4788f4c2277d8db0513cef4a)
2008-05-24Allow connecting to a DCE/RPC interface with Python for which we don't have IDL.Jelmer Vernooij1-1/+63
(This used to be commit e3178d522c95871f1db35d7e058906502387a553)
2008-05-24Add convenience functions for setting Python objects from errors.Jelmer Vernooij1-1/+0
(This used to be commit f1de723b89251cbc8140b838941f304a34871bf3)
2008-05-24Export functions for setting NTSTATUS and WERRORs in python.Jelmer Vernooij1-3/+3
(This used to be commit 4bcb92d2d49d90863b1e64b15d055517fbfd263c)
2008-05-24Allow request() call to do custom calls on DCE/RPC interfaces.Jelmer Vernooij1-5/+21
(This used to be commit 9c2eff0289d7c5963da87d5e002f1b80e6e66cdd)
2008-05-24Use manually written Python bindings for DCE/RPC rather than SWIG based.Jelmer Vernooij1-0/+156
Use base class for pidl-generated DCE/RPC interface Python bindings. (This used to be commit 25e7fc8a2c7a5914c4db4bfe428fd0a8efbf0784)