Win98 Shutdown problems

Alex King alex at milton.king.net.nz
Wed Sep 13 22:08:48 GMT 2000


We have a problem with Win98 clients not shutting down properly.  We are
running samba at ~40 isolated sites, a mixture of 2.07 and 2.05a on intel
debian systems.  There are usually less than 10 clients at each site.

The clients are set up to log on to an NT domain, and they run a script
generated by the server to mount between 3 and 8 shares from the server,
depending on their group membership.  Ie, NET USE N: //SERVER/NETWORK etc.

I'd be interested to hear from people who are using Win98/samba in similar
setups and whether they are having similar shutdown problems.

Does anyone have any experience at troubleshooting this kind of problem?
Where should I look?  I've already searched mailing lists etc, and I'd
really appreciate a pointer in the right direction.

The problem seems to affect both Win98 and Win98SE, and the Win98SSE
shutdown supliment fix/patch thing doesn't help.  It is intermittant, but
happems more often than not. I've noticed that logging off on a W98
machine and then shutting down with C-A-D and clicking shutown seems to
increase the likelyhood of a clean shutdown, but this doesn't allways work.
It seems to be due to the interaction between samba and Win98, because the
macines in question shut down ok if they are isolated from the network.

This shutdown problem is a serious problem for me, I'd be willing to put
significant effort into fixing it (even looking into the code)  I realise
that the problem is likely be Win98 more than samba, but if there is
anything I can do to work around it I need to do it.

The servers have a mixture of network cards, 3c905, eepro, rtl8138 etc.
The clients are a mixture also, but we have many (cough) presarios with
realtek 8139 chipset ethernet cards.

; /etc/smb.conf

[global]
   debug level = 2
   printing = bsd
   printcap name = /etc/printcap
   hide files = AppleVolumes
   load printers = yes
   guest account = nobody
   invalid users = root
   security = user
   workgroup = WORKGROUP
   server string = %h server (Samba %v)
   socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=4096 SO_RCVBUF=4096
   encrypt passwords = yes
   smbpasswd file = /etc/smbpasswd
   wins support = yes
   os level = 65
   domain master = yes
   local master = yes
   preferred master = yes
   logon script = scripts\%U.bat
   logon path = \\%N\profiles\%U
   logon drive = H:
   logon home = "\\%N\%U"
   dns proxy = no
   preserve case = yes
   short preserve case = yes
   domain logons = yes
   unix password sync = True
   passwd program = /usr/bin/passwd %u
   passwd chat = *New\spassword:* %n\n *Re-enter\snew\spassword:* %n\n
*Password\schanged.* .

[homes]
   comment = Home Directories
   browseable = no
   read only = no
   create mask = 0700
   directory mask = 0700

[profiles]
   comment = User Profiles
   browseable = yes
   writeable = yes
   path = /var/samba/profiles
   read only = no
   create mask = 0700
   directory mask = 700
   root preexec = /var/samba/bin/create-profile %U

[netlogon]
   path = /var/samba/netlogon
   writeable = no
   guest ok = no
   root preexec = /var/samba/bin/makelogonscript %U %m

[network]
   comment = comon folder
   writable = yes
   path = /var/samba/network
   create mask = 777
   directory mask = 777

; other shares follow....




More information about the samba-ntdom mailing list