Hi Steve, I did what you said, and when create the user, nothing changes:
root@samba:~# getent passwd cobaia cobaia:*:10004:513:cobaia:/home/cobaia:/bin/bash root@samba:~# ldbedit -e vim --url=/usr/local/samba/private/sam.ldb cn=Domain\ Users # editing 1 records # record 1 dn: CN=Domain Users,CN=Users,DC=corporativo,DC=mydomain,DC=net objectClass: top objectClass: group cn: Domain Users description: All domain users instanceType: 4 whenCreated: 20130826181737.0Z uSNCreated: 3541 name: Domain Users objectGUID: 4989c94c-ecd0-46bc-acff-a3d702ee905b objectSid: S-1-5-21-3289179821-1028934030-3478225505-513 sAMAccountName: Domain Users sAMAccountType: 268435456 groupType: -2147483646 objectCategory: CN=Group,CN=Schema,CN=Configuration,DC=corporativo,DC=mydomain,DC=net isCriticalSystemObject: TRUE memberOf: CN=Users,CN=Builtin,DC=corporativo,DC=mydomain,DC=net msSFU30Name: Domain Users gidNumber: 100 whenChanged: 20130827172912.0Z uSNChanged: 3888 distinguishedName: CN=Domain Users,CN=Users,DC=corporativo,DC=mydomain,DC=net 2013/8/27 steve <st...@steve-ss.com> > 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 > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba > -- Bruno Vane HPM Tecnologia (24) 9278-7195 / (24) 3345-0002 skype: broonu www.zamix.com.br | www.superonda.com.br -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba