Re: NFS and Samba

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Feb 15, 2004 at 12:25:03AM -0000, Andy Hall wrote:
> hi there - hope you can help.
> 
> can I export a filesystem over NFS, and also set that filesystem up as a
> samba share?

Yes.

> or will it conflict and get messy somehow?

Samba is messy (IMO) :)

> I want home directories to be held centrally on a server running NFS (keep
> it tidy, easy to administer and backup etc) but for people using windows to
> also be able to access those home directories (easy transfer of files
> between windows and their linux accounts)
> 
> I'm sure this is a common setup at many companies, but I've never done it
> before so thought I'd check with people more experienced than me :-)
> 
> FYI - the NFS homes are under /export/home2 on the server, so I was just
> going to share this directory under samba rather than use the [homes]
> definition in the smb.conf file (which would share /home right?)

No, you should use the [homes] section. It simbolizes a virtual share: a
share is created with the user's name and the path is set to the user's home
directory. What this means is that it isn't directly related to /home but to
the user's home directly as specified on /etc/passwd.

But you can also specify a different path for the homes section per user:
       path = /export/home2/%S
that isn't needed in your case.

Regards,
Luciano Rocha




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux