BLU Discuss list archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Samba and Windows user ids
- Subject: Samba and Windows user ids
- From: me-5yx05kfkO/aqeI1yJSURBw at public.gmane.org (Matthew Gillen)
- Date: Sat, 24 Apr 2010 21:07:57 -0400
- In-reply-to: <4BD3603F.4010106-mNDKBlG2WHs@public.gmane.org>
- References: <4BD3603F.4010106@blu.org>
On 04/24/2010 05:18 PM, Jerry Feldman wrote: > At work, I export our home directories as well as a few others. I'm > using NIS for password management on RHEL 5.2. Normally when a Windows > user creates a file, the user id is changed to nobody. This was fine for > me since most Windows users were simply viewing files, but one of my > coworkers now wants to be able to update files in his home directory, > and if windows wants to update an existing file, he will have problems > as well as when he logs into Linux. Since we only have 6 people in the > office and only 1 person who currently wants to be able to modify files > on both Linux and Windows, I'd like a fairly simple solution. Would > something like "Share-level" security work where it would require users > to enter their password to obtain their home directory. Other > directories would continue to use 'User-level' security. For his directory, you could create a special share, and use 'force user'. Something like this: [jamesbond] path = /home/jbond validusers = jbond force user = jbond read only = no A better solution would be to check your smbusers to ensure that everyone's windows username maps to their unix username (if they're not in there, I think it default maps to 'nobody'). That should solve the problem for everyone (assuming you're already forcing them to use a username/password to access the shares, then you shouldn't have to change anything w.r.t. share-level vs. user-level security). HTH, Matt
- References:
- Samba and Windows user ids
- From: gaf-mNDKBlG2WHs at public.gmane.org (Jerry Feldman)
- Samba and Windows user ids
- Prev by Date: Samba and Windows user ids
- Next by Date: Samba and Windows user ids
- Previous by thread: Samba and Windows user ids
- Next by thread: Samba and Windows user ids
- Index(es):