Changeset 513


Ignore:
Timestamp:
10/07/08 15:05:22 (16 years ago)
Author:
niltonneto
Message:

Bug. A expiração de senha não funcionava.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/phpgwapi/inc/class.accounts_ldap.inc.php

    r425 r513  
    6363                        { 
    6464                                /* jakjr: using justthese with ldap_search */ 
    65                                 $justthese = array("uidnumber", "gidnumber", "uid", "cn", "givenname", "sn", "mail", "phpgwaccountstatus", "phpgwaccountexpires", "phpgwaccounttype"); 
     65                                $justthese = array("uidnumber", "gidnumber", "uid", "cn", "givenname", "sn", "mail", "phpgwaccountstatus", "phpgwaccountexpires", "phpgwaccounttype", "phpgwlastpasswdchange"); 
    6666                                $sri = @ldap_search($this->ds, $this->user_context, ("(&(uidnumber=" . (int)$this->account_id.")(phpgwaccounttype=u))"), $justthese); 
    6767                        } 
     
    9494                                $this->data['lastlogin']         = $allValues[0]['phpgwaccountlastlogin'][0]; 
    9595                                $this->data['lastloginfrom']     = $allValues[0]['phpgwaccountlastloginfrom'][0]; 
     96                                */ 
    9697                                $this->data['lastpasswd_change'] = @$allValues[0]['phpgwlastpasswdchange'][0]; 
    97                                 */ 
    9898                                $this->data['status']            = trim($allValues[0]['phpgwaccountstatus'][0]); 
    9999                                $this->data['expires']           = $allValues[0]['phpgwaccountexpires'][0]; 
Note: See TracChangeset for help on using the changeset viewer.