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. This is my groups: root at samba:~# wbinfo -g Enterprise Read-Only Domain Controllers Domain Admins Domain Users Domain Guests Domain Computers Domain Controllers Schema Admins Enterprise Admins Group Policy Creator Owners Read-Only Domain Controllers DnsUpdateProxy This is GID's: CORPORATIVO\Domain Admins:*:3000008: CORPORATIVO\Domain Users:*:100: CORPORATIVO\Domain Guests:*:3000012: CORPORATIVO\Domain Computers:*:3000018: CORPORATIVO\Domain Controllers:*:3000019: CORPORATIVO\Schema Admins:*:3000007: CORPORATIVO\Enterprise Admins:*:3000006: CORPORATIVO\Group Policy Creator Owners:*:3000004: CORPORATIVO\Read-Only Domain Controllers:*:3000020: CORPORATIVO\DnsUpdateProxy:*:3000021: CORPORATIVO\InternetLiberada:*:3000022: -- Bruno Vane HPM Tecnologia (24) 9278-7195 / (24) 3345-0002 skype: broonu www.zamix.com.br | www.superonda.com.br
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.Hi 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 HTH Steve