Changeset 140 for branches/samba-3.0/source/auth/auth_sam.c
- Timestamp:
- Jul 11, 2008, 1:13:42 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.0/source/auth/auth_sam.c
r44 r140 168 168 time_t last_set_time = pdb_get_pass_last_set_time(sampass); 169 169 170 /* check for immediate expiry "must change at next logon" */ 171 if (last_set_time == 0) { 170 /* check for immediate expiry "must change at next logon" 171 * for a user account. */ 172 if (((acct_ctrl & (ACB_WSTRUST|ACB_SVRTRUST)) == 0) && (last_set_time == 0)) { 172 173 DEBUG(1,("sam_account_ok: Account for user '%s' password must change!.\n", pdb_get_username(sampass))); 173 174 return NT_STATUS_PASSWORD_MUST_CHANGE;
Note:
See TracChangeset
for help on using the changeset viewer.