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

26th November 2011, 05:19 AM
|
 |
Registered User
|
|
Join Date: Dec 2008
Location: Pacific Northwest
Age: 46
Posts: 1,100

|
|
|
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 F18 64bit using 3 320g HDs and a nice LG 22 in. Monitor.
|

26th November 2011, 06:09 AM
|
 |
Un-Retired Administrator
|
|
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,974

|
|
|
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 © ®
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
|

26th November 2011, 06:44 AM
|
|
Registered User
|
|
Join Date: Sep 2004
Location: Denver, Colorado
Posts: 554

|
|
|
Re: Eating some Samba humble pie
I think you have to
Code:
[global]
wins support = Yes
|

26th November 2011, 08:06 AM
|
 |
Registered User
|
|
Join Date: Dec 2008
Location: Pacific Northwest
Age: 46
Posts: 1,100

|
|
|
Re: Eating some Samba humble pie
Quote:
Originally Posted by glennzo
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 F18 64bit using 3 320g HDs and a nice LG 22 in. Monitor.
|

26th November 2011, 08:16 AM
|
 |
Retired Administrator
|
|
Join Date: Oct 2006
Posts: 21,509

|
|
|
Re: Eating some Samba humble pie
|

26th November 2011, 08:34 AM
|
 |
Registered User
|
|
Join Date: Dec 2008
Location: Pacific Northwest
Age: 46
Posts: 1,100

|
|
|
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 F18 64bit using 3 320g HDs and a nice LG 22 in. Monitor.
|

26th November 2011, 08:36 AM
|
 |
Retired Administrator
|
|
Join Date: Oct 2006
Posts: 21,509

|
|
|
Re: Eating some Samba humble pie
|

26th November 2011, 08:37 AM
|
 |
Registered User
|
|
Join Date: Dec 2008
Location: Pacific Northwest
Age: 46
Posts: 1,100

|
|
|
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 F18 64bit using 3 320g HDs and a nice LG 22 in. Monitor.
|

26th November 2011, 10:35 AM
|
 |
Un-Retired Administrator
|
|
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,974

|
|
|
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 © ®
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
|

26th November 2011, 10:40 AM
|
 |
Registered User
|
|
Join Date: Dec 2008
Location: Pacific Northwest
Age: 46
Posts: 1,100

|
|
|
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 F18 64bit using 3 320g HDs and a nice LG 22 in. Monitor.
|

26th November 2011, 11:56 AM
|
|
Registered User
|
|
Join Date: Jun 2005
Location: UK
Posts: 4,347

|
|
|
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.
|

26th November 2011, 12:33 PM
|
|
Registered User
|
|
Join Date: Aug 2006
Location: UK
Posts: 653

|
|
|
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.
|

27th November 2011, 05:46 AM
|
 |
Registered User
|
|
Join Date: Dec 2008
Location: Pacific Northwest
Age: 46
Posts: 1,100

|
|
|
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 F18 64bit using 3 320g HDs and a nice LG 22 in. Monitor.
|

27th November 2011, 06:09 AM
|
 |
Registered User
|
|
Join Date: Nov 2008
Location: Canada
Posts: 2,062

|
|
|
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.
|

27th November 2011, 09:00 PM
|
 |
Registered User
|
|
Join Date: Dec 2008
Location: Pacific Northwest
Age: 46
Posts: 1,100

|
|
|
Re: Eating some Samba humble pie
Quote:
Originally Posted by beaker_
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 F18 64bit using 3 320g HDs and a nice LG 22 in. Monitor.
|
| 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: 02:22 (Thursday, 20-06-2013)
|
|
 |
 |
 |
 |
|
|