7f71dc3fee
FreeIPA trusts to AD broken due to Samba 4.2 failure to run LSARPC pipe externally
35 lines
1.2 KiB
Diff
35 lines
1.2 KiB
Diff
commit 1ff9ffea061e4bdecea65749d8d0e3c082e25d77
|
|
Author: Günther Deschner <gd@samba.org>
|
|
AuthorDate: Thu Apr 30 11:20:58 2015 +0200
|
|
Commit: Günther Deschner <gd@samba.org>
|
|
CommitDate: Thu Apr 30 11:22:26 2015 +0200
|
|
|
|
s3-rpc_server: fix rpc_create_tcpip_sockets() processing of interfaces.
|
|
|
|
We were supplying an empty value for the "host" binding string option, causing
|
|
dcerpc_binding_vector_add_port() call to fail.
|
|
|
|
Fixes: https://bugzilla.samba.org/show_bug.cgi?id=11245
|
|
Guenther
|
|
|
|
Signed-off-by: Günther Deschner <gd@samba.org>
|
|
Pair-Programmed-With: Alexander Bokovoy <ab@samba.org>
|
|
---
|
|
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);
|
|
|