r19266: Add a target_hostname element to the binding struct. This allows us
commit0546f487f4cc99b5549dc1e457ea243d4bd66333
authorAndrew Bartlett <abartlet@samba.org>
Fri, 13 Oct 2006 13:01:48 +0000 (13 13:01 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:21:00 +0000 (10 14:21 -0500)
treec036a5cf647db232440cbac77253492f3ea4ac2f
parentc9c2e90e2e3937d05c58c681af187413b12d9220
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
source/libnet/libnet_join.c
source/libnet/libnet_rpc.c
source/libnet/libnet_rpc.h
source/librpc/rpc/dcerpc.h
source/librpc/rpc/dcerpc_connect.c
source/librpc/rpc/dcerpc_sock.c
source/librpc/rpc/dcerpc_util.c
source/torture/rpc/async_bind.c