s3-passdb: Remove unused sampass->pass_must_change_time
commit4471778d7846e0c5d5989e522ee214a3b4ded153
authorAndrew Bartlett <abartlet@samba.org>
Thu, 19 Apr 2012 00:39:56 +0000 (19 10:39 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 19 Apr 2012 10:34:33 +0000 (19 12:34 +0200)
tree176828701c4c6411df07487c83aac8bfcf8eb53b
parentcf39ef363782dae8d9b73bb249f2321c924c1dc8
s3-passdb: Remove unused sampass->pass_must_change_time

There is no need to call pdb_set_pass_must_change_time() because
nothing ever consults that value.  It is always calculated from the
domain policy.

Also, this means we no longer store the value in LDAP.  The value
would only ever be set when migrating from tdbsam or smbpasswd, not on
password changes, so would become incorrect over time.

Andrew Bartlett
source3/include/passdb.h
source3/passdb/passdb.c
source3/passdb/pdb_get_set.c
source3/passdb/pdb_ldap.c
source3/passdb/pdb_samba4.c
source3/passdb/py_passdb.c
source3/torture/pdbtest.c