1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

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>
This commit is contained in:
Stefan Metzmacher 2014-02-04 10:07:15 +01:00 committed by Günther Deschner
parent 2e93d6f881
commit 982d9a06e6

View File

@ -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;
}