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