LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-31-2006, 07:25 AM   #1
lowebb
Member
 
Registered: Aug 2005
Location: Ireland
Distribution: Ubuntu, Ubuntu, Ubuntu
Posts: 119

Rep: Reputation: 15
samba stopped working


I'm using Samba as a file share across a internal LAN. I was happily transferring files yesterday and now today I can no longer see the shared directories, the required directories are still shared in the smb.conf and I have restarted samba a dozen times to no avail. I cannot even see the shared directories if I am on the samba server itself.

How do I run further checks or get more information so I can debug the ****en thing, its really ****ing me off.

My smb.conf

*************************************************8
#
# Sample configuration file for the Samba suite for Debian GNU/Linux.
#
#
# 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
[global]

part of
workgroup = ENTERPRISE

; wins support = no

; wins server = w.x.y.z

; name resolve order = lmhosts host wins bcast

interfaces = 127.0.0.0/8 eth0

; bind interfaces only = true



log file = /var/log/samba/log.%m

max log size = 1000

; syslog only = no

syslog = 0

panic action = /usr/share/samba/panic-action %d


; security = user
username map = /etc/samba/smbusers

encrypt passwords = true

passdb backend = tdbsam

obey pam restrictions = yes

; guest account = nobody
invalid users = root

; unix password sync = no

; pam password change = no

; domain logons = yes
; logon path = \\%N\profiles\%U
; logon path = \\%N\%U\profile

; logon drive = H:
; logon home = \\%N\%U


; add user script = /usr/sbin/adduser --quiet --disabled-password --

; include = /home/samba/etc/smb.conf.%m

; message command = /bin/sh -c '/usr/bin/linpopup "%f" "%m" %s; rm %s' &

; domain master = auto

; idmap uid = 10000-20000
; idmap gid = 10000-20000
; template shell = /bin/bash

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

; valid users = %S

; writable = no

; create mask = 0600

; directory mask = 0700

;[netlogon]
; comment = Network Logon Service
; path = /home/samba/netlogon
; guest ok = yes
; writable = no
; share modes = no

;[profiles]
; comment = Users profiles
; path = /home/samba/profiles
; guest ok = no
; browseable = no
; create mask = 0600
; directory mask = 0700

wins support = no
[printers]
comment = All Printers
browseable = no
path = /tmp
printable = yes
public = no
writable = no
create mode = 0700

; write list = root, @ntadmin
[vfat_brendan]
path = /media/vfat
available = yes
browseable = yes
public = yes
writable = no

[public]
comment = Public Folder
path = /home/public
public = yes
writable = no
create mask = 0777
directory mask = 0777
force user = nobody
force group = nogroup
available = no
browseable = no


*************************************************
The logs dont show any errors so I'm lost. ANy help very much appreciated
 
Old 07-31-2006, 07:37 AM   #2
prozac
Member
 
Registered: Oct 2005
Location: Australia
Distribution: slackware 12.1
Posts: 753

Rep: Reputation: 32
check if your configuration is allright with syntax with the 'testparm' tool available with samba. do a check with iptables rules. see if you can get some clue.
 
Old 07-31-2006, 07:47 AM   #3
otchie1
Registered User
 
Registered: Apr 2004
Posts: 560

Rep: Reputation: 30
sometimes (often) I have to explicitly tell konqueror where the SAMBA server is via an IP'd smb address in the address bar before it even recognises such exists. Firefox never recognises smb addresses.

Isn't 127.0.0.1 on lo rather than eth0? Wouldn't that limit samba access to localhost via eth0 only?

There should be a hosts allow section global,

Code:
hosts allow = 192.168.0. 127.
lets everyone on local host and local subnet in.
 
Old 07-31-2006, 07:59 AM   #4
isuck@linux
Member
 
Registered: Jun 2006
Distribution: messed up debian
Posts: 250

Rep: Reputation: 30
I believe Otchie1 is right. You are only authorizing your localhost there. You would have to allow other hosts in your net. Now, I'm wondering how did you get it to work before if nothing has changed.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Hold on, Samba stopped working... WorldBuilder Linux - Networking 5 03-21-2007 08:06 PM
Samba stopped working after FC3 to FC4 upgrade HomeBrewer Linux - Networking 18 08-29-2006 02:13 AM
SAMBA client stopped windows browsing from working - SuSE 9.1 mikemrh9 Linux - Networking 7 08-18-2004 01:38 PM
It stopped working. UmneyDurak Fedora 8 08-15-2004 02:41 PM
My X just stopped working??? freeindy Linux - Newbie 4 11-30-2002 10:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration