diff options
author | Rafal Szczesniak <mimir@samba.org> | 2006-10-17 20:32:01 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:21:21 -0500 |
commit | 8fd1ca82d8c53c8eca58deb39c6dc021dd55cb5e (patch) | |
tree | b55f664535701b6206beadfcad5f95a3084abc39 | |
parent | ac698cc2830992436cd3d188fb82cac9bb23c0d8 (diff) | |
download | samba-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.c | 8 |
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); |