[Samba] Network lockups with win98 and samba 3

Gary Newcombe gary at pattersonsoftware.com
Thu Aug 3 13:26:19 GMT 2006


Hi all,
 
This is a new install on a network comprised of win98 and xp machines. I'm a
relative newbie to samba and getting some errors and problems. I would much
appreciate some advice on my setup.
 
The setup is samba-3.0.23,1 running on FreeBSD 6.1-STABLE as a windows
server replacement and with clients mostly running dos POS software on win98
machines and other dos and windows software on win98 and xp machines - no
windows servers.
 
As there was no real user/password security in the place, I tried to set up
samba using nobody/anon access as much as possible so that we could just
drop the server in. The windows machines are all set up to use the samba
server for wins resolution through dhcp as well as dns etc.
 
The main problem is that the windows 98 machines keep hard locking and need
a hard reset (usually) to get the network back. To begin with, I had oplocks
set to default on. The winxp machines were ok but the win98 machines were
locking every 3 to 4 transactions. They would also freeze after an extended
period left idle. This is also after updating them all. Disabling oplocks
seems to have helped, but there are still problems, mostly like the examples
following.
 
Any comments and suggestions much appreciated.
 
Gary
 
[log excerpts]========
 
[2006/08/03 22:54:25, 2] smbd/open.c:open_file(351)
  nobody opened file BMDATA/CONNECT.BMD read=Yes write=Yes (numopen=1)
[2006/08/03 22:54:26, 2] smbd/close.c:close_normal_file(344)
  nobody closed file BMDATA/CONNECT.BMD (numopen=0)
[2006/08/03 22:54:26, 2] lib/access.c:check_access(324)
  Allowed connection from  (10.0.1.6)
[2006/08/03 22:54:26, 2] auth/auth.c:check_ntlm_password(319)
  check_ntlm_password:  Authentication for user [gary] -> [gary] FAILED with
error NT_STATUS_NO_SUCH_USER
[2006/08/03 22:54:26, 2] auth/auth.c:check_ntlm_password(319)
  check_ntlm_password:  Authentication for user [nobody] -> [nobody] FAILED
with error NT_STATUS_NO_SUCH_USER
[2006/08/03 22:54:26, 1] smbd/service.c:make_connection_snum(941)
  10.0.1.6 (10.0.1.6) connect to service bmdata initially as user nobody
(uid=65534, gid=65534) (pid 26110)
[2006/08/03 22:54:26, 2] smbd/reply.c:reply_tcon_and_X(711)
  Serving bmdata as a Dfs root
[2006/08/03 22:54:28, 2] smbd/open.c:open_file(351)
  nobody opened file BM2004/BMNT.BAT read=Yes write=No (numopen=1)
[2006/08/03 22:54:28, 2] smbd/close.c:close_normal_file(344)
 
log.10.0.0.137:[2006/08/03 12:11:41, 3] smbd/error.c:error_packet(146)
log.10.0.0.137:  error packet at smbd/nttrans.c(647) cmd=162 (SMBntcreateX)
NT_STATUS_OBJECT_PATH_NOT_FOUND

log.nmbd:  load_lmhosts_file: Can't open lmhosts file
/usr/local/etc/lmhosts. Error was No such file or directory

log.nicole:  yield_connection: tdb_delete for name  failed with error Record
does not exist.
 
===========
 
[config]======
[mesh:/usr/local/etc]# testparm
Load smb config files from /usr/local/etc/smb.conf
Processing section "[bmdata]"
Processing section "[public]"
Processing section "[home]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
 
[global]
        netbios name = BMSVR
        server string = BMServer
        interfaces = 10.0.0.0/24, 127.0.0.1
        bind interfaces only = Yes
        security = SHARE
        log level = 2
        log file = /var/log/samba/log.%m
        max log size = 50
        deadtime = 15
        keepalive = 30
        os level = 32
        preferred master = Yes
        domain master = Yes
        wins support = Yes
        kernel oplocks = No
        socket address = 10.0.0.200
        hosts allow = 10.0.0.0/24, 10.0.1.0/24, 127.0.0.1
        nt acl support = No
        oplocks = No
        level2 oplocks = No
 
[bmdata]
        comment = BM Data
        path = /home/samba/bmdata
        read only = No
        create mask = 0644
        guest ok = Yes
 
[public]
        comment = Public Folder
        path = /home/samba/public
        read only = No
        create mask = 0644
        guest ok = Yes
 
[home]
        comment = Home Folders
        path = /home/samba/profiles/%U
        read only = No
        create mask = 0644
        guest ok = Yes

=========
 


More information about the samba mailing list