Discussion:
svn commit: samba r3163 - in branches/SAMBA_4_0/source: build/smb_build rpc_server script/tests
jelmer at samba.org ()
2004-10-24 20:48:40 UTC
Permalink
Author: jelmer
Date: 2004-10-24 15:48:19 +0000 (Sun, 24 Oct 2004)
New Revision: 3163

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source&rev=3163&nolog=1

Log:
Add server side support for ncalrpc: and ncacn_unix_stream:

Examples of binding strings are :

ncalrpc:[EPMAPPER]
ncacn_unix_stream:[/tmp/epmapper]

N.B. The unix socket support in lib/socket/ appears to close and remove the
socket it is listening on after the first client disconnects so until
that has been fixed, it is only possible to do one ncalrpc: or ncacn_unix_stream: request per instance of smbd :-)

Support for looking up NCALRPC names via the endpoint mapper will be added later.

Added:
branches/SAMBA_4_0/source/rpc_server/dcerpc_sock.c
Removed:
branches/SAMBA_4_0/source/rpc_server/dcerpc_tcp.c
Modified:
branches/SAMBA_4_0/source/build/smb_build/makefile.pl
branches/SAMBA_4_0/source/rpc_server/config.mk
branches/SAMBA_4_0/source/rpc_server/dcerpc_server.c
branches/SAMBA_4_0/source/script/tests/test_binding_string.sh


Changeset:
Sorry, the patch is too large (661 lines) to include; please use WebSVN to see it!
WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source&rev=3163&nolog=1
Jelmer Vernooij
2004-10-24 22:11:30 UTC
Permalink
Post by jelmer at samba.org ()
N.B. The unix socket support in lib/socket/ appears to close and remove the
socket it is listening on after the first client disconnects so until
that has been fixed, it is only possible to do one ncalrpc: or ncacn_unix_stream: request per instance of smbd :-)
Apparently, this bug doesn't occur when using the single process
model..

Cheers,

Jelmer
--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.samba.org/archive/samba-cvs/attachments/20041024/7222eab4/attachment-0001.bin
Loading...