summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2010-01-16 12:37:30 +0100
committerKai Blin <kai@samba.org>2010-01-16 12:38:12 +0100
commit791a2df656a1af81d3c016902ae4b4ceb1c732f0 (patch)
tree1c0f8733598a2ce648728d342384e663b11efef3 /source4/torture
parent29d08bfe267836073ace454f467ed591d33f9d82 (diff)
downloadsamba-791a2df656a1af81d3c016902ae4b4ceb1c732f0.tar.gz
samba-791a2df656a1af81d3c016902ae4b4ceb1c732f0.tar.bz2
samba-791a2df656a1af81d3c016902ae4b4ceb1c732f0.zip
s4 selftest: Fix and reenable WINBIND-STRUCT.NETBIOS_NAME test
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/winbind/struct_based.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/source4/torture/winbind/struct_based.c b/source4/torture/winbind/struct_based.c
index 560fa4393d..872e17bb0d 100644
--- a/source4/torture/winbind/struct_based.c
+++ b/source4/torture/winbind/struct_based.c
@@ -122,8 +122,9 @@ static bool torture_winbind_struct_info(struct torture_context *torture)
DO_STRUCT_REQ_REP(WINBINDD_INFO, NULL, &rep);
separator = torture_setting_string(torture,
- "winbindd separator",
+ "winbindd_separator",
lp_winbind_separator(torture->lp_ctx));
+
torture_assert_int_equal(torture,
rep.data.info.winbind_separator,
*separator,
@@ -199,7 +200,7 @@ static bool torture_winbind_struct_domain_name(struct torture_context *torture)
torture_comment(torture, "Running WINBINDD_DOMAIN_NAME (struct based)\n");
expected = torture_setting_string(torture,
- "winbindd netbios domain",
+ "winbindd_netbios_domain",
lp_workgroup(torture->lp_ctx));
get_winbind_domain(torture, &domain);
@@ -474,7 +475,7 @@ static bool torture_winbind_struct_getdcname(struct torture_context *torture)
bool ok;
bool strict = torture_setting_bool(torture, "strict mode", false);
const char *domain_name = torture_setting_string(torture,
- "winbindd netbios domain",
+ "winbindd_netbios_domain",
lp_workgroup(torture->lp_ctx));
struct torture_trust_domain *listd = NULL;
uint32_t i, count = 0;
@@ -915,7 +916,7 @@ static bool lookup_name_sid_list(struct torture_context *torture, char **list)
char *sid;
char *name;
const char *domain_name = torture_setting_string(torture,
- "winbindd netbios domain",
+ "winbindd_netbios_domain",
lp_workgroup(torture->lp_ctx));
ZERO_STRUCT(req);