1

We're using samba Acitve Directory (AD) Version 4.3.11-Ubuntu with Windows Active Directory Users and Computers MMC console. The file server (attached to the domain) is Ubuntu 14.04.6 LTS. In this case, the user is connecting via NFS.

When the user makes a directory (mkdir ./testdir) or creates a file (touch testfile) the directory and file both show up as owned by the group domain users instead of the group listed in MS AD Users and Computers as the primary group (in this case "students".)

Is there a way to ensure new files/directories as created with the ownership of the Primary Group?

1

Yes, but not with Samba 4.3.x, you will need to upgrade to 18.04, which will get you to at least 4.7.6 and you can then use (along with the winbindd 'ad' backend) this line in smb.conf:

idmap config SAMDOM:unix_primary_group = yes

1
  • OK. Good to know. That was in the works, so hopefully it will fix the issue. Thx. – BurningKrome Nov 26 '19 at 15:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.