diff options
author | Volker Lendecke <vl@samba.org> | 2011-02-16 16:47:23 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2011-02-19 11:32:49 +0100 |
commit | 943aac2e366b781136cfff467b7ea5631890ebdd (patch) | |
tree | 33952961c71bc64d214127e5a291f59db77edbf0 /source3/libnet/libnet_samsync_passdb.c | |
parent | 6f3008e62714d46beed96e0f834340f81fa3c0c0 (diff) | |
download | samba-943aac2e366b781136cfff467b7ea5631890ebdd.tar.gz samba-943aac2e366b781136cfff467b7ea5631890ebdd.tar.bz2 samba-943aac2e366b781136cfff467b7ea5631890ebdd.zip |
s3: Add "len" to pdb_set_hours
Diffstat (limited to 'source3/libnet/libnet_samsync_passdb.c')
-rw-r--r-- | source3/libnet/libnet_samsync_passdb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/libnet/libnet_samsync_passdb.c b/source3/libnet/libnet_samsync_passdb.c index 9d72194c03..cfcdb7cec2 100644 --- a/source3/libnet/libnet_samsync_passdb.c +++ b/source3/libnet/libnet_samsync_passdb.c @@ -179,7 +179,8 @@ static NTSTATUS sam_account_from_delta(struct samu *account, pdb_sethexhours(oldstr, pdb_get_hours(account)); pdb_sethexhours(newstr, r->logon_hours.bits); if (!strequal(oldstr, newstr)) - pdb_set_hours(account, r->logon_hours.bits, PDB_CHANGED); + pdb_set_hours(account, r->logon_hours.bits, + pdb_get_hours_len(account), PDB_CHANGED); } if (pdb_get_bad_password_count(account) != r->bad_password_count) |