PDA

View Full Version : SAMBA ISSUE no WORKGROUP


skinnyquiver
2008-08-09, 12:43 PM CDT
I have had a samba server running for some time but my workgroup browsing has been broken.

Here is my samba config.

[global]
security = share
local master = yes
server string = fileserver
dns proxy = yes
os level = 99
wins support = yes
name resolve order = wins lmhosts hosts bcast
domain master = yes
preferred master = yes
netbios name = "fileserver"
workgroup = SKINNYS

[fileserver]
path = /export
read only = No
guest ok = Yes
force user = nobody

[fileserver2]
path = /export2
read only = No
guest ok = Yes
force user = nobody

--Here is the testparm config --

[root@Fileserver samba]# testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[fileserver]"
Processing section "[fileserver2]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

[global]
workgroup = SKINNYS
netbios name = "FILESERVER"
server string = fileserver
security = SHARE
name resolve order = wins lmhosts hosts bcast
os level = 99
preferred master = Yes
domain master = Yes
wins support = Yes

[fileserver]
path = /export
force user = nobody
read only = No
guest ok = Yes

[fileserver2]
path = /export2
force user = nobody
read only = No
guest ok = Yes

As you can see i am not using AD or anything like that.
My fileserver is on 192.168.10.10

I search for the domain master and get nothing
skinny@Skinnyco:~$ nmblookup -M ''
querying on 192.168.10.255
name_query failed to find name #1d

But i can use konqueror and browse \\192.168.10.10 as well as \\fileserver

So it appears that the MS Workgroup browsing function is not working

[root@Fileserver samba]# netstat -l
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 *:5801 *:* LISTEN
tcp 0 0 *:netbios-ssn *:* LISTEN
tcp 0 0 *:42091 *:* LISTEN
tcp 0 0 *:5901 *:* LISTEN
tcp 0 0 *:sunrpc *:* LISTEN
tcp 0 0 *:6001 *:* LISTEN
tcp 0 0 *:microsoft-ds *:* LISTEN
tcp 0 0 *:http *:* LISTEN
tcp 0 0 *:6001 *:* LISTEN
tcp 0 0 *:ssh *:* LISTEN
tcp 0 0 *:https *:* LISTEN
udp 0 0 *:904 *:*
udp 0 0 *:openvpn *:*
udp 0 0 *:38851 *:*
udp 0 0 *:bootpc *:*
udp 0 0 *:50011 *:*
udp 0 0 *:mdns *:*
udp 0 0 *:sunrpc *:*
udp 0 0 *:884 *:*
udp 0 0 10.69.69.1:ntp *:*
udp 0 0 Fileserver:ntp *:*
udp 0 0 localhost.localdomain:ntp *:*
udp 0 0 *:ntp *:*
udp 0 0 fe80::250:daff:fe61:ntp *:*
udp 0 0 localhost6.localdomain6:ntp *:*
udp 0 0 *:ntp *:*

[root@Fileserver samba]# service iptables status
iptables: Firewall is not running.

skinnyquiver
2008-08-09, 12:48 PM CDT
Changed os level to 255 and still got the same result

skinnyquiver
2008-08-09, 01:23 PM CDT
Restarted nmb service and everything came up

marcrblevins
2008-08-09, 03:10 PM CDT
You found the fix alright. But is it set to start at boot time?

Start your terminal:

su -
chkconfig nmb on
chkconfig smb on

Now samba would start when your rig is booted.

marcrblevins
2008-08-09, 03:11 PM CDT
Skinnyquiver,
Welcome to Fedora!