connection problems

Brian Hawley brian at walton-thomas.com
Thu Nov 16 10:41:31 GMT 2000


I'm running a Redhat Linux 6.1 server with Samba 2.0.7 and 7 Win95/98 
clients connected through a brand new 10/100 switch.  We thought that 
the problem was being caused by too much traffic for our old hub to 
handle but the the switch has had no effect.

My users have been having a lot of trouble logging in and mapping 
Samba shares on Windows 9x. (we map the /server/homes directory to 
p: and /server/docs directory to z: with "net use p: \\server\homes 
/yes")

If everyone logs on at relatively the same time (which they do) only 
the first person to log on gets their mappings (sometimes).  Everyone 
else fails.  The problem is inconsistent.  Sometimes no one gets a 
drive mapping.  Sometimes a couple people get one mapping, etc.

The win9x machines are set to share-level access control, not logging 
onto a WinNT domain, quick logon, primary network logon is Windows 
logon, all set to 10 Mbps half-duplex, subnet 255.255.255.0, Wins 
server points to the server, gateway points to the server, dns host 
is user name, domain is our isp, domain servers point to our isp, 
workgroup is "workgroup".

The server is registering on the switch as 100 Mbps full-duplex.  I 
don't know if that makes a difference.

<smb.conf>
[global]
workgroup = WORKGROUP
netbios name = POWEREDGE
server string = POWEREDGE
hosts allow = 192.168.1.     127.
printcap name = /etc/printcap
load printers = yes
guest account = nobody
log file = /var/log/samba/log.%m   
max log size = 50
security = user
encrypt passwords = yes
password level = 0
smb passwd file = /etc/smbpasswd     
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192  
local master = yes
os level = 65  
domain master = no
preferred master = no
domain logons = no
name resolve order = wins lmhosts bcast
wins support = yes
dns proxy = no   
share modes = yes
locking = yes
create mask = 0777
force create mode = 0777
directory mask = 0777
force directory mode = 0777
[homes]
   comment = Home Directories
   browseable = yes
   writable = yes
   read only = no   
[public]
   comment = Public
   path = /public
   read only = no
   writable = yes
   public = yes
   create mode = 0775    
[docs]
   comment = docs
   path = /public/docs
   public = yes
   writable = yes
   create mode = 0775  
<end of smb.conf>

selected lines of <log.user>
[2000/11/15 16:40:16, 0] lib/util_sock.c:write_socket_data(537)
  write_socket_data: write failure. Error = Broken pipe
[2000/11/15 16:40:16, 0] lib/util_sock.c:write_socket(563)
  write_socket: Error writing 4 bytes to socket 7: ERRNO = Broken pipe
[2000/11/15 16:40:16, 0] lib/util_sock.c:send_smb(751)
  Error writing 4 bytes to client. -1. Exiting 
<end log.user>

selected lines of <log.smb>
[2000/11/16 08:16:34, 1] lib/util_sock.c:client_name(997)
  Gethostbyaddr failed for 192.168.1.99   
end <log.smb>




More information about the samba mailing list