[Samba] Any drawback in changing primary group of domain users ?
rpenny at samba.org
Thu Feb 25 11:45:00 UTC 2021
On 25/02/2021 11:27, Marco Gaiarin via samba wrote:
> Mandi! Nicola Mingotti via samba
> In chel di` si favelave...
>> The reason I want to perform this is because
>> if a user makes a directory It gets by default group
>> "Domain users".
> Try to change POSIX primary group, eg 'gidNumber:'.
> The only thing you have to note is that the group 'gidNumber' belong to
> have to be listed as one for which the user ar member, otherwise
> something unpredicted could be happen.
That will not make 'getent passwd' show a Unix group as the users
primary group, not unless you set the required 'idmap config' line in
smb.conf on the Unix domain member, but the users primary group on
Windows would still be Domain Users and I do not think it is a good idea
to have different primary groups depending on the OS.
More information about the samba