accessing Linux from NT

I have RedHat ver 5 installed and Samba is enabled (I'm using it to print to a LAN Manager print queue on an NT print server). How do I access Linux from Windows'95/NT clients? I would like the Windows clients to see a Linux directory as a share.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Are you starting the smbd and nmbd when you boot your linux machine?

On RH5, as root, do:-

chkconfig --list|grep smb

this will show you what runlevels Samba is configured to be on or off in. Then, 'chkconfig --level 3 smb on' will turn samba on for runlevel 3. You'll need to adjust this according to the runlevel you boot into.

Then, do a ps, and check for smbd and nmbd. If they're both running, your Linux box should pop up in Netowrk Neighbourhood under Windows. Reasons it might not are:-

1/ The Windows machines must have TCP/IP installed, and it must be bound to the client for MS networks.

2/ Your smb.conf file must be set up correctly - see below.

3/ NT - If you're using service pack 3, it requires authentication with encrypted passwords. Samba does not do this out of the box. Solution is to go into the registry, and disable the encryption requirement (but I can't remember the registry key), or (better) get and compile the DES encryption library, and
recompile samba from source t use this library. Read the file
/usr/doc/samba-1.9.17p4/ENCRYPTION.txt for more details.

The /etc/smb.conf file has all the important stuff in it. If the standard one doesn't work for you, you'll have to go back to basics. Read 'man smb.conf'.

Here's a sample smb.conf I use - it's very bare bones..

; Make sure and restart the server after making changes to
; this file, ex:
; This file extensively modified from base SAMBA distribution,
; to support libdes encrypted passwords for NT 4.0sp3 clients.
; /etc/rc.d/init.d/smb stop
; /etc/rc.d/init.d/smb start

   hosts allow =  
   deadtime = 5
   load printers = yes
   log file = /var/log/samba
   lock directory = /var/lock/samba
   share modes = yes
   security = user
   encrypt passwords = yes
   username map = /etc/

   comment = root partition
   browseable = yes
   dont descend = ./proc,./dev
   hide dot files = no
   fake oplocks = yes
   path = /
   read only = yes
   valid users = user1, user2, user3

   comment = WWW documents
   browseable = yes
   hide dot files = yes
   path = /usr/local/etc/httpd/htdocs
   writable = yes
   valid users = user1, user2, user3

As you can see, this shares / read-only, and the html dir read-write, so I can upload new web pages.

Hope this helps

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
wdawesAuthor Commented:
In /usr/doc/samba-1.9.17p4, both ENCRYPTION.txt and WinNT.txt are the answers.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Networking

From novice to tech pro — start learning today.