Home
last modified time | relevance | path

Searched refs:maxPwdAge (Results 1 – 1 of 1) sorted by relevance

/dokuwiki/lib/plugins/authad/adLDAP/classes/
H A DadLDAPUsers.php343 // - Domain's maxPwdAge attribute: how long passwords last in the domain
347 $sr = ldap_read($this->adldap->getLdapConnection(), $this->adldap->getBaseDn(), 'objectclass=*', array('maxPwdAge'));
352 $maxPwdAge = $info[0]['maxpwdage'][0];
362 // maxPwdAge is stored as a large integer that represents the number of 100 nanosecond
367 // If the low 32 bits of maxPwdAge are equal to 0 passwords do not expire
371 if (bcmod($maxPwdAge, 4294967296) === '0') {
377 $pwdExpire = bcsub($pwdLastSet, $maxPwdAge);