From 316ace66d07ab3a7e540565b757275a9d8741b8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Thu, 30 Apr 2015 11:20:58 +0200 Subject: [PATCH] s3-rpc_server: fix rpc_create_tcpip_sockets() processing of interfaces. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit BUG: https://bugzilla.samba.org/show_bug.cgi?id=11245 We were supplying an empty value for the "host" binding string option, causing dcerpc_binding_vector_add_port() call to fail. Guenther Signed-off-by: Günther Deschner Pair-Programmed-With: Alexander Bokovoy Signed-off-by: Günther Deschner Autobuild-User(master): Günther Deschner Autobuild-Date(master): Thu Apr 30 15:14:27 CEST 2015 on sn-devel-104 --- source3/rpc_server/rpc_sock_helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/rpc_server/rpc_sock_helper.c b/source3/rpc_server/rpc_sock_helper.c index 8f371b8..7aced63 100644 --- a/source3/rpc_server/rpc_sock_helper.c +++ b/source3/rpc_server/rpc_sock_helper.c @@ -138,7 +138,7 @@ NTSTATUS rpc_create_tcpip_sockets(const struct ndr_interface_table *iface, if (bvec != NULL) { status = dcerpc_binding_vector_add_port(iface, bvec, - sock_ptr, + sock_tok, p); if (!NT_STATUS_IS_OK(status)) { close(fd); -- 2.1.0