diff options
author | Andrew Bartlett <abartlet@samba.org> | 2008-10-20 16:12:37 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2008-10-20 20:07:09 +1100 |
commit | 85acd7eccca127ab701f1515a27747b8af089cab (patch) | |
tree | 3f261d8a373f89386622595c6b13309e35103532 | |
parent | b789ff950f054ede2ef1dfaf94f8ddff062c092b (diff) | |
download | samba-85acd7eccca127ab701f1515a27747b8af089cab.tar.gz samba-85acd7eccca127ab701f1515a27747b8af089cab.tar.bz2 samba-85acd7eccca127ab701f1515a27747b8af089cab.zip |
Make the updated RPC-LSA pass against Win2008, and Samba4 to match
-rw-r--r-- | source4/rpc_server/lsa/dcesrv_lsa.c | 1 | ||||
-rw-r--r-- | source4/torture/rpc/lsa.c | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/source4/rpc_server/lsa/dcesrv_lsa.c b/source4/rpc_server/lsa/dcesrv_lsa.c index 84f11ef3a8..b009d2f2f8 100644 --- a/source4/rpc_server/lsa/dcesrv_lsa.c +++ b/source4/rpc_server/lsa/dcesrv_lsa.c @@ -488,6 +488,7 @@ static NTSTATUS dcesrv_lsa_QueryInfoPolicy2(struct dcesrv_call_state *dce_call, case LSA_POLICY_INFO_MOD: case LSA_POLICY_INFO_AUDIT_FULL_SET: + case LSA_POLICY_INFO_AUDIT_FULL_QUERY: /* windows gives INVALID_PARAMETER */ r->out.info = NULL; return NT_STATUS_INVALID_PARAMETER; diff --git a/source4/torture/rpc/lsa.c b/source4/torture/rpc/lsa.c index 875a857522..69df965f19 100644 --- a/source4/torture/rpc/lsa.c +++ b/source4/torture/rpc/lsa.c @@ -1727,7 +1727,7 @@ static bool test_QueryForestTrustInformation(struct dcerpc_pipe *p, status = dcerpc_lsa_lsaRQueryForestTrustInformation(p, tctx, &r); if (!NT_STATUS_IS_OK(status)) { - printf("lsaRQueryForestTrustInformation failed - %s\n", nt_errstr(status)); + printf("lsaRQueryForestTrustInformation of %s failed - %s\n", trusted_domain_name, nt_errstr(status)); ret = false; } @@ -2337,6 +2337,7 @@ static bool test_QueryInfoPolicyCalls( bool version2, switch (i) { case LSA_POLICY_INFO_MOD: case LSA_POLICY_INFO_AUDIT_FULL_SET: + case LSA_POLICY_INFO_AUDIT_FULL_QUERY: if (!NT_STATUS_EQUAL(status, NT_STATUS_INVALID_PARAMETER)) { printf("Server should have failed level %u: %s\n", i, nt_errstr(status)); ret = false; |