diff options
author | Andrew Bartlett <abartlet@samba.org> | 2006-10-13 13:01:48 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:21:00 -0500 |
commit | 57b8c5cd227d33b2eec34ed503b0b14c04344a87 (patch) | |
tree | ce7f660463f5273f3ff89eee4670216b1fc153ce /source4/torture/rpc | |
parent | 541339fbd2d0d4154644c7a843adf56ec382afc4 (diff) | |
download | samba-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/torture/rpc')
-rw-r--r-- | source4/torture/rpc/async_bind.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/rpc/async_bind.c b/source4/torture/rpc/async_bind.c index 18ed139ac7..952baacbf4 100644 --- a/source4/torture/rpc/async_bind.c +++ b/source4/torture/rpc/async_bind.c @@ -78,7 +78,7 @@ BOOL torture_async_bind(struct torture_context *torture) /* send bind requests */ for (i = 0; i < torture_numasync; i++) { table[i] = &dcerpc_table_lsarpc; - bind_req[i] = dcerpc_pipe_connect_send(mem_ctx, &pipe[i], binding_string, + bind_req[i] = dcerpc_pipe_connect_send(mem_ctx, binding_string, table[i], creds, evt_ctx); } |