r3043: Use binding strings for specifying endpoints. The property for
authorJelmer Vernooij <jelmer@samba.org>
Mon, 18 Oct 2004 15:18:05 +0000 (15:18 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:01:53 +0000 (13:01 -0500)
commit31403d548e95ee6047009b78ed72e7144ece199a
treeed25edef604668354e5b9ffc4cf4cc75d5d1a9c1
parentb1b8f49a5b6d57cdec663efe0d43c5e3de4abbf3
r3043: Use binding strings for specifying endpoints. The property for
specifying a endpoint is now also 'endpoint' instead of 'endpoints'. The
default endpoint (if none is specified) is still "ncacn_np:[\\pipe\\ifacename]",
where ifacename is the name of the interface.

Examples:

[
  uuid(60a15ec5-4de8-11d7-a637-005056a20182),
  endpoint("ncacn_np:[\\pipe\\rpcecho]", "ncacn_ip_tcp:")
]
interface rpcecho
{
void dummy();
}

dcerpc_binding is now converted to ep_description in the server, but I hope to
completely eliminate ep_description later on.

The eventual goal of all these changes is to make it easier to add
 transports as I'm going to add support for
 ncalrpc (local RPC over named pipes) and ncacn_unix_stream (Unix sockets).
(This used to be commit f3da7c8b443a29b0c656c687a277384ae1353792)
17 files changed:
source4/build/pidl/parser.pm
source4/librpc/idl/drsuapi.idl
source4/librpc/idl/echo.idl
source4/librpc/idl/epmapper.idl
source4/librpc/idl/lsa.idl
source4/librpc/idl/lsads.idl
source4/librpc/idl/netlogon.idl
source4/librpc/idl/oxidresolver.idl
source4/librpc/idl/samr.idl
source4/librpc/idl/spoolss.idl
source4/librpc/idl/w32time.idl
source4/librpc/idl/winreg.idl
source4/librpc/rpc/dcerpc_smb.c
source4/librpc/rpc/dcerpc_util.c
source4/ntvfs/ipc/vfs_ipc.c
source4/rpc_server/dcerpc_server.c
source4/rpc_server/epmapper/rpc_epmapper.c