Problems Browsing

Dan Pupek dnkp at swbell.net
Mon Apr 9 15:15:42 GMT 2001


I have Samba 2.07 on Mandrake 7.2 distro. I am proxying a DSL connection
successfully over Squid. I do not have ipchains running but with all the BS
Mandrake like to pack on it's hard to tell what it's scripts all do. All the
tests with the smbclient on the samba machine work fine. Also all the test
with nmblookup. I have a clean Ping from both ends. When I use smbclient to
view my Win98 machine I can see the shares but it reports no Master or
Workgroup. I can connect to a share on the Win98 box but if I try to browse
or any other operation it gives me protocol error. From the Win98 box I can
do nothing in explorer (browse, mount, etc) from dos I can use net view and
net use. Once I mount a network drive via net use I can browse it but not
reliably. I haven't been able to retreive anything either.
If I try to use nmblookup to see the win98 client it finds it but reports
not being able to determine its netmask.

Here is my smb.conf:

# Samba config file created using SWAT
# from localhost (127.0.0.1)
# Date: 2001/04/05 02:53:08
# Global parameters
[global]
workgroup = WEB_RAT
netbios name = SAMBASVR
netbios aliases = DAN
server string = Dnkp Running Samba Server %v
interfaces = eth1 10.0.0.2 10.0.0.1
bind interfaces only = Yes
security = SHARE
debug level = 3
log file = usr/local/samba/var/log.%m
max log size = 1000
name resolve order = wins lmhosts host
socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
printcap name = lpstat
os level = 65
preferred master = Yes
dns proxy = No
wins proxy = Yes
wins support = Yes
guest account = sambausr
hosts allow = 10.0.0.2 10.0.0.1
printing = cups
print command = /usr/bin/lp -d%p -oraw %s; rm %s
lpq command = /usr/bin/lpstat -o%p
lprm command = /usr/bin/cancel %p-%j
queuepause command = /usr/bin/disable %p
queueresume command = /usr/bin/enable %p
[homes]
comment = Home Directories
path = /export/samba/files
writeable = Yes
guest ok = Yes
[files]
comment = Files
path = /export/samba/files
writeable = Yes
guest ok = Yes
write cache size = 262144
fstype = FAT
[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
guest ok = Yes
printable = Yes
print command = lpr-cups -P %p %s # using cups own drivers (use generic
PostScript on clients).
lpq command = lpstat -o %p
lprm command = cancel %p-%j
[win98]
comment = Windows 98 Installation Files
path = /mnt/winsmall/Win98
guest ok = Yes

Here is a sample of the kind of error I recieve in log.smb:

[2001/04/04 21:50:34, 1] smbd/server.c:main(641)
  smbd version 2.0.7 started.
  Copyright Andrew Tridgell 1992-1998
[2001/04/04 21:56:44, 0] lib/util_sock.c:read_socket_data(477)
  read_socket_data: recv failure for 4. Error = Connection reset by peer
[2001/04/04 21:59:39, 0] lib/util_sock.c:read_socket_data(477)
  read_socket_data: recv failure for 4. Error = Connection reset by peer
[2001/04/04 22:00:23, 0] lib/util_sock.c:read_socket_data(477)
  read_socket_data: recv failure for 4. Error = Connection reset by peer

I cannot see any errors in the log.nmb file

Thanks for any help. Many people have raved about samba but so far it has
been no fun for me.
Dan Pupek

On the Web:
http://www.sunnet.net/dnkp/dan

Email:
megabyte at sunnet.net





More information about the samba mailing list