summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorRafal Szczesniak <mimir@samba.org>2006-10-17 20:56:46 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:21:21 -0500
commitc7090e666981eba30eb0553486bf782142e65a89 (patch)
treee1e86ed633a8da45cda0c7d29f669dfe4b7e5c3a /source4/torture
parent8fd1ca82d8c53c8eca58deb39c6dc021dd55cb5e (diff)
downloadsamba-c7090e666981eba30eb0553486bf782142e65a89.tar.gz
samba-c7090e666981eba30eb0553486bf782142e65a89.tar.bz2
samba-c7090e666981eba30eb0553486bf782142e65a89.zip
r19380: forgot to add home drive testing as well as home directory...
rafal (This used to be commit 732c22071e78f16fd0731635ca4b3e093d49078a)
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/rpc/samr.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/source4/torture/rpc/samr.c b/source4/torture/rpc/samr.c
index ec90af658a..8b37af762d 100644
--- a/source4/torture/rpc/samr.c
+++ b/source4/torture/rpc/samr.c
@@ -344,6 +344,14 @@ static BOOL test_SetUserInfo(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx,
SAMR_FIELD_HOME_DIRECTORY);
TEST_USERINFO_STRING(21, home_directory, 10, home_directory, "xx21-10 home_directory",
SAMR_FIELD_HOME_DIRECTORY);
+
+ TEST_USERINFO_STRING(10, home_drive, 3, home_drive, "xx10-3 home_drive", 0);
+ TEST_USERINFO_STRING(10, home_drive, 5, home_drive, "xx10-5 home_drive", 0);
+ TEST_USERINFO_STRING(10, home_drive, 21, home_drive, "xx10-21 home_drive", 0);
+ TEST_USERINFO_STRING(21, home_drive, 21, home_drive, "xx21-21 home_drive",
+ SAMR_FIELD_HOME_DRIVE);
+ TEST_USERINFO_STRING(21, home_drive, 10, home_drive, "xx21-10 home_drive",
+ SAMR_FIELD_HOME_DRIVE);
TEST_USERINFO_STRING(13, description, 1, description, "xx13-1 description", 0);
TEST_USERINFO_STRING(13, description, 5, description, "xx13-5 description", 0);