summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafal Szczesniak <mimir@samba.org>2006-10-17 20:32:01 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:21:21 -0500
commit8fd1ca82d8c53c8eca58deb39c6dc021dd55cb5e (patch)
treeb55f664535701b6206beadfcad5f95a3084abc39
parentac698cc2830992436cd3d188fb82cac9bb23c0d8 (diff)
downloadsamba-8fd1ca82d8c53c8eca58deb39c6dc021dd55cb5e.tar.gz
samba-8fd1ca82d8c53c8eca58deb39c6dc021dd55cb5e.tar.bz2
samba-8fd1ca82d8c53c8eca58deb39c6dc021dd55cb5e.zip
r19379: add testing home directory field to the samr tests.
rafal (This used to be commit 4dfd1d50274bc1ff539782e9bfdb2b7b20275d06)
-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 b387ec70bf..ec90af658a 100644
--- a/source4/torture/rpc/samr.c
+++ b/source4/torture/rpc/samr.c
@@ -337,6 +337,14 @@ static BOOL test_SetUserInfo(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx,
TEST_USERINFO_STRING(21, profile_path, 21, profile_path, "xx21-21 profile_path",
SAMR_FIELD_PROFILE_PATH);
+ TEST_USERINFO_STRING(10, home_directory, 3, home_directory, "xx10-3 home_directory", 0);
+ TEST_USERINFO_STRING(10, home_directory, 5, home_directory, "xx10-5 home_directory", 0);
+ TEST_USERINFO_STRING(10, home_directory, 21, home_directory, "xx10-21 home_directory", 0);
+ TEST_USERINFO_STRING(21, home_directory, 21, home_directory, "xx21-21 home_directory",
+ SAMR_FIELD_HOME_DIRECTORY);
+ TEST_USERINFO_STRING(21, home_directory, 10, home_directory, "xx21-10 home_directory",
+ SAMR_FIELD_HOME_DIRECTORY);
+
TEST_USERINFO_STRING(13, description, 1, description, "xx13-1 description", 0);
TEST_USERINFO_STRING(13, description, 5, description, "xx13-5 description", 0);
TEST_USERINFO_STRING(13, description, 21, description, "xx13-21 description", 0);