[horde] shadowLastChange does not get updated by Passwd

peter at devries.tv peter at devries.tv
Thu Jun 7 17:55:39 UTC 2007


Sorry if this is posted somewhere else but I'm unable to locate any
documentation outside of what I currently have setup.

conf.php:

// $Horde: passwd/config/conf.xml,v 1.12 2005/10/09 14:48:58 jan Exp $
$conf['menu']['apps'] = array();
$conf['backend']['backend_list'] = 'shown';
$conf['user']['change'] = false;
$conf['user']['refused'] = array('root', 'bin', 'daemon', 'adm', 'lp',
'shutdown', 'halt', 'uucp', 'ftp', 'anonymous', 'nobody', 'httpd',
'operator', 'guest', 'diginext', 'bind', 'cyrus', 'courier', 'games',
'kmem', 'mailnull', 'man', 'mysql', 'news', 'postfix', 'sshd', 'tty',
'www');
$conf['password']['strengthtests'] = true;
$conf['hooks']['full_name'] = false;
$conf['hooks']['default_username'] = false;
$conf['hooks']['username'] = false;
$conf['hooks']['userdn'] = false;
/* CONFIG END. DO NOT CHANGE ANYTHING IN OR BEFORE THIS LINE. */

backends.php

$backends['ldap'] = array(
     'name' => 'LDAP Server',
     'preferred' => '',
     'password policy' => array(
        'minLength' => 6,
        'maxLength' => 18,
        'minClasses' => 3
     ),
     'driver' => 'ldap',
     'params' => array(
        'host' => 'localhost',
        'port' => 389,
        'basedn' => '<filtered',
        'uid' => 'uid',
        'shadowlastchange' => 'shadowLastChange',
        // this will be appended to the username when looking for the
        // userdn.
        'realm' => ',ou=People,<filtered>',
        'encryption' => 'ssha',
        // make sure the host == cn in the server certificate 
	'userdn' => 'uid=' . Auth::getAuth() .  ',<filtered',
        'tls' => false,
    )
);

users are permitted to edit their own passwd (changing passwords works
fine through passwd) and also can change their shadowLastChange field
using ldapmodify.  However I can not get shadowLastChange to be set by
the password module.

Any info would be greatly appreciated.

Thanks,
Peter



More information about the horde mailing list