[Samba] Some direction of Samba4 Sid to Uid/Gid ?
Taylor, Jonn
jonnt at taylortelephone.com
Fri Jan 14 17:50:52 MST 2011
On 01/14/2011 02:04 PM, Wei-Tsun Sun wrote:
> Did a git-pull and built samba4, up and running with winbind.
>
> I have a file server, which will be access by windows. Say I have a
> user named "abcde" (uid = 1000), under group "abcde) (gid = 1000).
>
> When I created a user with samba-too (samba-tool newuser abcde xxxxx),
> it creates an account "abcde" with mapped uid 300018 under group user
> users.
>
> I am really wondering if there is anyway to make the "abcde" created
> under samba to link with the "abcde" in my local linux.
>
> I have :
> idmap config SAMDOM: default = yes
> idmap config SAMDOM: backend = tdb
> idmap config SAMDOM: range = 1000-20000
>
> in my smb.conf
>
> But it seems the uid goes anywhere not near 1000.
>
> Cheers.
Have a look at http://wiki.samba.org/index.php/Samba4/Winbind
Jonn
More information about the samba
mailing list