On Fri, 30 Dec 2016 18:11:14 +0100 "Stefan G. Weichinger via samba" <samba at lists.samba.org> wrote:> > got to leave here, can look up in 1-2hrs again from home office > > question: > could it be that some old cruft in /var/lib/samba bites here? > how to get rid of that? rm-ing it completely messed up joining (tried > that before), so it seems I have to clean up some files only. > > remember: server "main" was nt4-pdc ~~ and we only replaced smb.conf > and joined etc etc // maybe too bold? ;-)Oh definitely, you will probably have to empty /var/lib/samba and then let Samba fill it up again. Rowland
Am 2016-12-30 um 18:31 schrieb Rowland Penny via samba:>> remember: server "main" was nt4-pdc ~~ and we only replaced smb.conf >> and joined etc etc // maybe too bold? ;-) > > Oh definitely, you will probably have to empty /var/lib/samba and then > let Samba fill it up again.maybe by: leave domain, empty /var/lib/samba, then re-install samba, then re-join? As mentioned I had tried rm-ing /var/lib/samba already but failed at joining then because of the missing secrets.tdb (maybe it would have been enough to touch it, I don't know). I will try. checked for old or duplicate samba-files, no, that seems OK
On Sat, 31 Dec 2016 11:31:26 +0100 "Stefan G. Weichinger via samba" <samba at lists.samba.org> wrote:> Am 2016-12-30 um 18:31 schrieb Rowland Penny via samba: > >> remember: server "main" was nt4-pdc ~~ and we only replaced > >> smb.conf and joined etc etc // maybe too bold? ;-) > > > > Oh definitely, you will probably have to empty /var/lib/samba and > > then let Samba fill it up again. > > maybe by: > > leave domain, empty /var/lib/samba, then re-install samba, then > re-join? As mentioned I had tried rm-ing /var/lib/samba already but > failed at joining then because of the missing secrets.tdb (maybe it > would have been enough to touch it, I don't know). I will try. > > checked for old or duplicate samba-files, no, that seems OK > > >Samba should recreate the files required, what is the exact command you are running to join the domain ? Who owns /var/lib/samba and what are the permissions set to ? Rowland