[mdlug] Export homedirs via NFS and Samba?

David Lee Lambert lamber45 at msu.edu
Tue Mar 18 20:39:45 EDT 2008


Yes, that's a common setup, but if Greg has UNIX accounts for all users 
already,  why does he need winbind?

The "winbind trusted domains only" and "winbind trusted domains only" 
parameters sound like they might solve this kind of problem;  but I've never 
needed to use winbind.

Another possibility,  if his personal account is the only one with this 
problem,  is to edit /etc/passwd and change the uid for "gwojtak" to the one 
winbindd generated for "MI+gwojtak".  I have a computer where I sometimes 
want my home-directory to be local and sometimes want it to come in over 
NFS,  so I have a line in /etc/passwd "dLocal:1024:..." and a local path in 
the "home" column and another line "davidl:1024:...".


----- Original Message ----- 
From: "Robert Adkins" <radkins at impelind.com>
To: "'MDLUG's Main discussion list'" <mdlug at mdlug.org>
Sent: Tuesday, March 18, 2008 8:32 AM
Subject: Re: [mdlug] Export homedirs via NFS and Samba?


> Use Access Control Lists.
>
> The Filesystem should definitely support that, just tweak that on the 
> server
> to support both the UNIX and the Domain permissions and away you go. (Or 
> at
> least, that's the theory...)
>
> -Rob
>
>
>> -----Original Message-----
>> From: mdlug-bounces at mdlug.org
>> [mailto:mdlug-bounces at mdlug.org] On Behalf Of Wojtak, Greg
>> Sent: Tuesday, March 18, 2008 8:29 AM
>> To: mdlug at mdlug.org
>> Subject: [mdlug] Export homedirs via NFS and Samba?
>>
>> 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.
>>
>>
>> Thanks!
>>
>> --
>> Greg Wojtak
>> http://www.yesthatsright.net/
>> _______________________________________________
>> mdlug mailing list
>> mdlug at mdlug.org
>> http://mdlug.org/mailman/listinfo/mdlug
>>
>
> _______________________________________________
> mdlug mailing list
> mdlug at mdlug.org
> http://mdlug.org/mailman/listinfo/mdlug
>
> 




More information about the mdlug mailing list