summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorRafal Szczesniak <mimir@samba.org>2005-08-01 20:48:29 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:30:16 -0500
commit2786f847b8ab2471bf6cf724171dae20a49a811e (patch)
treead5ab98124d076638dd799665238598a02dbfed2 /source4/torture
parentaff62e9ee2f15d92e5331afe9ff942e449a25d8e (diff)
downloadsamba-2786f847b8ab2471bf6cf724171dae20a49a811e.tar.gz
samba-2786f847b8ab2471bf6cf724171dae20a49a811e.tar.bz2
samba-2786f847b8ab2471bf6cf724171dae20a49a811e.zip
r8897: Add test for the comment field.
rafal (This used to be commit 3cb517f7c134ee18eb9af79c486c85bed0ef4f81)
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/libnet/userman.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/source4/torture/libnet/userman.c b/source4/torture/libnet/userman.c
index 063587feb2..14d46a8383 100644
--- a/source4/torture/libnet/userman.c
+++ b/source4/torture/libnet/userman.c
@@ -420,12 +420,13 @@ BOOL torture_usermod(void)
struct timeval expiry = { 12345, 67890 };
struct usermod_change changes[] = {
- { USERMOD_FIELD_ACCOUNT_NAME, "changed", NULL, NULL, NULL, NULL, NULL },
- { USERMOD_FIELD_FULL_NAME, NULL, "Testing full account name", NULL, NULL, NULL, NULL },
- { USERMOD_FIELD_DESCRIPTION, NULL, NULL, "Description of tested account", NULL, NULL, NULL },
- { USERMOD_FIELD_LOGON_SCRIPT, NULL, NULL, NULL, "test_logon.cmd", NULL, NULL },
- { USERMOD_FIELD_PROFILE_PATH, NULL, NULL, NULL, NULL, "\\\\TESTSRV\\profiles\\test", NULL },
- { USERMOD_FIELD_ACCT_EXPIRY, NULL, NULL, NULL, NULL, NULL, &expiry }
+ { USERMOD_FIELD_ACCOUNT_NAME, "changed", NULL, NULL, NULL, NULL, NULL, NULL, NULL },
+ { USERMOD_FIELD_FULL_NAME, NULL, "Testing full account name", NULL, NULL, NULL, NULL, NULL, NULL },
+ { USERMOD_FIELD_DESCRIPTION, NULL, NULL, "Description of tested account", NULL, NULL, NULL, NULL, NULL },
+ { USERMOD_FIELD_COMMENT, NULL, NULL, NULL, "Comment for the tested account", NULL, NULL, NULL, NULL },
+ { USERMOD_FIELD_LOGON_SCRIPT, NULL, NULL, NULL, NULL, "test_logon.cmd", NULL, NULL, NULL },
+ { USERMOD_FIELD_PROFILE_PATH, NULL, NULL, NULL, NULL, NULL, "\\\\TESTSRV\\profiles\\test", NULL, NULL },
+ { USERMOD_FIELD_ACCT_EXPIRY, NULL, NULL, NULL, NULL, NULL, NULL, &expiry, NULL }
};
mem_ctx = talloc_init("test_userdel");