Not sure why, but now my samba shares are not visible over my LAN, but they are running at boot.
The firewall is configured, runlevels have been set…
I can’t pinpoint when this started, but sometime early this week.
The output from
service nmb status && service smb status
is:
redirecting to systemctl
nmb.service - LSB: Samba NetBIOS naming service over IP
Loaded: loaded (/etc/init.d/nmb)
Active: active (running) since Tue, 21 Feb 2012 08:01:19 -0700; 1h 20min ago
Process: 1666 ExecReload=/etc/init.d/nmb reload (code=exited, status=3/NOTIMPLEMENTED)
Process: 1648 ExecStart=/etc/init.d/nmb start (code=exited, status=0/SUCCESS)
CGroup: name=systemd:/system/nmb.service
└ 1657 /usr/sbin/nmbd -D -s /etc/samba/smb.conf
smb.service - LSB: Samba SMB/CIFS file and print server
Loaded: loaded (/etc/init.d/smb)
Active: active (running) since Tue, 21 Feb 2012 08:01:14 -0700; 1h 20min ago
Process: 1676 ExecReload=/etc/init.d/smb reload (code=exited, status=0/SUCCESS)
Process: 1481 ExecStart=/etc/init.d/smb start (code=exited, status=0/SUCCESS)
CGroup: name=systemd:/system/smb.service
├ 1507 /usr/sbin/smbd -D -s /etc/samba/smb.conf
└ 1514 /usr/sbin/smbd -D -s /etc/samba/smb.conf
If I navigate to smb://192.168.0.1 it says “Timeout on server 192.168.0.1” and doesn’t load anything.
Here is my smb.conf file contents:
# smb.conf is the main Samba configuration file. You find a full commented# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the
# samba-doc package is installed.
# Date: 2012-02-02
[global]
workgroup = CAMERONECT
netbios name = alien
name resolve order = bcast host lmhosts wins
passdb backend = tdbsam
printing = cups
printcap name = cups
printcap cache time = 750
cups options = raw
use client driver = yes
server string = ""
map to guest = Bad User
include = /etc/samba/dhcp.conf
usershare allow guests = Yes
usershare max shares = 100
usershare owner only = False
local master = yes
os level = 33
[homes]
comment = Home Directories
valid users = %S, %D%w%S
browseable = No
read only = No
inherit acls = Yes
## Share disabled by YaST
# [profiles]
# comment = Network Profiles Service
# path = %H
# read only = No
# store dos attributes = Yes
# create mask = 0600
# directory mask = 0700
## Share disabled by YaST
# [users]
# comment = All users
# path = /home
# read only = No
# inherit acls = Yes
# veto files = /aquota.user/groups/shares/
## Share disabled by YaST
# [groups]
# comment = All groups
# path = /home/groups
# read only = No
# inherit acls = Yes
[printers]
comment = All Printers
path = /var/tmp
printable = Yes
create mask = 0600
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin root
force group = ntadmin
create mask = 0664
directory mask = 0775
[smb]
comment = smb public folder for alien
path = /home/saultdon/smb
guest ok = yes
It’s not until I run
rcnmb restart && rcsmb restart
that I can navigate the shares and they show up.
System info:
openSUSE 12.1 x64, KDE 4.8.00, Linux 3.1.9-1.4
Samba 3.6.3-89.1-2761