[Pkg-samba-maint] Bug#459941: samba: security=share does not work any more

Francesco Potorti` Potorti at isti.cnr.it
Wed Jan 9 17:49:46 UTC 2008


Package: samba
Version: 3.0.28-1
Severity: normal

This version shows a regression with respect to 3.0.24-6etch9.  Even
version 3.0.26 that I run on Ubuntu does not exhibit this problem.

The problem is that the setting
 security = share
does not work with Microsoft Windows 98 for shares requesting a
password.  Samba keeps saying that the password is wrong.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'testing-proposed-updates')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=it_IT at euro (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/bash

Versions of packages samba depends on:
ii  adduser               3.105              add and remove users and groups
ii  debconf [debconf-2.0] 1.5.17             Debian configuration management sy
ii  libacl1               2.2.45-1           Access control list shared library
ii  libattr1              1:2.4.39-1         Extended attribute shared library
ii  libc6                 2.7-5              GNU C Library: Shared libraries
ii  libcomerr2            1.40.3-1           common error description library
ii  libcupsys2            1.3.5-1            Common UNIX Printing System(tm) - 
ii  libgnutls13           2.0.4-1            the GNU TLS library - runtime libr
ii  libkrb53              1.6.dfsg.3~beta1-2 MIT Kerberos runtime libraries
ii  libldap2              2.1.30.dfsg-13.5   OpenLDAP libraries
ii  libpam-modules        0.99.7.1-5         Pluggable Authentication Modules f
ii  libpam-runtime        0.99.7.1-5         Runtime support for the PAM librar
ii  libpam0g              0.99.7.1-5         Pluggable Authentication Modules l
ii  libpopt0              1.10-3             lib for parsing cmdline parameters
ii  logrotate             3.7.1-3            Log rotation utility
ii  lsb-base              3.1-24             Linux Standard Base 3.1 init scrip
ii  procps                1:3.2.7-5          /proc file system utilities
ii  samba-common          3.0.28-1           Samba common files used by both th
ii  update-inetd          4.27-0.6           inetd.conf updater
ii  zlib1g                1:1.2.3.3.dfsg-8   compression library - runtime

samba recommends no packages.

-- debconf information:
  samba/tdbsam: false
  samba/generate_smbpasswd: true
  samba/run_mode: daemons

===File /etc/samba/smb.conf=================================
[global]
   workgroup = WNLAB
   server string = %h server
   dns proxy = no
   log file = /var/log/samba/log.%m
   max log size = 1000
   syslog = 0
   panic action = /usr/share/samba/panic-action %d
   encrypt passwords = true
   passdb backend = tdbsam
   obey pam restrictions = yes
   invalid users = root
   passwd program = /usr/bin/passwd %u
   passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n *password\supdated\ssuccessfully* .
   socket options = TCP_NODELAY
[homes]
   comment = Home Directories
   browseable = no
   writable = no
   create mask = 0700
   directory mask = 0700
   valid users = %S
[printers]
   comment = All Printers
   browseable = no
   path = /var/spool/samba
   printable = yes
   public = no
   writable = no
   create mode = 0700
[print$]
   comment = Printer Drivers
   path = /var/lib/samba/printers
   browseable = yes
   read only = yes
   guest ok = no
[global]
   workgroup = WNLAB
   server string = %h server
   dns proxy = no
   log file = /var/log/samba/log.%m
   max log size = 1000
   syslog = 0
   panic action = /usr/share/samba/panic-action %d
   encrypt passwords = true
   passdb backend = tdbsam
   obey pam restrictions = yes
   invalid users = root
   passwd program = /usr/bin/passwd %u
   passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n *password\supdated\ssuccessfully* .
   socket options = TCP_NODELAY
[homes]
   comment = Home Directories
   browseable = no
   writable = no
   create mask = 0700
   directory mask = 0700
   valid users = %S
[printers]
   comment = All Printers
   browseable = no
   path = /var/spool/samba
   printable = yes
   public = no
   writable = no
   create mode = 0700
[print$]
   comment = Printer Drivers
   path = /var/lib/samba/printers
   browseable = yes
   read only = yes
   guest ok = no
[global]
   security = share
   guest account = cng
[tmp]
   comment = Temporary directory
   create mask = 0775
   directory mask = 0775
   path = /var/nettmp
   writable = yes
   public = yes
[cng]
   comment = Computer Networks Group
   create mask = 0775
   directory mask = 0775
   delete veto files = yes
   path = /home/cng/pub
   valid users = cng
   writable = yes
============================================================





More information about the Pkg-samba-maint mailing list