[Samba] ntfs user mappings?
Rowland Penny
rpenny at samba.org
Fri Nov 3 20:43:55 UTC 2017
On Fri, 3 Nov 2017 13:53:22 -0600
Jeff Sadowski via samba <samba at lists.samba.org> wrote:
> just get objectsid and use this
>
> https://blogs.msdn.microsoft.com/oldnewthing/20040315-00/?p=40253
Why ???
From reading the manpage, you need a usermap like this:
john::S-1-5-21-3141592653-589793238-462643383-1008
mary::S-1-5-21-3141592653-589793238-462643383-1009
:smith:S-1-5-21-3141592653-589793238-462643383-513
::S-1-5-21-3141592653-589793238-462643383-10000
Note the third one is obviously wrong, the RID is '513', so 'smith'
should be 'Domain Users'
So all you need is the user or groups name and a simple script to
extract the objectSid.
Rowland
More information about the samba
mailing list