diff options
author | Andrew Bartlett <abartlet@samba.org> | 2005-01-07 04:09:45 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:08:30 -0500 |
commit | 066134f2414e8688fd980b619f9e597538c8766d (patch) | |
tree | 137656fb68e77bd102294595844197af91a1c17e /source4 | |
parent | 9278473ea456bd7f45f1465e7112540f611c177c (diff) | |
download | samba-066134f2414e8688fd980b619f9e597538c8766d.tar.gz samba-066134f2414e8688fd980b619f9e597538c8766d.tar.bz2 samba-066134f2414e8688fd980b619f9e597538c8766d.zip |
r4590: Make RPC-SAMSYNC pass againt Win2k3.
Andrew Bartlett
(This used to be commit 7bb00a80ac55252b8c05b33fd576b8606470e9be)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/torture/rpc/samsync.c | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/source4/torture/rpc/samsync.c b/source4/torture/rpc/samsync.c index d90f161849..86e10678c9 100644 --- a/source4/torture/rpc/samsync.c +++ b/source4/torture/rpc/samsync.c @@ -730,8 +730,10 @@ static BOOL samsync_handle_secret(TALLOC_CTX *mem_ctx, struct samsync_state *sam return False; } - TEST_SEC_DESC_EQUAL(secret->sdbuf, lsa, &sec_handle); - +/* + We would like to do this, but it is NOT_SUPPORTED on win2k3 + TEST_SEC_DESC_EQUAL(secret->sdbuf, lsa, &sec_handle); +*/ status = dcerpc_fetch_session_key(samsync_state->p_lsa, &session_key); if (!NT_STATUS_IS_OK(status)) { printf("dcerpc_fetch_session_key failed - %s\n", nt_errstr(status)); @@ -837,8 +839,10 @@ static BOOL samsync_handle_trusted_domain(TALLOC_CTX *mem_ctx, struct samsync_st } TEST_STRING_EQUAL(info[1]->name.netbios_name, trusted_domain->domain_name); TEST_INT_EQUAL(info[3]->flags.flags, trusted_domain->flags); +/* + We would like to do this, but it is NOT_SUPPORTED on win2k3 TEST_SEC_DESC_EQUAL(trusted_domain->sdbuf, lsa, &trustdom_handle); - +*/ DLIST_ADD(samsync_state->trusted_domains, new); return ret; @@ -1102,7 +1106,8 @@ static BOOL test_DatabaseDeltas(struct samsync_state *samsync_state, TALLOC_CTX status = dcerpc_netr_DatabaseDeltas(samsync_state->p, mem_ctx, &r); if (!NT_STATUS_IS_OK(status) && - !NT_STATUS_EQUAL(status, STATUS_MORE_ENTRIES)) { + !NT_STATUS_EQUAL(status, STATUS_MORE_ENTRIES) && + !NT_STATUS_EQUAL(status, NT_STATUS_SYNCHRONIZATION_REQUIRED)) { printf("DatabaseDeltas - %s\n", nt_errstr(status)); ret = False; break; |