diff options
| author | Stefan Metzmacher <metze@samba.org> | 2014-02-04 10:07:15 +0100 |
|---|---|---|
| committer | Günther Deschner <gd@samba.org> | 2014-02-13 11:54:18 +0100 |
| commit | 982d9a06e68ed140ce4bae9ef67536c145816511 (patch) | |
| tree | d8b29a52a6499cddd2de738922bd8904c5d5e75d | |
| parent | 2e93d6f881fb92bdcd0586ce4353bdf1dafb16f8 (diff) | |
| download | samba-982d9a06e68ed140ce4bae9ef67536c145816511.tar.gz samba-982d9a06e68ed140ce4bae9ef67536c145816511.tar.xz samba-982d9a06e68ed140ce4bae9ef67536c145816511.zip | |
s4:torture/drs: use make use of dcerpc_binding_get_string_option("host")
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
| -rw-r--r-- | source4/torture/drs/rpc/msds_intid.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/torture/drs/rpc/msds_intid.c b/source4/torture/drs/rpc/msds_intid.c index 5c2bce4a75..a02acd8fc5 100644 --- a/source4/torture/drs/rpc/msds_intid.c +++ b/source4/torture/drs/rpc/msds_intid.c @@ -163,7 +163,8 @@ static struct DsIntIdTestCtx *_dsintid_create_context(struct torture_context *tc ctx->creds = cmdline_credentials; ctx->dsa_bind.server_binding = server_binding; - ctx->ldap_url = talloc_asprintf(ctx, "ldap://%s", server_binding->host); + ctx->ldap_url = talloc_asprintf(ctx, "ldap://%s", + dcerpc_binding_get_string_option(server_binding, "host")); return ctx; } |
