Ignore:
Timestamp:
Jul 11, 2008, 1:13:42 AM (17 years ago)
Author:
Paul Smedley
Message:

Update branch to 3.0.31 release

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.0/source/auth/auth_sam.c

    r44 r140  
    168168                time_t last_set_time = pdb_get_pass_last_set_time(sampass);
    169169
    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)) {
    172173                        DEBUG(1,("sam_account_ok: Account for user '%s' password must change!.\n", pdb_get_username(sampass)));
    173174                        return NT_STATUS_PASSWORD_MUST_CHANGE;
Note: See TracChangeset for help on using the changeset viewer.