diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-04-19 10:39:56 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-04-19 12:34:33 +0200 |
commit | 4471778d7846e0c5d5989e522ee214a3b4ded153 (patch) | |
tree | 176828701c4c6411df07487c83aac8bfcf8eb53b /source3/passdb/pdb_samba4.c | |
parent | cf39ef363782dae8d9b73bb249f2321c924c1dc8 (diff) | |
download | samba-4471778d7846e0c5d5989e522ee214a3b4ded153.tar.gz samba-4471778d7846e0c5d5989e522ee214a3b4ded153.tar.bz2 samba-4471778d7846e0c5d5989e522ee214a3b4ded153.zip |
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
Diffstat (limited to 'source3/passdb/pdb_samba4.c')
-rw-r--r-- | source3/passdb/pdb_samba4.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/passdb/pdb_samba4.c b/source3/passdb/pdb_samba4.c index 2b785fa424..024c293aa1 100644 --- a/source3/passdb/pdb_samba4.c +++ b/source3/passdb/pdb_samba4.c @@ -564,7 +564,6 @@ static int pdb_samba4_replace_by_sam(struct pdb_samba4_state *state, PDB_LOGOFFTIME, PDB_BAD_PASSWORD_TIME, PDB_CANCHANGETIME, - these are calculated per policy, not stored - PDB_MUSTCHANGETIME, - these are calculated per policy, not stored PDB_DOMAIN, PDB_NTUSERNAME, - this makes no sense, and never really did PDB_LOGONDIVS, |