Fedora Linux Support Community & Resources Center
  #1  
Old 26th November 2011, 05:19 AM
steelaworkn Offline
Registered User
 
Join Date: Dec 2008
Location: Pacific Northwest
Age: 47
Posts: 1,137
linuxfirefox
Eating some Samba humble pie

So, I can see the Windows machines from my Fedora 16 box with no problem. I can also copy files from them. They just can't see mine.

My /etc/samba/smb.conf file is really messing me up. I can't seem to get it. I've looked at the manual and various sites. I am beginning to understand the basics of it all, but still get get it tweaked to where it is working. All are W7 boxes except mine. Here is my current config file:

Code:
[global]

workgroup = Fitzhome
netbios name = dadsfedora
server string = Samba Server %v
guests ok = yes
guest only = yes
security = share
browseable = yes

[Public]

path = /home/jeff/public
security = domain
guests ok = yes
guests only = yes
read only = no
browseable = yes
So basically, I just need a basic home Samba set up to where the can see my files in /home/jeff/Public. Any suggestions?
__________________
My setup:

Intel DP35DP MB; Nvidia 440 2 gig Video Card; 8 gigs of ram; Intel Core Duo 2.20 gig; Hp Officejet Pro L7580; LVM F20 64bit using 3 320g HDs and dual monitors.
Reply With Quote
  #2  
Old 26th November 2011, 06:09 AM
glennzo Offline
Un-Retired Administrator
 
Join Date: Mar 2004
Location: Salem, Mass USA
Age: 57
Posts: 14,623
linuxfirefox
Re: Eating some Samba humble pie

I seem to remember reading that sharing /home is a PITA. Hope I'm wrong,

Not to come off sounding like a wise guy but have you looked at the log files, especially /var/log/samba/samba.log. Also /var/log/audit/audit.log might hold some clues. SeLinux issue possibly?
__________________
Glenn
The Bassinator © ®

[SIGPIC][/SIGPIC]
Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
Reply With Quote
  #3  
Old 26th November 2011, 06:44 AM
RHamel Offline
Registered User
 
Join Date: Sep 2004
Location: Denver, Colorado
Posts: 560
linuxfirefox
Re: Eating some Samba humble pie

I think you have to
Code:
[global]
wins support = Yes
Reply With Quote
  #4  
Old 26th November 2011, 08:06 AM
steelaworkn Offline
Registered User
 
Join Date: Dec 2008
Location: Pacific Northwest
Age: 47
Posts: 1,137
linuxfirefox
Re: Eating some Samba humble pie

Quote:
Originally Posted by glennzo View Post
I seem to remember reading that sharing /home is a PITA. Hope I'm wrong,

Not to come off sounding like a wise guy but have you looked at the log files, especially /var/log/samba/samba.log. Also /var/log/audit/audit.log might hold some clues. SeLinux issue possibly?
I just now saw the Selinux alert. Bummer. I was able to do it on F13. I'll take a look and the log and see.
__________________
My setup:

Intel DP35DP MB; Nvidia 440 2 gig Video Card; 8 gigs of ram; Intel Core Duo 2.20 gig; Hp Officejet Pro L7580; LVM F20 64bit using 3 320g HDs and dual monitors.
Reply With Quote
  #5  
Old 26th November 2011, 08:16 AM
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 22,368
linuxfirefox
Re: Eating some Samba humble pie

I don't eat ****

Code:
yum erase samba\*
Then use nfs

http://support.microsoft.com/kb/324089
Reply With Quote
  #6  
Old 26th November 2011, 08:34 AM
steelaworkn Offline
Registered User
 
Join Date: Dec 2008
Location: Pacific Northwest
Age: 47
Posts: 1,137
linuxfirefox
Re: Eating some Samba humble pie

Just looked for the logs you mentioned and they do not exist...bummer and adding "wins support = yes" does not work. Windows still cannot see my Fedora box.

Can't be that complicated. Just can't figure it out yet. Any other suggestions?

---------- Post added at 01:34 AM ---------- Previous post was at 01:34 AM ----------

Thanks Leigh, I posted seconds after you. I'll give that a shot.
__________________
My setup:

Intel DP35DP MB; Nvidia 440 2 gig Video Card; 8 gigs of ram; Intel Core Duo 2.20 gig; Hp Officejet Pro L7580; LVM F20 64bit using 3 320g HDs and dual monitors.
Reply With Quote
  #7  
Old 26th November 2011, 08:36 AM
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 22,368
linuxfirefox
Re: Eating some Samba humble pie

Any use?

http://danwalsh.livejournal.com/14195.html
Reply With Quote
  #8  
Old 26th November 2011, 08:37 AM
steelaworkn Offline
Registered User
 
Join Date: Dec 2008
Location: Pacific Northwest
Age: 47
Posts: 1,137
linuxfirefox
Re: Eating some Samba humble pie

samba is in all things on my box. To erase it means to erase everything that is everything. Looks like the very substance that holds all things together. Can't be erased without causing mucho damage.
__________________
My setup:

Intel DP35DP MB; Nvidia 440 2 gig Video Card; 8 gigs of ram; Intel Core Duo 2.20 gig; Hp Officejet Pro L7580; LVM F20 64bit using 3 320g HDs and dual monitors.
Reply With Quote
  #9  
Old 26th November 2011, 10:35 AM
glennzo Offline
Un-Retired Administrator
 
Join Date: Mar 2004
Location: Salem, Mass USA
Age: 57
Posts: 14,623
linuxfirefox
Re: Eating some Samba humble pie

What I've done with my home server is to set up Samba so that Windows boxes can access shared folders on the Fedora 14 server. Here's my smb.conf:
Quote:
#======================= Global Settings =====================================
[global]

# ----------------------- Network-Related Options -------------------------
#
workgroup = JOHNSON
server string = Samba Server Version %v
netbios name = ZEPPELIN

# --------------------------- Logging Options -----------------------------
#
log file = /var/log/samba/log.%m
max log size = 50

# ----------------------- Standalone Server Options ------------------------
#
security = share

#============================ Share Definitions ==============================
[quicken]
comment = Quicken backups
path = /mnt/disk3/qback
browseable = yes
writable = yes
public = yes
guest ok = yes

[photos]
comment = Family photo folder
path = /mnt/disk3/photos
browseable = yes
writeable = yes
public = yes
guest ok = yes

[backup]
comment = Backup folder
path = /mnt/disk3/backup
browseable = yes
writeable = yes
public = yes
guest ok = yes
Allow both "sambas" in the firewall configuration. This works for me.


For Linux to Linux I'm working on NFS and some simple mounts.
__________________
Glenn
The Bassinator © ®

[SIGPIC][/SIGPIC]
Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
Reply With Quote
  #10  
Old 26th November 2011, 10:40 AM
steelaworkn Offline
Registered User
 
Join Date: Dec 2008
Location: Pacific Northwest
Age: 47
Posts: 1,137
windows_7chrome
Re: Eating some Samba humble pie

That might work for me, Glen. Thanks. I just crashed my system and am in the process of restoring it. Learning some lessons. Trashed the kdebase and everything with it. Still have my files. Just trying to get the login screen back.
__________________
My setup:

Intel DP35DP MB; Nvidia 440 2 gig Video Card; 8 gigs of ram; Intel Core Duo 2.20 gig; Hp Officejet Pro L7580; LVM F20 64bit using 3 320g HDs and dual monitors.
Reply With Quote
  #11  
Old 26th November 2011, 11:56 AM
bbfuller Offline
Registered User
 
Join Date: Jun 2005
Location: UK
Posts: 4,359
linuxopera
Re: Eating some Samba humble pie

You may also be running into problems with SELinux.

There's a gui for that which will show you the samba options that are blocked, with the ability to change them.

On KDE installs from a live CD at least, it's not installed by default:

Code:
yum install policycoreutils-gui
It's the "boolean" tab which is interesting in this case.
Reply With Quote
  #12  
Old 26th November 2011, 12:33 PM
Anniedog Offline
Registered User
 
Join Date: Aug 2006
Location: UK
Posts: 653
linuxfirefox
Re: Eating some Samba humble pie

On my network I have always had to set a machine as a samba server not samba client in order for other computers to see and access any shares. So it is wins support yes as in previous post. I historically, and for reasons I can now no longer remember, edit /etc/nsswitch.conf to include in the hosts allow line "wins".

SElinux I always have to change, various options there for file sharing permissions etc
Firewall I always have to set this for both samba server and samba client with additionally the setting for a shared printer if attached.

Currently just catching up on things with F16, after missing the last release but the above seems to be working for me ok on the couple of F16's I am playing with. (Really not comfortable with GNOME 3, seems a real performance hit to me so far and been having all sorts of stability problems though samba has luckily not been one of them yet though I running with share permissions only at the moment).
__________________
Dual Boot F14 x86 64 and Vista DeskTop
(intel dual, 2GB, Nvida 7300LE(nivida drivers))
F13 x86_64 Desktop ( AMD64, 3GB,Nvidia 7300LE)
Home Network Edimax AR7284 Wna wireless router
Wired
Above plus
1 XP Desktop and a Zyxel DMA1000
Wireless:
2 windows laptops (vista and win7),
2 desktops (win7 & XP/F16 dual boot(intelpro PCI 2915)),
1 FC16 laptop

Unwashed and some what slightly dazed.
Reply With Quote
  #13  
Old 27th November 2011, 05:46 AM
steelaworkn Offline
Registered User
 
Join Date: Dec 2008
Location: Pacific Northwest
Age: 47
Posts: 1,137
linuxfirefox
Re: Eating some Samba humble pie

I'm back. I did "yum erase samba" and it is truly the glue that holds KDE together. After busting my brains over it, the solution was "yum group install KDE". And I'm back up and running. I'm not sure really what to do. Wondering if Gnome does a better job of networking than KDE.
__________________
My setup:

Intel DP35DP MB; Nvidia 440 2 gig Video Card; 8 gigs of ram; Intel Core Duo 2.20 gig; Hp Officejet Pro L7580; LVM F20 64bit using 3 320g HDs and dual monitors.
Reply With Quote
  #14  
Old 27th November 2011, 06:09 AM
beaker_ Offline
Registered User
 
Join Date: Nov 2008
Location: Canada
Posts: 2,343
linuxfirefox
Re: Eating some Samba humble pie

Quote:
Wondering if Gnome does a better job of networking than KDE.
You lost me there. I think you're saying, 'samba's worked out.' If not, then either system-config-samba works good enough. kde's module also works but makes a couple old assumptions. Anyway, if you're referring to browsing, then it doesn't work because dolphin uses wins for name resolution. Which fedora doesn't use by default.
Reply With Quote
  #15  
Old 27th November 2011, 09:00 PM
steelaworkn Offline
Registered User
 
Join Date: Dec 2008
Location: Pacific Northwest
Age: 47
Posts: 1,137
linuxfirefox
Re: Eating some Samba humble pie

Quote:
Originally Posted by beaker_ View Post
You lost me there. I think you're saying, 'samba's worked out.' If not, then either system-config-samba works good enough. kde's module also works but makes a couple old assumptions. Anyway, if you're referring to browsing, then it doesn't work because dolphin uses wins for name resolution. Which fedora doesn't use by default.
Samba sees the other computers on my network and I can access those files, but when it comes to sharing my Fedora files on the network, Samba does not work. It could be in the Selinux policy, I'm not sure.

Yes, I am referring to browsing from the perspective of the Window's machines. They cannot browse my Fedora shared files which are located at /home/jeff/Public. They can see that they are available, but when the click on "Public" they get a permission message and they are blocked from the "Public" folder. So, could be Selinux. I'll have to look at that one.
__________________
My setup:

Intel DP35DP MB; Nvidia 440 2 gig Video Card; 8 gigs of ram; Intel Core Duo 2.20 gig; Hp Officejet Pro L7580; LVM F20 64bit using 3 320g HDs and dual monitors.
Reply With Quote
Reply

Tags
eating, humble, pie, samba

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
Humble Indie Bundle 3 jan1024188 Using Fedora 22 16th December 2011 07:32 AM
Humble Bundle #3 Miikka Gamers' Lounge 0 26th July 2011 07:40 PM
New Humble Bundle pete_1967 Gamers' Lounge 6 14th April 2011 11:24 AM
a humble suggestion for all of u fedoralover Wibble 10 5th March 2006 09:52 PM
Time to Eat Humble Pie! Paul_Vandenberg Linux Chat 2 21st July 2005 02:33 PM


Current GMT-time: 19:20 (Tuesday, 22-07-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