From 3b252b765d42637e48b4c04d78364b478699b9fc Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 25 Oct 2004 07:55:08 +0000 Subject: r3205: Create ncalrpc directory if it didn't exist yet (This used to be commit 1161c33794cdb16a3d09a66258f46e0020c4aeef) --- source4/librpc/rpc/dcerpc_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/librpc/rpc/dcerpc_util.c') diff --git a/source4/librpc/rpc/dcerpc_util.c b/source4/librpc/rpc/dcerpc_util.c index 3c786e8b3a..9ec1af77ad 100644 --- a/source4/librpc/rpc/dcerpc_util.c +++ b/source4/librpc/rpc/dcerpc_util.c @@ -664,7 +664,7 @@ NTSTATUS dcerpc_epm_map_binding(TALLOC_CTX *mem_ctx, struct dcerpc_binding *bind if (!strcmp(uuid, DCERPC_EPMAPPER_UUID)) { switch(binding->transport) { - case NCACN_IP_TCP: binding->endpoint = "135"/*FIXME*/; return NT_STATUS_OK; + case NCACN_IP_TCP: binding->endpoint = talloc_asprintf(mem_ctx, "%d", EPMAPPER_PORT); return NT_STATUS_OK; case NCALRPC: binding->endpoint = EPMAPPER_IDENTIFIER; return NT_STATUS_OK; default: return NT_STATUS_NOT_SUPPORTED; } -- cgit