Show
Ignore:
Timestamp:
07/11/08 01:13:42 (5 months ago)
Author:
psmedley
Message:

Update branch to 3.0.31 release

Files:
1 modified

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;