All Forums |
Register |
Login |
Search |
Subscriptions |
My Profile |
Inbox |
Tool Warehouse |
FAQs |
Resources |
Help |
Member List |
Address Book |
Logout |
|
|
BAd homedirectory attributes
|
Logged in as: Guest |
Users viewing this topic: none |
|
Login  |
|
|
BAd homedirectory attributes - Jul. 27, '06, 4:13:29 AM
|
|
|
ÖgeeN
Posts: 3
Joined: Jul. 27, '06,
Status: offline
|
Hello,
I´m testing mounting homefolders stored on w2k3 server to clients running FC5.
On w2k3 server with SFU installed I have folder C:\homedirs which is shared by NFS sharing and where resides all homefolders of my users.
Now I´m able to succesfully mount homefolder, but problem is that owner and group of parent homefolder (/home/hsimpson) is always set to anonymous uid and gid:
drwx------ 2 4294967294 4294967294 64 Jul 27 08:56 hsimpson
And so all users can browse it.
The attributes of files and folders inside \home\hsimpson are correct.
What should I do to set attributes of folder \home\hsimpson to proper uid and gid, so only user hsimpson can browse it?
Thanks for help.
|
|
|
RE: BAd homedirectory attributes - Jul. 27, '06, 11:58:30 AM
|
|
|
Rodney
Posts: 3714
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
|
You should use Username Mapping (aka UNM).
There's good information with the SFU help that's already install.
Give the sections on NFS server best practices and UNM a read.
That should square things for you on uid/gid's.
|
|
|
RE: BAd homedirectory attributes - Jul. 28, '06, 4:20:59 AM
|
|
|
ÖgeeN
Posts: 3
Joined: Jul. 27, '06,
Status: offline
|
I have just read both documents you adviced me. But I found no solution for my problem. I can see no misconfiguration in my setup, nevertheless the problem is still the same:
When user unixusr1 log in on linux workstation his homedirectory (/home/unixusr1) is mapped using uid and gid set to -2. But all files and folders in this directory (/home/unixusr1/.bash_history etc.) have proper uid and gid. So all users loged in at the same time can browse his homedir.
|
|
|
RE: BAd homedirectory attributes - Aug. 8, '06, 10:20:37 PM
|
|
|
markfunk
Posts: 670
Joined: Mar. 31, '03,
Status: offline
|
You should look at:
http://www.microsoft.com/technet/itsolutions/interop/sfu/nfsauth.mspx
and
http://www.microsoft.com/technet/interopmigration/unix/sfu/nfsauth.mspx
|
|
|
RE: BAd homedirectory attributes - Aug. 14, '06, 7:15:34 AM
|
|
|
ÖgeeN
Posts: 3
Joined: Jul. 27, '06,
Status: offline
|
I have to change attributes manually using chown and chmod on windows server.
Now I have different problem:
Directory structure looks like this:
g:\class1\user1\
g:\class1\user2\
g:\class2\user3\
etc.
All user´s homedirectories are on linux stations stored in /home/user1/
and this is why I need to define more mountmaps for one mountpoint.
I tried several different configuration that should make this possible
but with no success.
So my question is:
Is there a way how to set more mountmaps for one mountpoint?
Or is there a way how to make autofs to search all subdirectories in
defined directory to find user´s homedir?
Thank you for help.
|
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
|
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts |
|
|
|