Unable to share files from my linux to windows computers through samba
Dear friends,
All I wanted to do is to share my files from my FC2 to users from Windows machine. But I don't know why it never work. I did the following configuration in my /etc/samba/smb.conf workgroup = myworkgroup hosts allow = 192.168.0. 127. Set ENCRYPT PASSWORDS to "yes" Set SMB PASSWORD FILE to "/etc/smbpasswd" [homes] comment = Home Directories browseable = no writable = yes Now add any other shares you want like this: [sharename] comment = Comment path = /MyMusic read only = yes public = yes Save and exit. smbpasswd -a user password service smb restart Suppose to be very simple and easy. But I just don't know why not work. I go to windows machine, find this linux computer (Potato) there, then I click into it and it says "\\Potato is not accessible. You might not have permission to access this network resouce." What is wrong....please helpe me....I tried so many days already.... or is there any other way to share a file from my linux to windows computer? I just want to share file to windows computers.... thanks for taking time reading my mail.... Regards Y |
is this the full output of your "smb.conf" file? because you haven't defined a security level. security=share is probably what you are wanting....
what is your "[global]" section........? have you read "using samba" that comes with samba or used google for a myriad of guides..........??? |
Comment out the "host allow" part, should probably by 192.168.0.0 anyway:)
Define a [global] section as adviced. |
Hi friends,
Sorry, previously was just part of the file. I redo another simple one. Here is the whole file: [global] encrypt passwords = yes netbios name = Potato security = share socket options = TCP_NODELAY IPTOS_LOWDELAY wins support = yes workgroup = myworkgroup [public] path = /MyMusic read only = no Thats it. I have my music in /MyMusic. All I want is the windows users can access this folder. But I went to a window computer, find this samba computer (Potato) there, clicked it but it says "\\Potato is not accessible. You might not have permission to access this network resouce." Can't even get into the first hurdle of getting into the Potato computer. What am I missing here? thanks for taking time helping...... Regards Y |
Dear friends,
Thanks! I think I have solved the problem. I read somwhere that for XP, need to set wins=mysambaip. So I did that, and it worked. thanks a lot for helping! Regards Y |
Suddenly today my samba share cannot work again.
Just a simple file sharing but cannot work. Same problem as before. Now I wrote another config file like this: [global] workgroup = boogey.com netbios name = Potato security = share [share1] path = /MyMusic valid users = potato writable = yes But when I tried to access the Potato computer from windows, it says "\\Potato is not accessible. You might not have permission to access this network resouce." Can't even get into the first hurdle of getting into the Potato computer. I am really headache, howcome suddenly it doesnt work... pls help if you know why...thanks... |
All times are GMT -5. The time now is 12:57 PM. |