Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 2nd September 2012, 12:58 PM
colin-adams Offline
Registered User
 
Join Date: Jun 2008
Posts: 46
linuxchrome
Trying to export a home directory to Windows 7 starter

Hello,

I'm trying to export my wife's home directory so that she can read and write to it from her netbook running Windows 7 (starter). I've got Samba running, with the following edits in the default smb.conf:

workgroup = WORKGROUP

(because selecting Computer application on my wife's netbook showed this as the workgroup name)

and:

[haiwa]
comment = Haiwa's home directory
browseable = no
path = /home/haiwa
writable = yes
valid users = haiwa
create mask = 0755

I only want this to work within the home wifi setup (so I've done nothing to open a port on the firewall).

Smaba is running, and no errors show in the log.

On Windows (Computer application) I turned on network file discovery and printer sharing). But nothing is visible under Network.

I don't know if this is a problem with the samba setup (I've never looked at samba before), or the Windows side (I am not familiar with windows networking file/sharing - or indeed much about Windows at all). So any suggestions will be welcome.

---------- Post added at 03:42 AM ---------- Previous post was at 12:52 AM ----------

Although it doesn't tell me to do so in chapter 16 of the Fedora 17 system adminstrators guide, I guessed I might have to also edit /etc/samba/lmhosts, and start the nmb service.

So I added the line:

192.168.2.201 LINUX

to lmhosts, and I also changed the definition of [haiwa] to say browseable = yes. Then I restarted both smb and nmb, and rebooted Windows. But I still can't see anything under Computer->Networks (other than the notebook itself).

---------- Post added at 03:58 AM ---------- Previous post was at 03:42 AM ----------

I also tried adding:
wins support = yes

but that too made no apparent difference.
Reply With Quote
  #2  
Old 2nd September 2012, 02:27 PM
leigh123cyprus Offline
Suspended User
 
Join Date: Aug 2012
Location: on holiday
Posts: 2
windows_7firefox
Re: Trying to export a home directory to Windows 7 starter

Quote:
SHARING HOME DIRECTORIES
By default SELinux policy turns off SELinux sharing of home directories If you are setting up this machine as a Samba server and wish to share the home directories, you need to set the samba_enable_home_dirs boolean.

Code:
setsebool -P samba_enable_home_dirs 1
http://danwalsh.livejournal.com/14195.html
Reply With Quote
  #3  
Old 2nd September 2012, 03:33 PM
colin-adams Offline
Registered User
 
Join Date: Jun 2008
Posts: 46
linuxchrome
Re: Trying to export a home directory to Windows 7 starter

Quote:
Originally Posted by leigh123cyprus View Post
But I've disabled SELinux anyway. So it can't be that.
Reply With Quote
  #4  
Old 3rd September 2012, 03:27 AM
DBelton's Avatar
DBelton Offline
Administrator
 
Join Date: Aug 2009
Posts: 6,613
linuxfirefox
Re: Trying to export a home directory to Windows 7 starter

You would still have to open a port in the firewall running on your Fedora box, even if it is just on the local network. You wouldn't need to open a port on the firewall on your router, but you still need to open it on your Fedora machine.
Reply With Quote
  #5  
Old 3rd September 2012, 05:26 AM
colin-adams Offline
Registered User
 
Join Date: Jun 2008
Posts: 46
linuxchrome
Re: Trying to export a home directory to Windows 7 starter

Quote:
Originally Posted by DBelton View Post
You would still have to open a port in the firewall running on your Fedora box, even if it is just on the local network. You wouldn't need to open a port on the firewall on your router, but you still need to open it on your Fedora machine.
Ah, that was it. I always forget to disable the iptables service with a new installation.

Now it's seeing the network, but refusing to recognise the password. I guess I'll be able to work that out.

Thanks.

---------- Post added at 08:26 PM ---------- Previous post was at 08:01 PM ----------

Quote:
Originally Posted by colin-adams View Post
Ah, that was it. I always forget to disable the iptables service with a new installation.

Now it's seeing the network, but refusing to recognise the password. I guess I'll be able to work that out.

Thanks.
But I don't seem to be able to get this to work.

On both linux and fedora, the name haiwa is defined, with the same password in each case. So in /etc/smbusers I put:

haiwa = haiwa

I also tried:

haiwa = HAIWA-NOTEBOOK\haiwa

But in both cases credentials are refused. I can't see any messages in either /var/log/messages or /var/log/secure, nor anything under /var/log/samba. I can't find out what I am supposed to do in this case (I'm guessing it has something to do with the domain name on the windows 7 client).
Reply With Quote
Reply

Tags
directory, export, home, starter, 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
samba export HD shows less capacity in windows vagabond Servers & Networking 3 7th October 2010 06:06 PM
no directory /home/###! logging in with home=/ tzwen Using Fedora 11 4th April 2009 01:08 PM
useradd used with no home directory still shows home dir in passwd file marko Using Fedora 0 15th October 2008 08:30 PM
fedora directory server with automounting home directory balorg Servers & Networking 2 7th August 2006 12:20 AM
/home partition vs. /home directory leasure98 Using Fedora 3 28th May 2004 04:39 AM


Current GMT-time: 05:21 (Sunday, 19-05-2013)

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