reply below, and please cc the list with your replies.

On Wed, Mar 2, 2011 at 12:22 AM, Christian Aichinger <[email protected]> wrote:
> On 01.03.2011 20:45, Chris Weiss wrote:
>>
>> check out the "force user" and "force group" share options.
>
> Thank you, that looks like it would work.
>
> So, with tdbsam there's absolutely no way around adding all the Samba users
> to /etc/passwd? It's not a big problem, but I'm rather curious why it was
> designed this way?

there is a smbusers file that can map samba/windows users to unix
users like you want, but it's a pain to maintain and adds a level of
"magic" that can bite you when you go to debug something in the
future.

smbusers is also global, so it would apply to shares on POSIX
filesystems as well, which you may or may not want now or in the
furture.  Doing it share level makes the mapping easy to see, doesn't
require maintenance when you add or remove users, and gives you future
flexibility.

Also, as Jean-Pierre stated on the list, NTFS-3G supports a
"permissions" mount option so that POSIX permissions can be used
directly.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Reply via email to