Samba issue
Scott McKean
scott at epochlabs.com.au
Wed Oct 10 11:36:52 BST 2007
Do you have other machines on the network sharing files?
Do you have any other machines on the network that may be acting as a
'server' (domain controller, etc)?
Do ALL of the shares stop working or only certain shares?
Could you please post a copy of your logs, /var/log/samba/nmbd.log
and /var/log/samba/smbd.log if the files are massive just around the
times you notice the files stop sharing.
Cheers,
Scott McKean
On Wed, 2007-10-10 at 20:18 +1000, Blindraven wrote:
> I have this strange problem where Samba just decides to stop sharing
> my files every now and then, for no particular reason.
> I have a bunch of files on a separate drive shared for the network and
> no matter what I do its just pop-luck when it pops up and starts
> working again (in other words, sudo /etc/init.d/samba restart does
> nothing.)
>
> this is my smb.conf
>
>
> # Samba config file created using SWAT
> # from 127.0.0.1 (127.0.0.1)
> # Date: 2007/09/29 20:14:16
>
> [global]
> workgroup = MSHOME
> server string = %h server (Samba, Ubuntu)
> security = SHARE
> obey pam restrictions = Yes
> passdb backend = tdbsam
> passwd program = /usr/bin/passwd %u
> passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew
> \sUNIX\spassword:* %n\n *password\supdated\ssuccessfully* .
> username map = /etc/samba/smbusers
> syslog = 0
> log file = /var/log/samba/log.%m
> max log size = 1000
> dns proxy = No
> panic action = /usr/share/samba/panic-action %d
> invalid users = root
>
> wins support = no
> [homes]
> comment = Home Directories
> valid users = %S
> read only = No
> browseable = No
>
> [printers]
> comment = All Printers
> path = /var/spool/samba
> create mask = 0700
> printable = Yes
> browseable = No
>
> [print$]
> comment = Printer Drivers
> path = /var/lib/samba/printers
>
> [Movies]
> path = /media/sda1/Movies
> guest ok = Yes
>
> available = yes
> browsable = yes
> public = yes
> writable = yes
> [Music]
> path = /media/sda1/Music
> guest ok = Yes
>
> available = yes
> browsable = yes
> public = yes
> writable = no
> [Series]
> path = /media/sda1/Series
> guest ok = Yes
>
> available = yes
> browsable = yes
> public = yes
> writable = no
> [Games]
> path = /media/sda1/Games
> guest ok = Yes
>
> available = yes
> browsable = yes
> public = yes
> writable = no
> [Applications]
> path = /media/sda1/Applications
> guest ok = Yes
>
> available = yes
> browsable = yes
> public = yes
> writable = no
> [Anime]
> path = /media/disk/Anime
> guest ok = Yes
> available = no
> browsable = no
> public = no
> writable = no
>
>
>
> --
> When one burns ones bridges, what a very nice fire it makes.
More information about the ubuntu-au
mailing list