[SCM] Samba Shared Repository - branch master updated
Günther Deschner
gd at samba.org
Tue Jun 29 09:20:26 MDT 2010
The branch, master has been updated
via 92f3e14... s4-smbtorture: handle NT_STATUS_NOT_IMPLEMENTED in GetForestTrustInformation test.
from 5bc77c8... s4-smbtorture: use TEST_MACHINE_NAME in test_netr_GetForestTrustInformation().
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 92f3e143b7b89ce25b996d6e68f130bbd7142af5
Author: Günther Deschner <gd at samba.org>
Date: Tue Jun 29 17:19:28 2010 +0200
s4-smbtorture: handle NT_STATUS_NOT_IMPLEMENTED in GetForestTrustInformation test.
When skipping over it, we can at least verify the credential chain.
Guenther
-----------------------------------------------------------------------
Summary of changes:
source4/torture/rpc/netlogon.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source4/torture/rpc/netlogon.c b/source4/torture/rpc/netlogon.c
index b3901bd..32c16f9 100644
--- a/source4/torture/rpc/netlogon.c
+++ b/source4/torture/rpc/netlogon.c
@@ -2085,8 +2085,12 @@ static bool test_netr_GetForestTrustInformation(struct torture_context *tctx,
torture_assert_ntstatus_ok(tctx,
dcerpc_netr_GetForestTrustInformation_r(b, tctx, &r),
"netr_GetForestTrustInformation failed");
- torture_assert_ntstatus_ok(tctx, r.out.result,
- "netr_GetForestTrustInformation failed");
+ if (NT_STATUS_EQUAL(r.out.result, NT_STATUS_NOT_IMPLEMENTED)) {
+ torture_comment(tctx, "not considering NT_STATUS_NOT_IMPLEMENTED as an error\n");
+ } else {
+ torture_assert_ntstatus_ok(tctx, r.out.result,
+ "netr_GetForestTrustInformation failed");
+ }
torture_assert(tctx,
netlogon_creds_client_check(creds, &return_authenticator.cred),
--
Samba Shared Repository
More information about the samba-cvs
mailing list