Fedora Linux Support Community & Resources Center
  #1  
Old 2nd November 2011, 06:50 PM
qwert Offline
Registered User
 
Join Date: Jul 2011
Posts: 19
linuxfirefox
Smile 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.
Reply With Quote
  #2  
Old 2nd November 2011, 07:07 PM
scott32746 Offline
Registered User
 
Join Date: Jun 2007
Location: Lake Mary, Florida
Age: 50
Posts: 1,088
windows_xp_2003firefox
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
Reply With Quote
  #3  
Old 2nd November 2011, 08:25 PM
qwert Offline
Registered User
 
Join Date: Jul 2011
Posts: 19
windows_7ie
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?
Reply With Quote
  #4  
Old 2nd November 2011, 08:31 PM
scott32746 Offline
Registered User
 
Join Date: Jun 2007
Location: Lake Mary, Florida
Age: 50
Posts: 1,088
windows_xp_2003firefox
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.
Reply With Quote
  #5  
Old 3rd November 2011, 06:41 PM
qwert Offline
Registered User
 
Join Date: Jul 2011
Posts: 19
linuxfirefox
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?
Reply With Quote
  #6  
Old 3rd November 2011, 06:52 PM
scott32746 Offline
Registered User
 
Join Date: Jun 2007
Location: Lake Mary, Florida
Age: 50
Posts: 1,088
windows_xp_2003firefox
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
Reply With Quote
  #7  
Old 3rd November 2011, 07:27 PM
qwert Offline
Registered User
 
Join Date: Jul 2011
Posts: 19
linuxfirefox
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)
Reply With Quote
  #8  
Old 3rd November 2011, 07:31 PM
scott32746 Offline
Registered User
 
Join Date: Jun 2007
Location: Lake Mary, Florida
Age: 50
Posts: 1,088
windows_xp_2003firefox
Re: windows 7 cant see my linux server with samba

cd into share folder
give output of "pwd"
and show your smb.conf setup
Reply With Quote
  #9  
Old 3rd November 2011, 07:40 PM
qwert Offline
Registered User
 
Join Date: Jul 2011
Posts: 19
linuxfirefox
Re: windows 7 cant see my linux server with samba

pwd from folder /home/miso/share is:
Quote:
/home/miso/share
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
Reply With Quote
  #10  
Old 3rd November 2011, 07:46 PM
scott32746 Offline
Registered User
 
Join Date: Jun 2007
Location: Lake Mary, Florida
Age: 50
Posts: 1,088
windows_xp_2003firefox
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
Reply With Quote
  #11  
Old 4th November 2011, 08:06 PM
qwert Offline
Registered User
 
Join Date: Jul 2011
Posts: 19
windows_7ie
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?
Reply With Quote
  #12  
Old 4th November 2011, 08:10 PM
scott32746 Offline
Registered User
 
Join Date: Jun 2007
Location: Lake Mary, Florida
Age: 50
Posts: 1,088
windows_xp_2003firefox
Re: windows 7 cant see my linux server with samba

not sure what you are asking
CHMOD ?
Reply With Quote
  #13  
Old 4th November 2011, 08:32 PM
qwert Offline
Registered User
 
Join Date: Jul 2011
Posts: 19
windows_7ie
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?
Reply With Quote
Reply

Tags
linux, samba, server, windows

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to chain proxies linux:linux:windows without ssh server on windows? vcguy Servers & Networking 0 13th April 2008 01:03 PM
FC6, Samba, Web Server & Windows XP aruscito Servers & Networking 6 27th February 2007 04:21 PM
Samba server Windows 98 neptune Servers & Networking 5 2nd October 2006 04:50 PM
samba with Windows 2003 server and FC5 I-1 Using Fedora 0 27th July 2006 02:22 PM
Problem connecting to linux samba server from linux client graeder Servers & Networking 8 7th February 2006 06:23 PM


Current GMT-time: 01:37 (Wednesday, 22-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Nagappattinam - Kalynivka Instagram Photos - Trucuk Travel Photos on Instagram