diff options
Diffstat (limited to 'source3/libnet/libnet_dssync_passdb.c')
-rw-r--r-- | source3/libnet/libnet_dssync_passdb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/libnet/libnet_dssync_passdb.c b/source3/libnet/libnet_dssync_passdb.c index 4b66c39bb3..df99e40ebb 100644 --- a/source3/libnet/libnet_dssync_passdb.c +++ b/source3/libnet/libnet_dssync_passdb.c @@ -1263,7 +1263,8 @@ static NTSTATUS sam_account_from_object(struct samu *account, pdb_sethexhours(oldstr, pdb_get_hours(account)); pdb_sethexhours(newstr, logonHours.data); if (!strequal(oldstr, newstr)) { - pdb_set_hours(account, logonHours.data, PDB_CHANGED); + pdb_set_hours(account, logonHours.data, + logonHours.length, PDB_CHANGED); } } |