samba and win98

i have installed red hat 6.0 and have confugured samba. i managed to get my linux box in the network neighbourhood of the win98 computer.but when i double click it i get the network busy error.i have edited the smb.conf file by adding workgroup= workgroup and since i had to communicate with the 98 computer i uncommented the line for encrypted passwords too.i can telnet works fine. after some time when i tried to restart the service on the samba server i noticed that the shutdown failed .i wonder what could i have done wrong? please help  me on this issue. tks!
Who is Participating?
LuanConnect With a Mentor Commented:
redHat6.0 has a major bug when using samba with win98 or winNT. You have to recompile ther kernel and disable the "win95 bug work around" in the section "filesystems" of the kernel configuration. After that your win client should see the linux box in the network neighbourhood.

good luck
Did you create a smbpasswd file...Otherwise samba won't know anyone...there is a mksmbpasswd script that you need to run against your current passwd file...Also you might run the configuration tester...If your Redhat distro didn't include it you could get it from the samba web site... Here is my smb conf...

# Samba config file created using SWAT
# from localhost (
# Date: 2000/01/15 10:34:16

# Global parameters
      workgroup = WORKGROUP
      netbios name = FEYNMAN
      server string = RedHat 6.1
      interfaces =
      encrypt passwords = Yes
      smb passwd file = /etc/smbpasswd
      username map = /etc/
      log level = 0
      log file = /var/log/samba-log.%m
      max log size = 50
      socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=4096 SO_RCVBUF=4096
      hosts allow = 192.168.10.
      hide dot files = No
      strict locking = Yes

      comment = Home directories
      read only = No
      create mask = 0750
You're off to a good start with the smbpasswd file.  

As in mmips example, the "encrypt passwords" line <must> be yes, otherwise you will not get Win98 working.

From your Win98 machine, can you ping the IP address of the Samba server?  If not, the problem is IP connectivity not Samba.  I mention this only because many of the "Samba doesn't work questions" are really Ethernet configuration or IP address/routing issues.  

The icon in network neighborhood proves only that the server can transmit a broadcast packet and the client can pick it up.
Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

Set up a user account on the Linux machine with the same user name and password that is used to log into the windows machine.  Make sure when doing so, it writes entries for that user to the smbpasswd file.  Then log in to the win98 machine.  You should now be able to use the shares in NWNBHD.  
I don't think that's entirely true.  I have RH 6.0 running on a server here.   Our workstations run Windows 98, 95 and NT workstation.  All three can see the server and interact fine.  I never recompiled my kernel once, nor did I ever see any docs that stated this as an issue.  I just enabled the encrypted passwords, and set up user accounts on the Linux box to match those on the workstations.  Redhat's SMB How-To explains in detail how to do this.
Have a look at my other detailed answer with nearly the same problem.

Well, he didn't use the kernel recompile.  He used a reinstall, which uses the SAME kernel.  So, I don't follow how this is pertinent.  I, by the way, did a server install, as did the person in your "link" above.  I got it to work with all forms of windows, as I stated above.  Therefore, I believe it is completely unnecessary to recompile kernel.  But, if that's how you get your jollies, by all means.
shajigAuthor Commented:
here again when i try to stop the samba services /etc/rc.d/init.d/smb stop    
i get the foll. message:

shutting down smb services     [ok]kill:bad signal spec'g'        [failed]

 and nextly  the starting works fine.

this is real funny coz i still cant get my machine to talk to win 98 computers.
I would download and reinstall the latest version of SAMBA.
shajigAuthor Commented:
i had samba-2.0.6 version. now when i try to install samba-2.0.8 from the red hat cd i get a conflict message with samba 2.0.6. how can i uninstall the old version of samba and i also deleted the smb.conf file but still the same message.
I can think of a few ways to do this, but the easiest is to remove the existing samba packages.  

You may want to save your old /etc/smb.conf file for reference (if you spent some time setting it up).  Just rename it out of the way:
mv /etc/smb.conf /etc/smb.conf_save

Use the following command to get a precise list of the package names:
rpm -q -a | grep -i samba

For each package shown, do this:
rpm -e <pacakge_name>

rpm -e samba-2.0.6a-12

Then proceed with the samba install.

I still think you should verify IP connectivity by pinging from both server and client machines, but assuming you got that far, upgrading to the latest samba is certainly worth a try.
If you reject the above answer, you will likely get some extra feedback from other experts.  They usually won't post comments to an answered question.
I've just completed my installation of Samba. I'm using RedHat 6.0 on one side, and Windows 98 SE on the other side.
You should surf to:
There you can find the excact information that is needed...:)
All Courses

From novice to tech pro — start learning today.