Quick Samba question
Hello everyone.
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? Thanks everyone. T |
I am also guessing I have the users setup incorrectly some how.
I'm not sure though. On the Linux box, there are 2 users: root and the testuser The testuser also exists on the Win2K box. I feel like im missing something very small, but I cant put a pin on it. Any thoughts? T. |
smbpasswd
|
Sry for the last one, long day.
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. http://www.linuxorbit.com/howto/sambahowto.php3 |
Grrr.
For some reason, I can see the samba box from my Win2K box, but I cant log onto it. What am I missing? I followed the directions to the "T" from the link you provided. Any suggestions? Can I post any info in this thread to help resolve this? Thanks guys. Tarballed |
here is some output from testparm:
[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. Any ideas? I'm confused and frustrated. :( |
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..... Please let me know if this helps..... Dibs :) |
How did you add the user to the Linux machine? Give me the exact command.
|
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? |
All times are GMT -5. The time now is 02:47 PM. |