summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2009-05-29 17:12:06 +1000
committerAndrew Bartlett <abartlet@samba.org>2009-05-29 17:12:06 +1000
commit227553f904186112e9218c4a7c8b1b46fef5b897 (patch)
tree6b5c7cce1272b310557ed9a4680db403e0359d26 /source4/torture
parentb83f84c8c3be1ce0319a9f36704e3bf4718e159f (diff)
downloadsamba-227553f904186112e9218c4a7c8b1b46fef5b897.tar.gz
samba-227553f904186112e9218c4a7c8b1b46fef5b897.tar.bz2
samba-227553f904186112e9218c4a7c8b1b46fef5b897.zip
Win2k3 don't allow creating of domain trust accounts over SAMR
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/rpc/samr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/rpc/samr.c b/source4/torture/rpc/samr.c
index 0072a018c8..a1a60bf5b4 100644
--- a/source4/torture/rpc/samr.c
+++ b/source4/torture/rpc/samr.c
@@ -4372,7 +4372,7 @@ static bool test_CreateUser2(struct dcerpc_pipe *p, struct torture_context *tctx
{ ACB_SVRTRUST, TEST_MACHINENAME, NT_STATUS_OK },
{ ACB_SVRTRUST | ACB_DISABLED, TEST_MACHINENAME, NT_STATUS_INVALID_PARAMETER },
{ ACB_SVRTRUST | ACB_PWNOEXP, TEST_MACHINENAME, NT_STATUS_INVALID_PARAMETER },
- { ACB_DOMTRUST, TEST_DOMAINNAME, NT_STATUS_OK },
+ { ACB_DOMTRUST, TEST_DOMAINNAME, NT_STATUS_ACCESS_DENIED },
{ ACB_DOMTRUST | ACB_DISABLED, TEST_DOMAINNAME, NT_STATUS_INVALID_PARAMETER },
{ ACB_DOMTRUST | ACB_PWNOEXP, TEST_DOMAINNAME, NT_STATUS_INVALID_PARAMETER },
{ 0, TEST_ACCOUNT_NAME, NT_STATUS_INVALID_PARAMETER },