summaryrefslogtreecommitdiff
path: root/source4/rpc_server/dcerpc_server.c
AgeCommit message (Collapse)AuthorFilesLines
2011-03-15s4-rpc: added dcesrv_call_account_name()Andrew Tridgell1-0/+8
this will be used by openchange Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Mar 15 06:14:00 CET 2011 on sn-devel-104
2011-03-15s4-rpc: added public APIs for dce_call authenticationAndrew Tridgell1-0/+19
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-24build: moved librpc/rpc/*.c into a rpccommon libraryAndrew Tridgell1-0/+1
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Feb 24 02:42:37 CET 2011 on sn-devel-104
2010-11-15s4-server: make server sockets a child of the task contextAndrew Tridgell1-4/+4
We previously allocated sockets as direct children of the event context. That led to crashes if a service called task_server_terminate(), as it left the socket open and handling events for a dead protocol. Making them a child of the task allows the task to terminate and take all its sockets with it. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-11-03s4:RPC server - cosmetic fixes - indentation, commentsMatthias Dieter Wallnöfer1-2/+2
2010-11-01s4-modules: get rid of the remaining static prototypes for modulesAndrew Tridgell1-14/+2
the waf build now generates the prototype declarations for us
2010-10-30s4-rpc: split the dcesrv reply code out of dcerpc_serverAndrew Tridgell1-171/+1
this allows us to remove a dependency on the dcerpc_server from code that uses rpc forwarding Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-13s4 rpc_server: fix a build error on freebsdMatthieu Patou1-0/+9
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Wed Oct 13 10:48:04 UTC 2010 on sn-devel-104
2010-10-11torture: Link against rpc server itself, not service module. (against which ↵Jelmer Vernooij1-0/+450
we can't link).
2010-09-24s4:rpc_server/dcerpc_server.c - fix a "const" warningMatthias Dieter Wallnöfer1-1/+1
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-09-23s4/eventlog6: Build and hook EventLog6 RPC endpont mapper and idlAnatoliy Atanasov1-0/+1
2010-09-16s4-rpcserver: allow saving of bad RPC packetsAndrew Tridgell1-2/+28
use: dcesrv:stubs directory = . to save files like this: RPC-netlogon-48-pullfail.dat when a RPC packet can't be parsed or is unknown. Only enabled in developer builds Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-15s4-rpcserver: set unbind method to NULL in remote serverAndrew Tridgell1-1/+1
this prevents a possible crash on disconnect
2010-08-17s4-rpcserver: log unknown RPC calls at debug level 3Andrew Tridgell1-0/+6
This was added as we are occasionally getting an encrypted unknown netlogon call, and I'm having trouble looking at it in wireshark
2010-07-16s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell1-10/+10
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-05-18Finish removal of iconv_convenience in public API's.Jelmer Vernooij1-7/+7
2010-04-27s4:rpc_server: remove 'socket_address' based functionsStefan Metzmacher1-19/+0
metze
2010-04-27s4:rpc_server: remember the local and remote addressStefan Metzmacher1-0/+10
metze
2010-02-20s4:rpc_server Add a 'if_version' parameter to the bind operation.Andrew Bartlett1-2/+2
This allows the interface version to be forwarded to the remote server in the RPC proxy, both in the endpoint lookup and the subsequent bind. Andrew Bartlett
2009-10-20s4: ran minimal_includes.pl on source4/rpc_serverAndrew Tridgell1-5/+0
2009-10-15s4:dcerpc_server - Read the generic session key out from ↵Matthias Dieter Wallnöfer1-5/+2
"dcerpc_generic_session_key" I don't think that this code needs to exist identically on the server and on the client side. This patch leaves it on the client side (dcerpc lib) and calls it from the server.
2009-09-22s4-rpcserver: added support for shared handlesAndrew Tridgell1-0/+15
This supports shared RPC handles across connections on all RPC interfaces. It turns out that w2k3 and w2k8 don't actually support this on all pipes. We need to test which pipes we should enable this on.
2009-09-22s4-rpcserver: added shared association groupsAndrew Tridgell1-26/+95
This patch allows us to share association groups and their rpc handles between connections. This is needed for some DRSUAPI behaviour when recent windows clients connect.
2009-09-22s4-rpc: remove two unused functionsAndrew Tridgell1-32/+3
2009-09-18s4:rpc_server: remove some now unused codeStefan Metzmacher1-184/+0
metze
2009-09-16s4:rpc_server netgotiate max xmit size with RPC clientAndrew Bartlett1-2/+2
Testing against NetAPP showed that clients can object to being told a larger max xmit fragment size than they negotiated. Choose the minimum of the server and client values. Andrew Bartlett
2009-09-08s4: removed an unused variableAndrew Tridgell1-2/+0
2009-04-10s4:rpc_server: split out the parsing of the ncacn_packet from analyzing of ↵Stefan Metzmacher1-34/+55
the content metze
2009-04-10s4:rpc_server: report available output for all repliesStefan Metzmacher1-0/+24
metze
2009-02-02s4:rpc_server: s/private/private_dataStefan Metzmacher1-2/+2
metze
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-16A more-commented version of rpc_server crash fix, matching closer theAndrew Bartlett1-1/+14
previous behaviour for the 'bad bind' case. (It is only close, not matching - Windows 2008 sends a different, non-zero, assoc_group_id each time) Andrew Bartlett
2008-12-12s4:fix segfault in rpc-server, when client binds to unsupported service.Stefan Metzmacher1-1/+1
Signed-off-by: Michael Adam <obnox@samba.org>
2008-12-09s4:rpc_server: don't keep half finished dcesrv_connection_contextsStefan Metzmacher1-41/+42
metze
2008-12-09s4:rpc_server: initialize rpc server module also for the named pipe caseStefan Metzmacher1-0/+34
This fixes bug #5878. metze
2008-12-08s4:rpc_server: fix crash bugs in 26200f4fb1db81be7a9da51f317e46405351b170Stefan Metzmacher1-7/+13
call->context needs to be valid. metze
2008-12-08s4:rpc_server: make it possible for iface->bind() to specify the assoc_group_idStefan Metzmacher1-5/+23
This helps the openchange mapiproxy plugin to work correctly. metze
2008-11-23RPC sessions on np connections need the real session key transferredStefan Metzmacher1-2/+2
2008-11-02Fix the build.Jelmer Vernooij1-0/+1
2008-10-11Fix include paths to new location of libutil.Jelmer Vernooij1-1/+1
2008-09-30s4:rpc_server: correctly handle dcerpc requests with object uuidsStefan Metzmacher1-4/+4
metze
2008-09-13rpc_server: don't send auth trailers in level connectStefan Metzmacher1-4/+7
Also ignore auth trailers in level connect on receive. This fixes [krb5,connect] against windows. TODO: maybe the gensec mech need to decide if signatures are needed in level connect. metze (This used to be commit 2e3629719790e7631d9de383b565dc8a0997bcfb)
2008-08-11rpc_server: correct the chunk_size depending on the signature sizeStefan Metzmacher1-2/+11
metze (This used to be commit 20fc0d7bfdaa60d6a8ac939dc64733a91652587e)
2008-08-07rpc_server: add support for DCERPC_PFC_FLAG_SUPPORT_HEADER_SIGNStefan Metzmacher1-1/+8
you need "dcesrv:header signing=yes" to enable it. metze (This used to be commit bde2496e6b7034c99243b22434a97aebeb8f75b9)
2008-07-28rpc_server: remove unused variableStefan Metzmacher1-1/+0
metze (This used to be commit c2186d5d60aa2b57ecafaa57f9fd41f2a6717046)
2008-07-25Make a new define to ensure the accoc_group_id we use is always in common.Andrew Bartlett1-2/+4
(This used to be commit b62490e3e21b606b66e0737a403b0d170b64cddd)
2008-07-23rpc_server: be more strict with the incoming assoc_group_idStefan Metzmacher1-12/+12
Allow 0 and 0x12345678 only. This fixes the RPC-HANDLES test. metze (This used to be commit c123e597cc84685abf2b0d3564e1a26d80bbef2f)
2008-07-23Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartletAndrew Bartlett1-0/+11
(This used to be commit ae311d89d2d477b235a6a9294a8bb463ed0a8c05)
2008-07-23The SMB session key must not be more than 16 bytes in SAMR (andAndrew Bartlett1-1/+10
presumably LSA). Tests show that Vista requires the sesion key to be truncated for a domain join. Andrew Bartlett (This used to be commit af629a3738298d27eb2dbecf466ceb503cec9638)
2008-07-23Remove the 'accoc_group_id' check in the RPC server.Andrew Bartlett1-0/+11
This check breaks more than it fixes, and while technically not correct, is the best solution we have at this time. Otherwise, SCHANNEL binds from WinXP fail. Andrew Bartlett (This used to be commit f8628fa330abcd50923d995d5bda1f4811582ea9)