summaryrefslogtreecommitdiff
path: root/source4/librpc/rpc
AgeCommit message (Collapse)AuthorFilesLines
2009-11-06s4:dcerpc - fix DEBUG output warningMatthias Dieter Wallnöfer1-3/+4
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-10-15s4-smb: declare root_fid as a file handleAndrew Tridgell1-1/+1
In order to implement root_fid in the s4 SMB server we need to declare it as a handle type, just as for other fnum values in SMB. This required some extensive (but simple) changes in many bits of code.
2009-10-02s4: fix various warnings (not "const" related ones)Matthias Dieter Wallnöfer1-1/+1
2009-09-19s4-resolve: fixed a crash bug on timeoutAndrew Tridgell1-1/+1
We were creating the name resolution context as a child of lp_ctx, which meant when we gave up on a connection the timer on name resolution kept running, and when it timed out the callback crashed as the socket was already removed.
2009-09-17s4-rpc: added NDR64 supportAndrew Tridgell5-7/+31
This adds support for the nd464 binding string option
2009-08-18s4:librpc/rpc: fix DEBUG() messageStefan Metzmacher1-1/+1
metze
2009-08-07fixed several places that unnecessarily take a reference to the event contextAndrew Tridgell1-1/+1
These references were triggering the ambiguous talloc_free errors from the recent talloc changes when the server is run using the 'standard' process model instead of the 'single' process model. I am aiming to move the build farm to use the 'standard' process model soon, as part of an effort to make our test environment better match the real deployment of Samba4. The references are not needed as the way that the event context is used is as the 'top parent', so when the event context is freed then all of the structures that were taking a reference to the event context were actually freed as well, thus making the references redundent.
2009-07-01A rather strange varient of talloc_unlinkAndrew Tridgell1-1/+1
A dcerpc request may have a reference from a still completing async callback, but we now consider the request to be complete. We want to lose the main parent, leaving just the reference, if any.
2009-07-01fixed rpc smb code to not reply on talloc_free being a function pointerAndrew Tridgell2-2/+13
The upcoming talloc_free/talloc_reference changes change talloc_free to be a macro. These two bits of code relied on it being a function pointer
2009-06-18s4:libnet Allow 'net password change' to work on expired passwordsAndrew Bartlett2-2/+4
We need to pass down flags to the DCE/RPC layer to allow fallback to anonymous connections, as we can't log in with an expired password. The anonymous connection can then change the password with SAMR. Andrew Bartlett
2009-06-12always enable RPC debugging with a debug level >= 100.Andrew Tridgell2-0/+8
This helps with tools where setting the binding string is not possible, such as net
2009-06-02Fix more unresolved symbols.Jelmer Vernooij1-2/+1
2009-04-20s4:librpc/rpc: pass async as argument to dcerpc_ndr_request_send()Stefan Metzmacher2-8/+9
The caller should decide if async is desired it should be harcoded per call. metze
2009-04-20s4:librpc/rpc: remove async argument from the sync dcerpc_request() functionStefan Metzmacher3-4/+2
metze
2009-04-20s4:librpc/rpc: only use smb_trans for sync rpc callsStefan Metzmacher1-2/+16
Over named pipes we can only do one smb_trans at a time, otherwise we're getting NT_STATUS_PIPE_BUSY. Async rpc calls need to use smb_read/write only. metze
2009-04-20s4:librpc/rpc: ask for 0x2000 bytes in the ioctl case to match all othercasesStefan Metzmacher1-1/+1
metze
2009-04-14Rework Samba4 to use the new common libcli/auth codeAndrew Bartlett1-8/+10
In particular, this is the rename from creds_ to netlogon_creds_, as well as other links to use the new common crypto. Andrew Bartlett
2009-02-05s4:pyrpc: fix compiler warningsStefan Metzmacher1-3/+5
metze
2009-02-02s4:libcliraw: s/private/private_dataStefan Metzmacher1-8/+8
metze
2009-02-02s4:librpc/rpc: s/private/private_dataStefan Metzmacher3-11/+11
metze
2009-01-26pyrpc: Raise proper NDR error codes with matching strings rather than mappingJelmer Vernooij1-1/+1
to NTSTATUS first.
2009-01-25Add prototypes required by samba-gtk.Jelmer Vernooij1-0/+2
2009-01-09Add derpc_transport_string_by_transport(), apply some constVolker Lendecke1-1/+2
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-06Add some const to dcerpc_binding_build_tower()Volker Lendecke1-1/+3
2009-01-06Fix prototype.Jelmer Vernooij1-1/+1
2009-01-06py: Properly increase the reference counter of Py_None.Jelmer Vernooij1-2/+2
2009-01-01Add iconv_convenience argument to size functions.Jelmer Vernooij1-1/+1
2008-12-29s4:lib/tevent: rename structsStefan Metzmacher6-25/+25
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 Vernooij2-2/+69
Python module.
2008-12-22Add header for pyparam.Jelmer Vernooij1-1/+1
2008-12-22Import types from other Python mechanisms using the Python import mechanism, ↵Jelmer Vernooij1-2/+2
to ensure they are initialized.
2008-12-18s4:lib/socket: socket_connect_send() and socket_connect_ev() should only ↵Stefan Metzmacher1-1/+1
wrok with addresses metze
2008-12-18s4:librpc/rpc: remove we should not redo the name resolving for secondary ↵Stefan Metzmacher2-13/+15
tcp connections metze
2008-11-02Fix the build.Jelmer Vernooij2-2/+2
2008-11-02Remove use of global_loadparm during initialization of gensec.Jelmer Vernooij2-3/+3
2008-11-02Remove use of global_loadparm for SMB2 client connections.Jelmer Vernooij1-1/+2
2008-11-02Add gensec_settings structure. This wraps loadparm_context for now, butJelmer Vernooij4-10/+19
should in the future only contain some settings required for gensec.
2008-11-02Remove another use of global_loadparm.Jelmer Vernooij1-0/+1
2008-11-02Remove another use of global_loadparm.Jelmer Vernooij5-11/+24
2008-11-01Remove another use of global_loadparm.Jelmer Vernooij1-1/+3
2008-11-01Remove another use of global_loadparm.Jelmer Vernooij1-1/+3
2008-10-31dcerpc: Fix include path so header installer translates it correctly during ↵Jelmer Vernooij1-1/+1
install.
2008-10-31errors: share dcerpc error function.Günther Deschner1-55/+0
Guenther
2008-10-29s4-netlogon: merge netr_ServerReqChallenge from s3 idl.Günther Deschner1-1/+1
Guenther
2008-10-29s4-netlogon: merge netr_ServerAuthenticate{2,3} from s3 idl.Günther Deschner1-2/+2
Guenther
2008-10-24Remove unused include param/param.h.Jelmer Vernooij1-1/+0