[Samba] unix_primary_group not used when writing files
m.richardson at ed.ac.uk
Wed Aug 17 15:41:13 UTC 2022
I have subsequently worked out that to get 'getent group' to show users
I need to add the following to smb.conf:
winbind expand groups = 1
This now gives:
$ getent group g_alice
However even with this setting and having restarted samba etc the files
are still group 'domain user'. (I also played with setting 'winbind
nested groups' which has no effect).
Don't know if that helps steer the debugging/solving of the bigger issue?
On 17/08/2022 13:52, Rowland Penny via samba wrote:
> This email was sent to you by someone outside the University.
> You should only click on links or attachments if you are certain that the email is genuine and the content is safe.
> On Wed, 2022-08-17 at 13:36 +0100, Matthew Richardson via samba wrote:
>> Apologies - I anonymised the real user values and put 'alice' in as
>> group by mistake - it should say 'g_alice'.
> Okay, lets try again :-)
> Did you add 'alice' to the group 'g_alice' ?
> If so, how ?
> You posted this:
> $ getent group g_alice
> Which doesn't show any users, but you also posted this:
> $ groups alice
> alice : g_alice domain users
> Which does show 'alice' is a member of the 'g_alice' group (if I have
> changed it correctly).
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. Is e buidheann carthannais a th’ ann an Oilthigh Dhùn Èideann, clàraichte an Alba, àireamh clàraidh SC005336.
More information about the samba