> It looks like Domain Users does not have a gidNumber attribute, '100' > is the default ID set by Samba in idmap.ldb on a DC.can i change this id or is better if i change id in my userers/folders ??> How did you carry out the classicupgrade and what from ?like wiki.samba.org suggest in classicupgrade and i used samba 4.9.1 compiled from source -- *Corrado Ravinetto *
On Fri, 26 Oct 2018 12:28:47 +0200 Corrado Ravinetto via samba <samba at lists.samba.org> wrote:> > It looks like Domain Users does not have a gidNumber attribute, > > '100' is the default ID set by Samba in idmap.ldb on a DC. > > can i change this id or is better if i change id in my > userers/folders ??That is what adding uidNumber & gidNumber attributes is supposed to do.> > > How did you carry out the classicupgrade and what from ? > like wiki.samba.org suggest in classicupgrade and i used samba 4.9.1 > compiled from sourceYes, but what from ? Do you still have the original smb.conf and can you post it ? Run this on the DC and post the output: ldbsearch -H ldap://$(hostname -s) -k yes -P '(&(samaccountname=Domain Users)(gidNumber=*))' gidNumber | grep gidNumber | awk '{print $NF}' The above should be all on one line. Rowland
Il 26/10/2018 13:45, Rowland Penny via samba ha scritto:> ldbsearch -Hldap://$(hostname -s) -k yes -P '(&(samaccountname=Domain > Users)(gidNumber=*))' gidNumber | grep gidNumber | awk '{print $NF}'sorry but nothing happen [root at dc1 ~]# ldbsearch -H ldap://$(hostname -s) -k yes -P '(&(samaccountname=Domain Users)(gidNumber=*))' gidNumber | grep gidNumber | awk '{print $NF}' [root at dc1 ~]# -- *Corrado Ravinetto * Sistemi informativi corrado.ravinetto at lanificiocerruti.com <mailto:corrado.ravinetto at lanificiocerruti.com> T: +39 015 3591283 Lanificio F.lli CERRUTI *Lanificio F.lli Cerruti S.p.A. * Via Cernaia 40, 13900 - Biella (BI) Italy www.lanificiocerruti.com <http://www.lanificiocerruti.com/> Twitter <https://twitter.com/Lan_Cerruti> Facebook <https://www.facebook.com/LanificioCerruti> Instagram <https://www.instagram.com/lanificiocerruti/> Rispetta l'ambiente, non stampare questa mail se non necessario Respect the environment, don't print unless necessary