diff options
author | Tim Potter <tpot@samba.org> | 2005-05-22 10:23:01 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:16:58 -0500 |
commit | 2b7fe67f4d02f861c9a4bfe823e648f0a995e613 (patch) | |
tree | 969cd8c1c004517303dc25629ecaf0227c45bfbe /source4/torture/ldap | |
parent | ffbeabef646987f02b98cd1f781d3c2a614b3d24 (diff) | |
download | samba-2b7fe67f4d02f861c9a4bfe823e648f0a995e613.tar.gz samba-2b7fe67f4d02f861c9a4bfe823e648f0a995e613.tar.bz2 samba-2b7fe67f4d02f861c9a4bfe823e648f0a995e613.zip |
r6933: Add a couple of helper functions for creating nbt names.
(This used to be commit b896daf11c3efb1b3ca939575da9dab82b395777)
Diffstat (limited to 'source4/torture/ldap')
-rw-r--r-- | source4/torture/ldap/cldapbench.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source4/torture/ldap/cldapbench.c b/source4/torture/ldap/cldapbench.c index 8eaddc78f9..0a021dacce 100644 --- a/source4/torture/ldap/cldapbench.c +++ b/source4/torture/ldap/cldapbench.c @@ -108,9 +108,7 @@ BOOL torture_bench_cldap(void) NTSTATUS status; BOOL ret = True; - name.name = lp_parm_string(-1, "torture", "host"); - name.type = NBT_NAME_SERVER; - name.scope = NULL; + make_nbt_name_server(&name, lp_parm_string(-1, "torture", "host")); /* do an initial name resolution to find its IP */ status = resolve_name(&name, mem_ctx, &address); |