[Samba] Unable to map the group

Brajesh Shrivastava brajeshshri at gmail.com
Tue Jan 12 03:31:46 MST 2010

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

# 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.
Initially, filesystem doesn't have any file/folder created inside it.
 # ls -l /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

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