summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2012-04-26 00:05:24 -0700
committerMatthieu Patou <mat@samba.org>2012-04-26 21:25:37 +0200
commit307e2d13878a1f7b3db62f2fb33d30981be55a1e (patch)
tree2abc9d99f131d3fcc148b527821e570c077263aa /source4
parenta73b1ed580ec7ae1660bfc570c093a5eb0c6a531 (diff)
downloadsamba-307e2d13878a1f7b3db62f2fb33d30981be55a1e.tar.gz
samba-307e2d13878a1f7b3db62f2fb33d30981be55a1e.tar.bz2
samba-307e2d13878a1f7b3db62f2fb33d30981be55a1e.zip
torture: change dfs tests now that we return a level 4 when level 4 is requested
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Thu Apr 26 21:25:37 CEST 2012 on sn-devel-104
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/dfs/domaindfs.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/source4/torture/dfs/domaindfs.c b/source4/torture/dfs/domaindfs.c
index 89e9cc1426..4981d0f11e 100644
--- a/source4/torture/dfs/domaindfs.c
+++ b/source4/torture/dfs/domaindfs.c
@@ -380,7 +380,6 @@ static bool test_getsysvolreferral(struct torture_context *tctx,
"Wrong DFS_path %s unable to find substring %s in it",
resp3.referral_entries[0].referral.v3.referrals.r1.netw_address,
str+1));
-#if 0
/*
* Due to strange behavior with XP and level 4
* we are obliged to degrade to level 3 ...
@@ -398,7 +397,8 @@ static bool test_getsysvolreferral(struct torture_context *tctx,
torture_assert_int_equal(tctx, memcmp(resp3.referral_entries[0].referral.v3.service_site_guid.value, zeros, 16), 0,
talloc_asprintf(tctx,
"Service_site_guid is not NULL as expected"));
-#endif
+#if 0
+ /* Shouldn't be needed anymore*/
r3.in.req.max_referral_level = 4;
torture_assert_ntstatus_ok(tctx,
@@ -409,7 +409,6 @@ static bool test_getsysvolreferral(struct torture_context *tctx,
talloc_asprintf(tctx,
"Not expected version for referral entry 0 got %d expected 3 in degraded mode",
resp3.referral_entries[0].version));
-#if 0
/*
* We do not support fallback indication for the moment
*/