summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2005-06-17 12:24:44 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:18:22 -0500
commit88fc8f243fcda6fd3ced72487ab8bf33ee153895 (patch)
tree8c7b44b484a3a0bae2448a68f98c81216ba2efa0 /source4/torture/rpc
parent9db3f0cd5ef7df285250b10e0d168f1a49f8f415 (diff)
downloadsamba-88fc8f243fcda6fd3ced72487ab8bf33ee153895.tar.gz
samba-88fc8f243fcda6fd3ced72487ab8bf33ee153895.tar.bz2
samba-88fc8f243fcda6fd3ced72487ab8bf33ee153895.zip
r7686: Check for a type of invalid account name.
Andrew Bartlett (This used to be commit 7520879bb08d191f0ab97508f14f525886b1b48b)
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r--source4/torture/rpc/samr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/torture/rpc/samr.c b/source4/torture/rpc/samr.c
index befbe0f9f7..93b8471f99 100644
--- a/source4/torture/rpc/samr.c
+++ b/source4/torture/rpc/samr.c
@@ -1715,6 +1715,7 @@ static BOOL test_CreateUser2(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx,
NTSTATUS nt_status;
} account_types[] = {
{ ACB_NORMAL, TEST_ACCOUNT_NAME, NT_STATUS_OK },
+ { ACB_NORMAL, TEST_ACCOUNT_NAME "&" , NT_STATUS_INVALID_ACCOUNT_NAME },
{ ACB_NORMAL | ACB_DISABLED, TEST_ACCOUNT_NAME, NT_STATUS_INVALID_PARAMETER },
{ ACB_NORMAL | ACB_PWNOEXP, TEST_ACCOUNT_NAME, NT_STATUS_INVALID_PARAMETER },
{ ACB_WSTRUST, TEST_MACHINENAME, NT_STATUS_OK },