[Samba] Change default GID of users

steve steve at steve-ss.com
Tue Aug 27 10:27:13 MDT 2013

On Tue, 2013-08-27 at 12:14 -0300, Bruno Vane wrote:
> Hi all,
> I'm using samba4 as DC and using ssh/nslcd/pam in some machines to lookup
> ldap base in samba4 to allow access for users.
> My question is, how can I set the default GID os users to "100", to match
> the GID of group"users" in my linux machines? All users I create with ADUC
> is getting UID "513". This machines are joined in the domain.

Add the attribute:
gidNumber: 100
to the DN of Domain Users.

The easiest way to do that is to:
ldbedit --url=/user/local/samba/private/sam.ldb cn=Domain\ Users


More information about the samba mailing list