Received in private. I re-attach the smb.conf file

----- Forwarded message from Mikkel Bundgaard <[EMAIL PROTECTED]> -----

Date: Tue, 08 Nov 2005 07:45:14 +0100
From: Mikkel Bundgaard <[EMAIL PROTECTED]>
To: Christian Perrier <[EMAIL PROTECTED]>
Subject: Re: Bug#337798: samba bug

I have attached my smb.conf and installed samba-dbg

Hmm the problem seems only to be related to winbind now.
/etc/windbind restart

The kernel I use is a selfcompiled one from www.kernel.org. It will be upgraded
to a testing kernel in a near future.


/mikkel



Christian Perrier wrote:

    tags 337798 moreinfo
    thanks

    Quoting Mikkel Bundgaard ([EMAIL PROTECTED]):


        Package: samba
        Version: 3.0.20b-2

        I get this bug when i restart samba using /etc/init.d/samba restart and
        /etc/init.d/winbind restart

        I am only submitting this because im encouraged to do so,but I am of
        course willing to help with more details if necassary.

        I am using Debian Testing with a 2.6.7 kernel.



    I'm puzzled by this. Though it's quite unlikely to be a related
    problem, this is not the standard kernel in testing....



        libc6 Version: 2.3.5-6

        The problem started saturday (this week) after a apt-get dist-upgrade




    installing samba-dbg then reproducing the problem again could be nice.

    Your smb.conf file might help as well....










The Samba 'panic action' script, /usr/share/samba/panic-action,
was called for pid 25525 (/usr/sbin/winbindd).

Below is a backtrace for this process generated with gdb, which shows
the state of the program at the time the error occured.  You are
encouraged to submit this information as a bug report to Debian.  For
information about the procedure for submitting bug reports , please see
http://www.debian.org/Bugs/Reporting or the reportbug(1) manpage.

(no debugging symbols found)
Using host libthread_db library "/lib/tls/libthread_db.so.1".
(no debugging symbols found)
`system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols.
0x401ffb1e in ?? ()
#0  0x401ffb1e in ?? ()
#1  0x402a0ff4 in ?? ()
#2  0x401a52d9 in ?? ()
#3  0x000063b6 in ?? ()
#4  0xbffff5b8 in ?? ()
#5  0x00000000 in ?? ()
#6  0xbffff514 in ?? ()
#7  0x801cd1e8 in ?? ()
#8  0x00000001 in ?? ()
#9  0x00010000 in ?? ()
#10 0x00000000 in ?? ()
#11 0x00000000 in ?? ()
#12 0x00000000 in ?? ()
#13 0x00000000 in ?? ()
#14 0x00000000 in ?? ()
#15 0x00000000 in ?? ()
#16 0x00000000 in ?? ()
#17 0x00000000 in ?? ()
#18 0x00000000 in ?? ()
#19 0x00000000 in ?? ()
#20 0x00000000 in ?? ()
#21 0x00000000 in ?? ()
#22 0x00000000 in ?? ()
#23 0x00000000 in ?? ()
#24 0x00000000 in ?? ()
#25 0x00000000 in ?? ()
#26 0x00000000 in ?? ()
#27 0x00000000 in ?? ()
#28 0x00000000 in ?? ()
#29 0x00000000 in ?? ()
#30 0x00000000 in ?? ()
#31 0x00000000 in ?? ()
#32 0x00000000 in ?? ()
#33 0x00000000 in ?? ()
#34 0x00000000 in ?? ()
#35 0x00000000 in ?? ()
#36 0x00000000 in ?? ()
#37 0x00000000 in ?? ()
#38 0x00000000 in ?? ()
#39 0x00000000 in ?? ()
#40 0x00000000 in ?? ()
#41 0x00000000 in ?? ()
#42 0x07b0aabd in ?? ()
#43 0x00000000 in ?? ()
#44 0x00000000 in ?? ()
#45 0x800a893a in ?? ()
#46 0x801cd1c0 in ?? ()
#47 0x801b3cc4 in ?? ()
#48 0xbffff538 in ?? ()
#49 0x800a8c9e in ?? ()
#50 0x801cd198 in ?? ()
#51 0x00000024 in ?? ()
#52 0xbffff558 in ?? ()
#53 0x800a8cda in ?? ()
#54 0x40296a7c in ?? ()
#55 0x80187a75 in ?? ()
#56 0xbffff568 in ?? ()
#57 0x800b7c82 in ?? ()
#58 0x801cd1e8 in ?? ()
#59 0x00000024 in ?? ()
#60 0xbffff588 in ?? ()
#61 0x800a999b in ?? ()
#62 0x801cd1e8 in ?? ()
#63 0x4017317c in ?? ()
#64 0x40161290 in ?? ()
#65 0x40015ff4 in ?? ()
#66 0x400167f8 in ?? ()
#67 0x400169a4 in ?? ()
#68 0xbffff5b0 in ?? ()
#69 0x4000acba in ?? ()
#70 0x400169a4 in ?? ()
#71 0x40466030 in ?? ()
#72 0x00000001 in ?? ()
#73 0x00000001 in ?? ()
#74 0x00000000 in ?? ()
#75 0x0000050b in ?? ()
#76 0x8001d25d in ?? ()
#77 0x801b3e60 in ?? ()
#78 0x4017317c in ?? ()
#79 0x401a5670 in ?? ()
#80 0xbffff5b4 in ?? ()
#81 0x00000000 in ?? ()
#82 0x00000000 in ?? ()
#83 0x000063b6 in ?? ()
#84 0x401a5189 in ?? ()
#85 0x801b3cc4 in ?? ()
#86 0x801cd1e8 in ?? ()
#87 0xbffff748 in ?? ()
#88 0xbffff6f8 in ?? ()
#89 0x800a29fc in ?? ()
#90 0x801cd1e8 in ?? ()
#91 0x801cd1e8 in ?? ()
#92 0x801865d7 in ?? ()
#93 0x00000602 in ?? ()
#94 0x801b3cc4 in ?? ()
#95 0xbffff60c in ?? ()
#96 0xbffff718 in ?? ()
#97 0x8015483f in ?? ()
#98 0xbffff60c in ?? ()
#99 0xbffff70c in ?? ()
#100 0x4000bfd9 in ?? ()
#101 0x4007cdbc in ?? ()
#102 0x0016124c in ads_build_path ()






#
# Sample configuration file for the Samba suite for Debian GNU/Linux.
#
# $Id: smb.conf,v 1.2.4.6 2002/03/13 18:56:16 peloy Exp $
#
# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options most of which 
# are not shown in this example
#
# Any line which starts with a ; (semi-colon) or a # (hash) 
# is a comment and is ignored. In this example we will use a #
# for commentary and a ; for parts of the config file that you
# may wish to enable
#
# NOTE: Whenever you modify this file you should run the command
# "testparm" to check that you have not many any basic syntactic 
# errors. 
#

#======================= Global Settings =======================

[global]

# Do something sensible when Samba crashes: mail the admin a backtrace
   panic action = /usr/share/samba/panic-action %d
   netbios name = server
#   netbios alias = server
# Change this for the workgroup/NT-domain name your Samba server will part of
   workgroup = Rypevej

bind interfaces only = yes
interfaces = 127.0.0.1, 192.168.1.250


# server string is the equivalent of the NT Description field
   server string = %h server (Samba %v)

server string = Server on rypevejADSL
# If you want to automatically load your printer list rather
# than setting them up individually then you'll need this
;   load printers = yes

# You may wish to override the location of the printcap file
   printcap name = /etc/printcap
   show add printer wizard = false
   use client driver = true

# 'printing = cups' works nicely
   printing = cups

   guest account = nobody
   invalid users = root

# This tells Samba to use a separate log file for each machine
# that connects
   log file = /var/log/samba/log.%m

# Put a capping on the size of the log files (in Kb).
   max log size = 1000

# If you want Samba to log though syslog only then set the following
# parameter to 'yes'. Please note that logging through syslog in
# Samba is still experimental.
;   syslog only = no

# We want Samba to log a minimum amount of information to syslog. Everything
# should go to /var/log/samba/log.{smb,nmb} instead. If you want to log
# through syslog you should set the following parameter to something higher.
   syslog = 0

# "security = user" is always a good idea. This will require a Unix account
# in this server for every user accessing the server. See
# security_level.txt for details.
;   security = user
security = share

# You may wish to use password encryption. Please read ENCRYPTION.txt,
# Win95.txt and WinNT.txt in the Samba documentation. Do not enable this
# option unless you have read those documents
   encrypt passwords = true
   passdb backend = tdbsam guest

# Using the following line enables you to customise your configuration
# on a per machine basis. The %m gets replaced with the netbios name
# of the machine that is connecting
;   include = /home/samba/etc/smb.conf.%m

# Most people will find that this option gives better performance.
# See speed.txt and the manual pages for details
# You may want to add the following on a Linux system:
;         SO_RCVBUF=8192 SO_SNDBUF=8192
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

# --- Browser Control Options ---

# Please _read_ BROWSING.txt and set the next four parameters according
# to your network setup. The defaults are specified below (commented
# out.) It's important that you read BROWSING.txt so you don't break
# browsing in your network!

# set local master to no if you don't want Samba to become a master
# browser on your network. Otherwise the normal election rules apply
   local master = yes

# OS Level determines the precedence of this server in master browser
# elections. The default value should be reasonable
   os level = 255

# Domain Master specifies Samba to be the Domain Master Browser. This
# allows Samba to collate browse lists between subnets. Don't use this
# if you already have a Windows NT domain controller doing this job
   domain master = true

# Preferred Master causes Samba to force a local browser election on startup
# and gives it a slightly higher chance of winning the election
;   preferred master = auto

# --- End of Browser Control Options ---

# Windows Internet Name Serving Support Section:
# WINS Support - Tells the NMBD component of Samba to enable it's WINS Server
   wins support = yes

# WINS Server - Tells the NMBD components of Samba to be a WINS Client
# Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
;   wins server = w.x.y.z

# This will prevent nmbd to search for NetBIOS names through DNS.
   dns proxy = no

# What naming service and in what order should we use to resolve host names
# to IP addresses
;   name resolve order = lmhosts host wins bcast
name resolve order = wins lmhosts host bcast


# Name mangling options
;   preserve case = yes
;   short preserve case = yes

# This boolean parameter controlls whether Samba attempts to sync. the Unix
# password with the SMB password when the encrypted SMB password in the
# /etc/samba/smbpasswd file is changed.
   unix password sync = true

# For Unix password sync. to work on a Debian GNU/Linux system, the following
# parameters must be set (thanks to Augustin Luton <[EMAIL PROTECTED]> for
# sending the correct chat script for the passwd program in Debian Potato).
   passwd program = /usr/bin/passwd %u
   passwd chat = *Enter\snew\sUNIX\spassword:* %n\n 
*Retype\snew\sUNIX\spassword:* %n\n .

# This boolean controls whether PAM will be used for password changes
# when requested by an SMB client instead of the program listed in
# 'passwd program'. The default is 'no'.
   pam password change = yes

# The following parameter is useful only if you have the linpopup package
# installed. The samba maintainer and the linpopup maintainer are
# working to ease installation and configuration of linpopup and samba.
;   message command = /bin/sh -c '/usr/bin/linpopup "%f" "%m" %s; rm %s' &

   obey pam restrictions = yes

# Some defaults for winbind (make sure you're not using the ranges
# for something else.)
;   winbind uid = 10000-20000
;   winbind gid = 10000-20000
;   template shell = /bin/bash

#======================= Share Definitions =======================

#[homes]
#   comment = Home Directories
#   browseable = no

# By default, the home directories are exported read-only. Change next
# parameter to 'yes' if you want to be able to write to them.
   writable = no

# File creation mask is set to 0700 for security reasons. If you want to
# create files with group=rw permissions, set next parameter to 0775.
   create mask = 0700

# Directory creation mask is set to 0700 for security reasons. If you want to
# create dirs. with group=rw permissions, set next parameter to 0775.
   directory mask = 0700

# Un-comment the following and create the netlogon directory for Domain Logons
# (you need to configure Samba to act as a domain controller too.)
;[netlogon]
;   comment = Network Logon Service
;   path = /home/samba/netlogon
;   guest ok = yes
;   writable = no
;   share modes = no

[printers]
   comment = All Printers
   browseable = no
   path = /tmp
   printable = yes
   public = no
   writable = no
   create mode = 0700
   valid users = +netuser

# A sample share for sharing your CD-ROM with others.
;[cdrom]
;   comment = Samba server's CD-ROM
;   writable = no
;   locking = no
;   path = /cdrom
;   public = yes

# The next two parameters show how to auto-mount a CD-ROM when the
#       cdrom share is accesed. For this to work /etc/fstab must contain
#       an entry like this:
#
#       /dev/scd0   /cdrom  iso9660 defaults,noauto,ro,user   0 0
#
# The CD-ROM gets unmounted automatically after the connection to the
#
# If you don't want to use auto-mounting/unmounting make sure the CD
#       is mounted on /cdrom
#
;   preexec = /bin/mount /cdrom
;   postexec = /bin/umount /cdrom

#[temp]
# path = /tmp
# writeable = yes
# guest ok = yes
# public = yes

#[root_access]
# read only = no
# write list = mikkel
# valid users = mikkel
# public = no
# force user = root
# force group = root
# path = /
# browseable = no

[dokumenter]
        path = /home/netuser/%u/documents
        comment = Dokumenter
        valid users = +netuser
        browseable = yes
        writeable = yes


[drev deling]
        valid users = +netuser
        comment = mappe for dokument deling
        browseable = yes
        path = /home/netuser/share
        force user = share
        force group = netuser
        writeable = yes
#        public = yes

[INSTALL]
comment = mappe for installationer og filer
path = /mnt/hdb2/data/pakket
read only = yes
guest ok = no


[UPLOAD]
comment = mappe til fri afbenyttelse fx midlertidig backup etc.
path = /mnt/hdb2/UPLOAD
read only = no
guest ok = yes
guest ok = yes
force user = share
force group = netuser
force create mode = 0755



[diverse]
        comment = mappe for diverse
        path = /mnt/hdb2/data
        valid users = +netuser, sonja, claus, mikkel
        public = no
        read only = no
        write list = +netuser, sonja, claus, mikkel
        force user = share
        force group = netuser
        force create mode = 0755
        force directory mode = 0755

#[http]
#        comment = mappe for dokument deling
#        browseable = yes
#        path = /var/www/
#        write list = mikkel,+netuser
#        force user = misc
#        force group = misc
#        force create mode =0755
#        force directory mode = 0755
#        force user = root
#        force group = root
#        public = yes

Reply via email to