I am using RedHat 7.2 and have configured using GnoSamba. I cannot see my linux box from my windows system. Also, how am I supposed to access Windows shares from Linux?
How does your smb.conf file look like ?
All configuration regarding samba is done in that file.
take a look at man smb.conf
default location for smb.conf is /etc/samba/smb.conf
/Sören
You are missing several an important items in your samba configuration file, I think that you should read the samba howto.
You are missing something like:
You're not telling samba what nic card (ip address)are you going to use to share files using Samba.
You are missing your group name.
You must decide if you what to use Encryption password if you are using Win95b or above
If you cannot , or will not use swat, then at least run testparm against your config..
Right off the bat you have no workgroup name,so windows
boxen cannot and never will be able to connect.
In global assign the workgroup the windows machines are
in.
Previous post was right also in that you need to enable encrypted passwords.
Running testparm and saving it to a text file will give
you all of the available settings so you can look
through and then fix what you need to in smb.conf.
On your 'other' question - the easiest way to handle windows shares from a linux client is to use 'mount' to mount them as your would any other filesystem. For example :
mount -t smbfs -o username=joeuser,password=foobar //ntserver/test /mnt/test
Then everything for that share will be in /mnt/test .
(The linux mount point - shown above as /mnt/test would have to pre-exist. Create with '/sbin/mkdir /mnt/test' )
To do the equivalent of a dos command 'net view \\ntserver' you can do :
You might also have to use one of the registry hacks which comes in the samba distribution on the clients which connect to it if you choose to have no encryption. Otherwise the windows machines will attempt to send encrypted passwords, which will be rejected by samba. C:\DOS:>
C:\DOS:>RUN
RUN DOS RUN!!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.