Create an account for everyone on the file server and use the "user map"
function of samba to keep the ownership correctly aligned. This will take
care of the Windows users. As for keeping the owner straight when using an
nfs mount, I dont know if you can map ID's, but I *think* you can. Gotta
be in the docs somewhere.
On Thu, 13 Jul 2000, Bret Hughes wrote:
> I have a file server that I mount a /pub directory all the
> time from my laptop and occationally from one or more test
> machines. This is also shared via samba with several
> windows98 and NT machines. I have been pulling my hair out
> wondering how the ownership was being changed on several
> files and directories so I started to RTFnfsM. What I have
> been able to asertain is that the user id number from the
> remote machine (not the name) is used in file operations.
> It looks like I can do a squash/no_squash deal and map
> everyone to a nobody id but that is not what I would like
> either. Is there a way to do a mapping on username rather
> than the number so I can keep the ownership as the user and
> not have to fiddle with the passwd file to keep the numbers
> the same? I only have a few users now and it is not an
> emormous issue but it could be soon if we hire a bunch more
> people like we plan on doing.
-----
.~.
Ken Kirchner /V\ L I N U X
Asst SysAdmin // \ > Don't fear the penguin <
ShreveNet, Inc. /( )\
^^-^^
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.