 |
 |
 |
 |
| Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc. |

2nd November 2011, 06:50 PM
|
|
Registered User
|
|
Join Date: Jul 2011
Posts: 19

|
|
windows 7 cant see my linux server with samba
Hello,
I am using Samba on Fedora server. My problem is, that windows computer cant see my linux server nor samba share folder.
SELINUX and firewall are disabled.
My smb.conf:
Quote:
[global]
workgroup = WORKGROUP
server string = Samba Server Version %v
log file = /var/log/samba/log.%m
max log size = 50
security = user
passdb backend = tdbsam
[share]
comment = Ubuntu File Server Share
path = /share
browsable = yes
guest ok = yes
read only = no
create mask = 0755
|
Thank you for help.
|

2nd November 2011, 07:07 PM
|
|
Registered User
|
|
Join Date: Jun 2007
Location: Lake Mary, Florida
Age: 48
Posts: 1,082

|
|
|
Re: windows 7 cant see my linux server with samba
Hello,
/share you said is a folder. you would need the path to the folder.
check permission of folder
path=/path/to/folder/share
|

2nd November 2011, 08:25 PM
|
|
Registered User
|
|
Join Date: Jul 2011
Posts: 19

|
|
|
Re: windows 7 cant see my linux server with samba
Thank you for the answer.
But the folder share is located in the root of filesystem.
Like: "/root", "/home", "/var", "/etc"
---------- Post added at 08:25 PM ---------- Previous post was at 08:22 PM ----------
The owner of this folder is normal user "fish" from group "fish". Chmod is set for development reason to 777. Is there anything else I should set up?
|

2nd November 2011, 08:31 PM
|
|
Registered User
|
|
Join Date: Jun 2007
Location: Lake Mary, Florida
Age: 48
Posts: 1,082

|
|
|
Re: windows 7 cant see my linux server with samba
Best not to use /root, /etc, /var
The best thing to do if you have the space is setup a partition would like to share
777 is not a good thing. But is up to you.
if you have a folder called fish in /var then you need to set path to
path=/var/fish
And I am not totally sure if samba can do just a folder. I have always done partitions
I have just tried a folder and it worked here is my setting
[Public]
comment = All Users
path = /home/UserID/Public
valid users = UserID
create mask = 0660
directory mask = 0771
writable = yes
write list = @UserID
For me when I mounted on my windows system I did \\my_ip_address\Public
would would use share
Last edited by scott32746; 2nd November 2011 at 08:45 PM.
|

3rd November 2011, 06:41 PM
|
|
Registered User
|
|
Join Date: Jul 2011
Posts: 19

|
|
|
Re: windows 7 cant see my linux server with samba
Thank you for the answer.
Could you please explain to me what should I do to setup Samba with new separate partition?
|

3rd November 2011, 06:52 PM
|
|
Registered User
|
|
Join Date: Jun 2007
Location: Lake Mary, Florida
Age: 48
Posts: 1,082

|
|
|
Re: windows 7 cant see my linux server with samba
Hmm,
You are going to need to check if there is any free space available.
create a partition, run mkfs.ext4, create mount point, add fstab
change path to new mount point
restart samba
service smb retstart
If you are running LVM steps are the same but different
|

3rd November 2011, 07:27 PM
|
|
Registered User
|
|
Join Date: Jul 2011
Posts: 19

|
|
|
Re: windows 7 cant see my linux server with samba
Thanks. Now it works a little bit better. I can see my Linux computer on windows box.
But I still cant acces my files. Message appears: "Host 192.168.0.156/share was not found"
(192.168.0.156 is address of linux server)
|

3rd November 2011, 07:31 PM
|
|
Registered User
|
|
Join Date: Jun 2007
Location: Lake Mary, Florida
Age: 48
Posts: 1,082

|
|
|
Re: windows 7 cant see my linux server with samba
cd into share folder
give output of "pwd"
and show your smb.conf setup
|

3rd November 2011, 07:40 PM
|
|
Registered User
|
|
Join Date: Jul 2011
Posts: 19

|
|
|
Re: windows 7 cant see my linux server with samba
pwd from folder /home/miso/share is:
smb.conf is:
Quote:
[global]
workgroup = WORKGROUP
server string = Samba Server Version %v
log file = /var/log/samba/log.%m
max log size = 50
security = user
[share]
path = /home/miso/share
comment = All Users
valid users = UserID
create mask = 0660
directory mask = 0771
writable = yes
write list = @UserID
|
|

3rd November 2011, 07:46 PM
|
|
Registered User
|
|
Join Date: Jun 2007
Location: Lake Mary, Florida
Age: 48
Posts: 1,082

|
|
|
Re: windows 7 cant see my linux server with samba
Need to change UserID to the ID that needs access
example:
valid users = miso
you can add more than one id to the line if needed
on windows map network
\\192.168.0.156\share
make sure workgroup is the same in samba and windows machine
|

4th November 2011, 08:06 PM
|
|
Registered User
|
|
Join Date: Jul 2011
Posts: 19

|
|
|
Re: windows 7 cant see my linux server with samba
It is working! I dont know how, but it is working!
Which CHMOD should I setup for shared folder please?
|

4th November 2011, 08:10 PM
|
|
Registered User
|
|
Join Date: Jun 2007
Location: Lake Mary, Florida
Age: 48
Posts: 1,082

|
|
|
Re: windows 7 cant see my linux server with samba
not sure what you are asking
CHMOD ?
|

4th November 2011, 08:32 PM
|
|
Registered User
|
|
Join Date: Jul 2011
Posts: 19

|
|
|
Re: windows 7 cant see my linux server with samba
There is chmod 777 on my share folder now. But as you told me this is not good.
Which chmod should I setup for this directory, please?
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 03:34 (Wednesday, 19-06-2013)
|
|
 |
 |
 |
 |
|
|