diff options
author | Gary Lockyer <gary@catalyst.net.nz> | 2018-04-12 06:41:30 +1200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2018-05-10 20:02:23 +0200 |
commit | 5c0345ea9bb34695dcd7be6c913748323bebe937 (patch) | |
tree | 91609b666973bd053448269313e9507672f74597 /source4/torture/dns | |
parent | daa7b60a60520c94367e9112246482bae71c5ccd (diff) | |
download | samba-5c0345ea9bb34695dcd7be6c913748323bebe937.tar.gz |
samdb: Add remote address to connect
Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/torture/dns')
-rw-r--r-- | source4/torture/dns/dlz_bind9.c | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/source4/torture/dns/dlz_bind9.c b/source4/torture/dns/dlz_bind9.c index d94848728fc..ef7220b6ef5 100644 --- a/source4/torture/dns/dlz_bind9.c +++ b/source4/torture/dns/dlz_bind9.c @@ -88,13 +88,16 @@ static isc_result_t dlz_bind9_writeable_zone_hook(dns_view_t *view, struct torture_context *tctx = talloc_get_type((void *)view, struct torture_context); struct ldb_context *samdb = NULL; char *errstring = NULL; - int ret = samdb_connect_url(tctx, NULL, tctx->lp_ctx, - system_session(tctx->lp_ctx), - 0, - test_dlz_bind9_binddns_dir(tctx, "dns/sam.ldb"), - NULL, - &samdb, - &errstring); + int ret = samdb_connect_url( + tctx, + NULL, + tctx->lp_ctx, + system_session(tctx->lp_ctx), + 0, + test_dlz_bind9_binddns_dir(tctx, "dns/sam.ldb"), + NULL, + &samdb, + &errstring); struct ldb_message *msg; const char *attrs[] = { NULL |