On 29.08.19 18:56, Stefan G. Weichinger via samba wrote:> On 29.08.19 18:24, Stefan G. Weichinger via samba wrote: >> Am 29.08.19 um 18:10 schrieb Rowland penny via samba: >> >>>> after that this former DC should become a plain DM file server >>>> >>>> Should I rm /var/lib/samba before editing smb.conf and re-joining? >>> >>> Just remove the .tdb & .ldb files and any cache files, do not remove the >>> main directory structure (except for sysvol etc). >> >> ok, will try in about 30mins >> thanks! >> > > ok so far, works basically. > But when I compare the group "domain users" on the 2 fileservers I see > this issue: > > # former fileserver > > # wbinfo --group-info="domain users" > domain users:x:10513: > > (correct to me) > > # new DM > > # wbinfo --group-info="domain users" > domain users:x:100: > > ("100" is wrong ...)"net cache flush" fixed it (for now) reading : https://techblog.devlat.eu/2017/02/04/gid-of-the-domain-users-resetting-to-100-with-a-samba-ad-dc/
On 29/08/2019 18:10, Stefan G. Weichinger via samba wrote:> On 29.08.19 18:56, Stefan G. Weichinger via samba wrote: >> On 29.08.19 18:24, Stefan G. Weichinger via samba wrote: >>> Am 29.08.19 um 18:10 schrieb Rowland penny via samba: >>> >>>>> after that this former DC should become a plain DM file server >>>>> >>>>> Should I rm /var/lib/samba before editing smb.conf and re-joining? >>>> >>>> Just remove the .tdb & .ldb files and any cache files, do not >>>> remove the >>>> main directory structure (except for sysvol etc). >>> >>> ok, will try in about 30mins >>> thanks! >>> >> >> ok so far, works basically. >> But when I compare the group "domain users" on the 2 fileservers I >> see this issue: >> >> # former fileserver >> >> # wbinfo --group-info="domain users" >> domain users:x:10513: >> >> (correct to me) >> >> # new DM >> >> # wbinfo --group-info="domain users" >> domain users:x:100: >> >> ("100" is wrong ...) > > > > "net cache flush" fixed it (for now) > > reading : > https://techblog.devlat.eu/2017/02/04/gid-of-the-domain-users-resetting-to-100-with-a-samba-ad-dc/ > >I think what happened was that samba picked up the winbind cache for the DC and 'net cache flush' emptied the cache, so you shouldn't have any further problems. Rowland
On 29.08.19 19:14, Rowland penny via samba wrote:> I think what happened was that samba picked up the winbind cache for the > DC and 'net cache flush' emptied the cache, so you shouldn't have any > further problems.great so far it looks good to me, their local admin tests with a few PCs soon thanks