samba 2.0 troubles
I'm having problems with samba 2.0 (the .deb in potato) that I was hoping
someone could help me with.
My win95 box cannot be seen by smbclient, and my linux box cannot be seen
by my win95 box. Both can ping each other, however, so I don't think it's
an ether problem.
odin@bolverk:[~]$ smbclient -N -L localhost
Added interface ip=0.0.0.0 bcast=0.255.255.255 nmask=255.0.0.0
Domain=[ASGARD] OS=[Unix] Server=[Samba 2.0.2]
Sharename Type Comment
--------- ---- -------
tmp Disk Temporary file space
IPC$ IPC IPC Service (Samba Server)
lp Printer Generic dot-matrix printer entry
Server Comment
--------- -------
BOLVERK Samba Server
FRIGG Printer
Workgroup Master
--------- -------
ASGARD FRIGG
Why is my samba box not the master? (I've got my smb.conf attached later)
btw, FRIGG isn't a printer, but I would like to have it serve a printer
which explains the Comment field.
odin@bolverk:[~]$ smbclient -N -L 192.168.1.30
Added interface ip=0.0.0.0 bcast=0.255.255.255 nmask=255.0.0.0
session request to 192.168.1.30 failed
session request to *SMBSERVER failed
odin@bolverk:[~]$ ping 192.168.1.30
PING 192.168.1.30 (192.168.1.30): 56 data bytes
64 bytes from 192.168.1.30: icmp_seq=0 ttl=32 time=4.0 ms
64 bytes from 192.168.1.30: icmp_seq=1 ttl=32 time=3.1 ms
my linux box (192.168.1.1) does not show up in the win95 browse window.
Here's the non-comment parts of my smb.conf:
[global]
workgroup = ASGARD
server string = Samba Server
load printers = yes
guest account = nobody
log file = /var/log/samba/log.%m
max log size = 50
security = user
socket options = TCP_NODELAY
local master = yes
preferred master = yes
domain logons = yes
dns proxy = no
[homes]
comment = Home Directories
browseable = no
writable = yes
[printers]
comment = All Printers
path = /usr/spool/samba
browseable = no
guest ok = no
writable = no
printable = yes
[tmp]
comment = Temporary file space
broseable = yes
path = /tmp
read only = no
public = yes
So in an smbclient -N -L localhost, I should see tmp shared as well as
some printers, and shouldn't my servername come up and workgroup name?
In my /usr/src/linux/.config:
CONFIG_SMB_FS=y
CONFIG_SMB_WIN95=y
root@bolverk:[/usr/src/linux]# uname -a
Linux bolverk 2.2.1 #3 Sun Feb 7 13:52:40 EST 1999 i586 unknown
In Windoze, neither Start>>Run>>\\bolverk or Start>>Run>>\\192.168.1.1
work, but Network Neighborhood lists FRIGG and only FRIGG.
I think this has something to do with my samba server not being the master
browser, but why is it not? Shouldn't those lines in the smb.conf ensure
the samba server being master browser?
When I set LM Announce = Yes and Browse Master = Disabled in Win95, the
smbclient output looks the same, but FRIGG no-longer shows up in the
network neighborhood window. (From the default Browse Master = Automatic)
Any help would be greatly appreciated.
Thanks in Advance.
-Dano
Reply to: