diff options
author | Andrew Bartlett <abartlet@samba.org> | 2008-08-26 16:28:59 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2008-08-26 16:28:59 +1000 |
commit | 43bfcba839d0a85c0b295151721cefd2dca91998 (patch) | |
tree | 94b7d23bca5b56baf2856df86d42eddbea6543d6 /source4 | |
parent | f08786686c0bf2440e35ce29b8e0b1a2f116fe3a (diff) | |
parent | 3010e5e48979bf174547e4f00389dbade7b414d2 (diff) | |
download | samba-43bfcba839d0a85c0b295151721cefd2dca91998.tar.gz samba-43bfcba839d0a85c0b295151721cefd2dca91998.tar.bz2 samba-43bfcba839d0a85c0b295151721cefd2dca91998.zip |
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into pac-verify
(This used to be commit 2a1adaa759d9201670519b3938109e13c0476a83)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/torture/rpc/session_key.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source4/torture/rpc/session_key.c b/source4/torture/rpc/session_key.c index 0df7e576ee..c069c62724 100644 --- a/source4/torture/rpc/session_key.c +++ b/source4/torture/rpc/session_key.c @@ -42,7 +42,7 @@ static bool test_CreateSecret_basic(struct dcerpc_pipe *p, struct lsa_SetSecret r3; struct lsa_QuerySecret r4; struct policy_handle sec_handle; - struct lsa_Delete d; + struct lsa_DeleteObject d; struct lsa_DATA_BUF buf1; struct lsa_DATA_BUF_PTR bufp1; DATA_BLOB enc_key; @@ -128,7 +128,8 @@ static bool test_CreateSecret_basic(struct dcerpc_pipe *p, torture_assert_str_equal(tctx, secret1, secret2, "Returned secret invalid"); d.in.handle = &sec_handle; - status = dcerpc_lsa_Delete(p, tctx, &d); + d.out.handle = &sec_handle; + status = dcerpc_lsa_DeleteObject(p, tctx, &d); torture_assert_ntstatus_ok(tctx, status, "delete should have returned OKINVALID_HANDLE"); return true; } |