[Tickets #2756] NEW: shadowLastChange and shadowMin LDAP attributes not work

bugs@bugs.horde.org bugs at bugs.horde.org
Mon Oct 10 17:25:40 PDT 2005


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=2756
-----------------------------------------------------------------------
 Ticket             | 2756
 Created By         | david at tmv.gov.tw
 Summary            | shadowLastChange and shadowMin LDAP attributes not work
 Queue              | Passwd
 Version            | 3.0
 State              | Unconfirmed
 Priority           | 3. High
 Type               | Bug
 Owners             | 
-----------------------------------------------------------------------


david at tmv.gov.tw (2005-10-10 17:25) wrote:

The shadowLastChange didn't wrote after passwd was changed successfully.And
the i still can change my ldap'passwd in the same day again even shadowMin
was set to 7.

Here are my ldap's attributes about shadow:
===================================
shadowLastChange: 13056
shadowFlag: 134544124
shadowInactive: -1
shadowMin: 7
shadowMax: -1
shadowWarning: 7

And here are my backend.conf :
$backends['ldap'] = array(
 'name' => 'Example LDAP server',
    'preferred' => 'localhost',
    'password policy' => array(
        'minLength' => 6,
        //'maxLength' => 8
        'minUpper' => 1,
        'minLower' => 1,
        'minNumeric' => 2,
        'minAlpha' => 3
    ),
    'driver' => 'ldap',
    'params' => array(
        'host' => 'localhost',
        'port' => 389,
        'basedn' => 'dc=example,dc=com',
        'uid' => 'uid',
        // this will be appended to the username when looking for the
userdn.
        'realm' => '',
        'encryption' => 'ssha',
        // make sure the host == cn in the server certificate
        'tls' => false
    )
);


David





More information about the bugs mailing list