[Samba] Setting Samba as a Domain Member

Rowland penny rpenny at samba.org
Mon Jun 17 14:36:47 UTC 2019

On 17/06/2019 15:17, Tom wrote:
> I succedeed create a new user with attributes. Also, I succedeed 
> adding attributes to an existing account. Now getent command works, so 
> thanks for help ;-)
> I've another question. "Domain Users" group already has a gidNumber 
> (513). So I modified the DOMAIN range in my smb.conf : 'idmap config 
> DOMAIN:range = 500-999999'. But 'getent group' command still dosn't 
> work. Another change to make ?
I wouldn't use '513', Use the first available gidnumber in the 10000 range.

Try commenting this line in smb.conf:

idmap config MYDOMAIN : unix_primary_group = yes

restart smbd etc and try again.


More information about the samba mailing list