diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-10-15 17:04:19 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-10-15 17:04:19 +0200 |
commit | 915f1df9047cbc6bcd5bbec891cd56579cb4e884 (patch) | |
tree | 392be0b3409892616f5e64ed542018674f10d682 /source4/torture | |
parent | b41fc6c7290f7a50b250771364fee29143140546 (diff) | |
download | samba-915f1df9047cbc6bcd5bbec891cd56579cb4e884.tar.gz samba-915f1df9047cbc6bcd5bbec891cd56579cb4e884.tar.bz2 samba-915f1df9047cbc6bcd5bbec891cd56579cb4e884.zip |
Fix wkssvc test build.
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/rpc/wkssvc.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/source4/torture/rpc/wkssvc.c b/source4/torture/rpc/wkssvc.c index faab8b825c..015f20f6e2 100644 --- a/source4/torture/rpc/wkssvc.c +++ b/source4/torture/rpc/wkssvc.c @@ -1218,7 +1218,7 @@ static bool test_NetrJoinDomain2(struct torture_context *tctx, } switch (join_status) { - case NET_SETUP_DOMAIN_NAME:: + case NET_SETUP_DOMAIN_NAME: expected_err = WERR_SETUP_ALREADY_JOINED; break; case NET_SETUP_UNKNOWN_STATUS: @@ -1271,7 +1271,7 @@ static bool test_NetrJoinDomain2(struct torture_context *tctx, return false; } - if (join_status != NetSetupDomainName) { + if (join_status != NET_SETUP_DOMAIN_NAME) { torture_comment(tctx, "Join verify failed: got %d\n", join_status); return false; @@ -1302,12 +1302,12 @@ static bool test_NetrUnjoinDomain2(struct torture_context *tctx, } switch (join_status) { - case NetSetupUnjoined: + case NET_SETUP_UNJOINED: expected_err = WERR_SETUP_NOT_JOINED; break; - case NetSetupDomainName: - case NetSetupUnknownStatus: - case NetSetupWorkgroupName: + case NET_SETUP_DOMAIN_NAME: + case NET_SETUP_UNKNOWN_STATUS: + case NET_SETUP_WORKGROUP_NAME: default: expected_err = WERR_OK; break; @@ -1350,11 +1350,11 @@ static bool test_NetrUnjoinDomain2(struct torture_context *tctx, } switch (join_status) { - case NetSetupUnjoined: - case NetSetupWorkgroupName: + case NET_SETUP_UNJOINED: + case NET_SETUP_WORKGROUP_NAME: break; - case NetSetupUnknown: - case NetSetupDomainName: + case NET_SETUP_UNKNOWN_STATUS: + case NET_SETUP_DOMAIN_NAME: default: torture_comment(tctx, "Unjoin verify failed: got %d\n", join_status); |