[mdlug] Export homedirs via NFS and Samba?

Thomas Cameron (Red Hat) tcameron at redhat.com
Tue Mar 18 15:21:19 EDT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Wojtak, Greg wrote:
| Is this a common setup?  I have an NFS/Samba server set up.  I am
| currently exporting users' home directories.  I want the users to be
| able to mount their home directories on UNIX or Windows, but here is the
| issue I am having.  The server is joined to the domain MI.  I can export
| /home/gwojtak via NFS just fine.  I can export [homes] in Samba just
| fine.  The problem comes up with permissions - UNIX, of course just sets
| ownership to gwojtak on newly created files.  If I try to access my home
| directory via Samba, it is getting the expected winbind mangling,
| 'MI+gwojtak' and permission is denied to even pull up the UNC.  Changing
| the ownership on the Samba server on /home/gwojtak to MI+gwojtak makes
| it work properly on Windows, but then breaks NFS ownerships.
|
| Is this not a good setup?  What am I doing wrong, or should I not even
| be doing this?  It seems to me that this would be a common
| implementation?  This is a Red HATE Enterprise Linux 5.1 server.

It's "Red Hat," not "Red HATE."

See http://people.redhat.com/tcameron for a step by step on how to set
up Samba and AD with ACLs on the filesystem.  It was written with Red
Hat Enterprise Linux 4 but it still works the same on Red Hat Enterprise
Linux 5.x.
- --
Thomas Cameron, RHCE, RHCX, CNE, MCSE, MCT
Solutions Architect Team Lead, Central Region
512-241-0774 office / 512-585-5631 cell / 512-857-1345 fax

Red Hat rated #1 in value by CIOs for four years running:
http://www.redhat.com/about/news/prarchive/2007/CIO_Insight_Study.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFH4BYumzle50YHwaARAnmzAKCtqNVF07LrKQH4iUecKif9xqJAKACgof8h
PkZqM8LnBucaJONQo63FJDs=
=ZrgA
-----END PGP SIGNATURE-----



More information about the mdlug mailing list