summaryrefslogtreecommitdiff
path: root/source4/rpc_server/dcerpc_server.c
AgeCommit message (Collapse)AuthorFilesLines
2011-10-06lib/util: consolidate module loading into common codeAndrew Bartlett1-0/+1
This creates a samba-modules private libary that handles the details. Andrew Bartlett
2011-06-20libcli/util Rename common map_nt_error_from_unix to avoid duplicate symbolAndrew Bartlett1-2/+2
The two error tables need to be combined, but for now seperate the names. (As the common parts of the tree now use the _common function, errmap_unix.c must be included in the s3 autoconf build). Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Jun 20 08:12:03 CEST 2011 on sn-devel-104
2011-06-06s4-modules Remove lp_ctx from init functions that no longer need itAndrew Bartlett1-1/+1
Now that we don't allow the smb.conf to change the modules dir, many functions that simply load modules or initialise a subsytem that may load modules no longer need an lp_ctx. Andrew Bartlett
2011-06-06s4-ipv6: update callers to load_interface_list()Andrew Tridgell1-1/+1
2011-06-06s4-ipv6: use "ip" instead of "ipv4" for serversAndrew Tridgell1-1/+1
this allows stream_setup_socket() to work with both v4 and v6 addresses
2011-06-06s4-ipv6: use iface_list_wildcard() to listen on IPv6Andrew Tridgell1-3/+9
when we need to listen on a wildcard address, we now listen on a list of sockets, usually 0.0.0.0 and ::
2011-05-08s4-interfaces Rename interfaces code so not to conflict with source3/Andrew Bartlett1-3/+3
The iface_count, iface_n_bcast, and load_interfaces functions conflicted with functions of the same name in source3, so the source4 functions were renamed. Hopefully we can actually wrap one around the other in future. Andrew Bartlett
2011-05-03s4-messaging Rename messaging -> imessagingAndrew Bartlett1-1/+1
This avoid symbol and structure conflicts between Samba3 and Samba4, and chooses a less generic name. Andrew Bartlett
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)