Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Well, I am learning to use samba here. I am very new to it, but I am learning as much as I can.
I just have a couple of quick questions.
We are setting up a test Samba box at my work. What we are trying to do is test to see if the Samba box can be visible by Windows boxes (Win2K) through Network neighborhood. We then would like one test user to be able to access a certain share.
So far:
The Samba box is visible through network neighborhood.
However, I am unable to log on to the samba box through the Windows box.
So I need help in fixing the issue about logging onto the samba box and downloading some files.
What information can I post into this case to help resolve this issue I am having?
You have to set up your users with smbpasswd and a unix password. If you have a user already setup in linux thats good, you just need to set them up with smbpasswd.
I dont know the commands right off hand. Go to google.com/linux and run a search for smbpasswd howto.
[homes]
comment = Home Directories
valid users = %S
read only = No
create mask = 0664
directory mask = 0775
[public]
comment = Public stuff
path = /ourstorage2
write list = @staff
read only = No
guest ok = Ok
As I said earlier, I am trying to get this test samba box up and running correctly. I am using a user on both boxes, testuser with password as the password. The user has been setup on both the Windows and Linux/Samba box.
I can see the box in Network neighborhood, but when I click on it, it keeps asking for a username and password and it never works.
Please also add the passwords of the users from both Windows and Linux Box into the "smbpassword" file on your linux box. It would be like this if you have two users having passwords "xxxx" and "YYYY" ..then... use the following commands to accomplish this
# Locate "smbpassword"
it will show you where the "smbpassword" is on your system
Go to "smbpassword" file by CD
Then Vi "smbpassword"
Press "Insert"
Add the passwords as "xxxx", "YYYY"
Press Esc button on your keyboard
Press "Shift :" on your Keyborad
type wq and then press enter
Restart the "Smb.conf" file from the command line
and then try to access the samba shares from your Windows system.....
As a test chmod the shared directory to 777 then try again. If that works you need to set the Linux File Mode Permissions to whatever you want them to be.
What is the error messege you get when you try to logon?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.