NT and 98 lock ups when accessing samba shares

Mike Knoll knollm at lafcol.lafayette.edu
Thu Feb 25 05:30:42 GMT 1999


I get the following errors in log.smb:

[1999/02/24 17:02:44, 1] lib/util_sock.c:client_name(810)
  Gethostbyaddr failed for <CLIENTs IP>
[1999/02/24 17:02:44, 0] lib/util_sock.c:write_data(407)
  write_data: write failure. Error = Broken pipe
[1999/02/24 17:02:44, 0] lib/util_sock.c:write_socket(191)
  write_socket: Error writing 4 bytes to socket 6: ERRNO = Broken pipe
[1999/02/24 17:02:44, 0] lib/util_sock.c:send_smb(568)
  Error writing 4 bytes to client. -1. Exiting


The client's IP does resolve.  smbclient \\\\<client's name>\\<share>
works.  The client will lock up explorer, and never recover, during
browsing.  If I go to "map net drive", and map the share, it works, but
ocationally will lock up on disconnecting the share.

My config is included.  The idea is to require the username/password for
the unix box to share the home dirs, home dirs should not show up when
browsed.  The ftp directory should show up when browsed, and should only
be accessibly by guest.

The errors occure in both 98 and NT.  I have Samba 2.0.2 running on a
FreeBSD 3.1 box.  NT 4.0 SP4, and 98 with all patches.  I have tried it on
multiple NT boxes.

The box will show up in network neighborhood.  I am running samba as a
daemon.

Any help would be great, I have no idea where to go with this.

[global]
#   socket options = TCP_NODELAY
   netbios name = <name>
   workgroup = <workgroup>
   server string = <string>

   security = user
   encrypt passwords = yes
   guest account = ftp
   map to guest = Bad User

   load printers = no


#============================== Share Definitions
=========================

[homes]
   comment = Home Directories
   browseable = no
   writable = yes
   invalid users = ftp

[ftp]
   comment = ftp stuff
   path = /home/ftproot
   public = yes
   guest only = yes
   read only = yes
   browseable = yes



More information about the samba mailing list