summaryrefslogtreecommitdiff
path: root/source4/smbd/service_named_pipe.c
AgeCommit message (Collapse)AuthorFilesLines
2010-05-26s4:smbd: Use tstream_npa_accept_existing to accept named pipe connectionsSimo Sorce1-532/+161
Pair-programmed-with: Stefan Metzmacher <metze@samba.org>
2010-05-20s4:auth Change auth_generate_session_info to take flagsAndrew Bartlett1-0/+41
This allows us to control what groups should be added in what use cases, and in particular to more carefully control the introduction of the 'authenticated' group. In particular, in the 'service_named_pipe' protocol, we do not have control over the addition of the authenticated users group, so we key of 'is this user the anonymous SID'. This also takes more care to allocate the right length ptoken->sids Andrew Bartlett
2010-05-18Finish removal of iconv_convenience in public API's.Jelmer Vernooij1-2/+0
2010-04-27s4:service_named_pipe: use the passed client and server addressesStefan Metzmacher1-1/+38
This gives the rpc server code the correct client and server ip addresses for ncacn_np. metze
2010-04-14s4:auth Change auth_generate_session_info to take an auth contextAndrew Bartlett1-14/+48
The auth context was in the past only for NTLM authentication, but we need a SAM, an event context and and loadparm context for calculating the local groups too, so re-use that infrustructure we already have in place. However, to avoid problems where we may not have an auth_context (in torture tests, for example), allow a simpler 'session_info' to be generated, by passing this via an indirection in gensec and an generate_session_info() function pointer in the struct auth_context. In the smb_server (for old-style session setups) we need to change the async context to a new 'struct sesssetup_context'. This allows us to use the auth_context in processing the authentication reply . Andrew Bartlett
2010-02-26s4-smb: Migrate named_pipe_server to tsocket.Andreas Schneider1-208/+311
This is an improved version of commit 69d5cea2e59162f19460e7ce4b6382fc5fdd6ca0, which was reverted by commit 71c20f703b0c603d6aada63ed5634070a26df052. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-02-26s4-krb5: propogate errors from a lot more kerberos functionsAndrew Tridgell1-1/+3
We need to be able to give sensible error messages when a kerberos calls fails. This propogates the kerberos error up the stack to the caller. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-02-24Revert "s4-smb: Migrate named_pipe_server to tsocket."Simo Sorce1-278/+210
This reverts commit 69d5cea2e59162f19460e7ce4b6382fc5fdd6ca0. This commit causes issues with the RPC server, revert it until we find the exact issue and possibly have a torture test to avoid it happening again. Found playing with w2k8r2 and forest trusts.
2010-02-23s4-smb: Migrate named_pipe_server to tsocket.Andreas Schneider1-210/+278
2010-02-22More spelling fixes across source4/Brad Hards1-1/+1
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
2009-09-19s4-smbd: removed unnecessary includesAndrew Tridgell1-2/+0
2009-09-18s4-server: kill main daemon if a task fails to initialiseAndrew Tridgell1-0/+2
When one of our core tasks fails to initialise it can now ask for the server as a whole to die, rather than limping along in a degraded state.
2009-09-18s4:service_named_pipe: accept delegated credentialsStefan Metzmacher1-2/+98
metze
2009-05-01s4:smbd: add support for named_pipe_auth level 2 in service_named_pipe...Stefan Metzmacher1-4/+55
metze
2009-02-02s4:service_stream: s/private/private_dataStefan Metzmacher1-6/+6
metze
2009-02-02s4:smbd: s/private/private_dataStefan Metzmacher1-1/+1
metze
2009-01-21s4:auth: move make_server_info_netlogon_validation() function arroundStefan Metzmacher1-0/+1
metze
2009-01-03s4:smbd: convert to tevent_* apiStefan Metzmacher1-3/+3
metze
2008-12-29s4:lib/tevent: rename structsStefan Metzmacher1-1/+1
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-17s4: fix LIBEVENTS dependencies and use more forward declarationsStefan Metzmacher1-0/+1
We should only include events.h where we really need it and prefer forward declarations of 'struct event_context' metze
2008-11-06s4: smbd: implement stream_socket_named_pipe()Stefan Metzmacher1-0/+366
For now implement just a very simple protocol to negotiate the transport session info. We may need to pass more info later, e.g. client ip or name... metze