[Samba] Unable to map the group

Dale Schroeder dale at BriannasSaladDressing.com
Tue Jan 12 13:09:52 MST 2010


On 01/12/2010 4:31 AM, Brajesh Shrivastava wrote:
> Hi All,
>
> I am using Samba 3.2.11 on sles 10. I have create a Unix group 'grp1' and
> mapped it to a ntgroup "Group One".  Unix group 'grp1' has one user i.e
> 'usr1'. 'net groupmap' command show the mapping with correct SID and gid
> value. Please, have a look here.
>
> # cat /etc/group | grep grp1
> grp1:!:12613:usr1,raj1,raj2
> #
>
> # net groupmap list
> Group One (S-1-5-21-2117825020-3123844951-2554100798-26227) ->  grp1
> #
> # net groupmap list verbose ntgroup="Group One"
> Group One
>          SID       : S-1-5-21-2117825020-3123844951-2554100798-26227
>          Unix gid  : 12613
>          Unix group: grp1
>          Group type: Domain Group
>          Comment   : Domain Unix group
> #
>
>
> I have one filesystem 'fs2' exported as share 'share1' to the windows user.
>    
What parameters do you have in [share1] ?
> Initially, filesystem doesn't have any file/folder created inside it.
>   # ls -l /vx/fs2/
>    
What are the permissions and ownership of /vx/fs2 ?
> total 0
>   #
>
> If user 'usr1' mounts a share1 on windows machine and create a folder 'try'
> inside it, then effective group permission goes to the unix group 'nogroup'.
>   # ls -l /vx/fs2/
> total 0
> drwxrwxr-x+ 2 usr1 nogroup 96 2010-01-12 05:18 try
>    
What is the output of getfacl /vx/fs2/try ?

Dale
> #
>
> Here, I am expecting that if I assign group permission as 'Group One' from
> Windows client machine. It should be assigned to the 'grp1' group on linux
> side. Because,  ntgroup 'Group One' is mapped to the unix group 'grp1'. I
> think, I am missing something. Can you please help me resolving this issue.
>
>
> Any help will be deeply appreciated.
>    


More information about the samba mailing list