summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-02-16 16:47:23 +0100
committerVolker Lendecke <vl@samba.org>2011-02-19 11:32:49 +0100
commit943aac2e366b781136cfff467b7ea5631890ebdd (patch)
tree33952961c71bc64d214127e5a291f59db77edbf0 /source3/utils
parent6f3008e62714d46beed96e0f834340f81fa3c0c0 (diff)
downloadsamba-943aac2e366b781136cfff467b7ea5631890ebdd.tar.gz
samba-943aac2e366b781136cfff467b7ea5631890ebdd.tar.bz2
samba-943aac2e366b781136cfff467b7ea5631890ebdd.zip
s3: Add "len" to pdb_set_hours
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/pdbedit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/pdbedit.c b/source3/utils/pdbedit.c
index 400805375e..ec324cd5e8 100644
--- a/source3/utils/pdbedit.c
+++ b/source3/utils/pdbedit.c
@@ -526,7 +526,7 @@ static int set_user_info(const char *username, const char *fullname,
hours_len = pdb_get_hours_len(sam_pwent);
memset(hours_array, 0xff, hours_len);
- pdb_set_hours(sam_pwent, hours_array, PDB_CHANGED);
+ pdb_set_hours(sam_pwent, hours_array, hours_len, PDB_CHANGED);
}
if (!pdb_update_autolock_flag(sam_pwent, &updated_autolock)) {