[sork] Password change warning

Juan Asensio Sánchez okelet at gmail.com
Mon Jul 28 16:51:27 UTC 2008


Hi

I have just installed passwd module and configured to work with a
SMBLDAP backend:

==========================================

$backends['smbldap'] = array(
    'name' => 'Servidor de directorio',
    'password policy' => array(
        'minLength' => 3,
        'maxLength' => 8
    ),
    'driver' => 'smbldap',
    'params' => array(
        'host' => 'localhost',
        'port' => 389,
        'basedn' => 'dc=nutum,dc=local',
        'uid' => 'uid',
        'realm' => '',
        'encryption' => 'crypt',
        'tls' => false,

        'lm_attribute' => 'sambaLMPassword',
        'nt_attribute' => 'sambaNTPassword',
        'pw_set_attribute' => 'sambaPwdLastSet',
        'pw_expire_attribute' => 'sambaPwdMustChange',
        'pw_expire_time' => 180,
    )
);

==========================================

But everytime I change the password I get this warning:

==========================================

Warning: Missing argument 2 for Passwd_Driver_smbldap::_lookupdn(),
called in /var/www/horde/passwd/lib/Driver/ldap.php on line 145 and
defined in /var/www/horde/passwd/lib/Driver/smbldap.php on line 141

Warning: Cannot modify header information - headers already sent by
(output started at /var/www/horde/passwd/lib/Driver/smbldap.php:141)
in /var/www/horde/passwd/templates/common-header.inc on line 4

Warning: Cannot modify header information - headers already sent by
(output started at /var/www/horde/passwd/lib/Driver/smbldap.php:141)
in /var/www/horde/passwd/templates/common-header.inc on line 5

==========================================

Although the password is changed correctly. Any idea about why am I
getting this error? Using CVS version passwd-HEAD-2008-07-27.tar.gz.

Thanks in advance.


More information about the sork mailing list