summaryrefslogtreecommitdiff
path: root/source4/librpc/rpc/dcerpc.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2006-10-13 13:01:48 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:21:00 -0500
commit57b8c5cd227d33b2eec34ed503b0b14c04344a87 (patch)
treece7f660463f5273f3ff89eee4670216b1fc153ce /source4/librpc/rpc/dcerpc.h
parent541339fbd2d0d4154644c7a843adf56ec382afc4 (diff)
downloadsamba-57b8c5cd227d33b2eec34ed503b0b14c04344a87.tar.gz
samba-57b8c5cd227d33b2eec34ed503b0b14c04344a87.tar.bz2
samba-57b8c5cd227d33b2eec34ed503b0b14c04344a87.zip
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)
Diffstat (limited to 'source4/librpc/rpc/dcerpc.h')
-rw-r--r--source4/librpc/rpc/dcerpc.h1
1 files changed, 1 insertions, 0 deletions
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;