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

If I have commented 'defaultMaxPasswordAge' in smbldap.conf I get an error
in case using smbldap-populate or smbldap-passwd (including a 
'smbldap-useradd <...> -P <username>'):


pc:/etc/smbldap-tools# smbldap-useradd -a -m -c"Th. Guenther" -g is-ma -P thomas
Changing UNIX and samba passwords for thomas
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.


But in /usr/share/doc/smbldap-tools/examples/smbldap.conf.gz is written:

# Default password validation time (time in days) Comment the next line if
# you don't want password to be enable for defaultMaxPasswordAge days (be
# careful to the sambaPwdMustChange attribute's value)


If 'defaultMaxPasswordAge' is not commented no error message occurs.


regards,
Thomas

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

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.02-1.1   Perl module implementing object or
ii  libnet-ldap-perl              1:0.34-1.1 A Client interface to LDAP servers
ii  libunicode-maputf8-perl       1.11-2     Perl module for conversing between
ii  perl                          5.10.0-10  Larry Wall's Practical Extraction 

smbldap-tools recommends no packages.

-- no debconf information



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

Reply via email to