Package: smbldap-tools
Version: 0.9.4-1
Severity: normal

When defaultMaxPasswordAge commented out,
samba passwords changed successfully,
but userPassword failed to change.

% sudo /usr/sbin/smbldap-passwd ldapuser
Changing UNIX and samba passwords for ldapuser
New password:
Retype new password:
Use of uninitialized value $config{"defaultMaxPasswordAge"} in string at 
/usr/sbin/smbldap-passwd line 277, <STDIN> line 2.
Failed to modify UNIX password: shadowMax: value #0 invalid per syntax at 
/usr/sbin/smbldap-passwd line 285, <STDIN> line 2.
%

In /usr/sbin/smbldap-passwd,
checking defined $config{defaultMaxPasswordAge} when changing smb passwords,
but updating 'userPassword' field uses $config{defaultMaxPasswordAge}
without checking.

-- System Information:
Debian Release: 5.0.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages smbldap-tools depends on:
ii  libcrypt-smbhash-perl    0.12-2          generate LM/NT hash of a password 
ii  libdigest-sha1-perl      2.11-2+b1       NIST SHA-1 message digest algorith
ii  libio-socket-ssl-perl    1.16-1+lenny1   Perl module implementing object or
ii  libnet-ldap-perl         1:0.36-1        A Client interface to LDAP servers
ii  libunicode-maputf8-perl  1.11-2          Perl module for conversing between
ii  perl                     5.10.0-19lenny2 Larry Wall's Practical Extraction 

smbldap-tools recommends no packages.

smbldap-tools suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to