Package: samba-common Version: 3.0.22-1 Severity: normal testparm finds badly formed line (+########## Domains ###########) in configuration file on fresh installed samba-common (smb.conf).
debian:~# ls /etc/samba/smb.conf ls: /etc/samba/smb.conf: No such file or directory debian:~# aptitude search ~isamba debian:~# LC_ALL=C aptitude install samba-common Reading package lists... Done Building dependency tree... Done Reading extended state information Initializing package states... Done Reading task descriptions... Done Building tag database... Done The following NEW packages will be installed: samba-common 0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0B/2209kB of archives. After unpacking 5288kB will be used. Writing extended state information... Done Preconfiguring packages ... Selecting previously deselected package samba-common. (Reading database ... 94545 files and directories currently installed.) Unpacking samba-common (from .../samba-common_3.0.22-1_i386.deb) ... Setting up samba-common (3.0.22-1) ... debian:~# ls /etc/samba/smb.conf /etc/samba/smb.conf debian:~# testparm Load smb config files from /etc/samba/smb.conf params.c:Parameter() - Ignoring badly formed line in configuration file: +########## Domains ########### Processing section "[homes]" Processing section "[printers]" Processing section "[print$]" Loaded services file OK. ERROR: lock directory /var/run/samba does not exist ERROR: pid directory /var/run/samba does not exist WARNING: passdb expand explicit = yes is deprecated Server role: ROLE_STANDALONE Press enter to see a dump of your service definitions debian:~# egrep -v "^#|^;|^$" /etc/samba/smb.conf | grep -A3 -B3 Domains 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* . +########## Domains ########### socket options = TCP_NODELAY [homes] comment = Home Directories debian:~# just a typo? -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.15-1-686 Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8) Versions of packages samba-common depends on: ii debconf [debc 1.5.0 Debian configuration management sy ii libc6 2.3.6-7 GNU C Library: Shared libraries ii libcomerr2 1.38+1.39-WIP-2005.12.31-1 common error description library ii libkrb53 1.4.3-6 MIT Kerberos runtime libraries ii libldap2 2.1.30-13 OpenLDAP libraries ii libpam-module 0.79-3.1 Pluggable Authentication Modules f ii libpopt0 1.7-5 lib for parsing cmdline parameters samba-common recommends no packages. -- debconf information: samba-common/encrypt_passwords: true samba-common/dhcp: false * samba-common/workgroup: WORKGROUP samba-common/codepage: samba-common/character_set: samba-common/do_debconf: true -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]