git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e93d6f
)
s4:torture/drs: use make use of dcerpc_binding_get_string_option("host")
author
Stefan Metzmacher
<metze@samba.org>
Tue, 4 Feb 2014 09:07:15 +0000
(10:07 +0100)
committer
Günther Deschner
<gd@samba.org>
Thu, 13 Feb 2014 10:54:18 +0000
(11:54 +0100)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
source4/torture/drs/rpc/msds_intid.c
patch
|
blob
|
history
diff --git
a/source4/torture/drs/rpc/msds_intid.c
b/source4/torture/drs/rpc/msds_intid.c
index 5c2bce4a7596bb735f461e2c9c4c7c505d34aee6..a02acd8fc5911d4c1816b9db9acc4af6a0496a3c 100644
(file)
--- 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;
}