From 57b8c5cd227d33b2eec34ed503b0b14c04344a87 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 13 Oct 2006 13:01:48 +0000 Subject: r19266: Add a target_hostname element to the binding struct. This allows us to perform a lookup once, resolve the name to an IP, while still communicating the full name to the lower layers, for kerberos etc. This fixes 'net samdump', which was failing due to the schannel target name being *smbserver. Andrew Bartlett (This used to be commit 0546f487f4cc99b5549dc1e457ea243d4bd66333) --- source4/librpc/rpc/dcerpc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source4/librpc/rpc/dcerpc.h') diff --git a/source4/librpc/rpc/dcerpc.h b/source4/librpc/rpc/dcerpc.h index a609d17795..6bde842371 100644 --- a/source4/librpc/rpc/dcerpc.h +++ b/source4/librpc/rpc/dcerpc.h @@ -193,6 +193,7 @@ struct dcerpc_binding { enum dcerpc_transport_t transport; struct dcerpc_syntax_id object; const char *host; + const char *target_hostname; const char *endpoint; const char **options; uint32_t flags; -- cgit