On Mon, 2018-03-19 at 15:28 -0300, Carlos wrote:> Hi! > Ok, two question: > > 1 - I run the "sambaundoguididx" and then, compile the old version samva (I'll go back to 4.6.3), is this the process?Yes. You can move to 4.7 ideally.> 2 - Or should you run sambaundoguididx, move samba to version 4.7 and then upgrade to 4.8?No. As I've tried to say a number of times, your database is not compatible with Samba 4.8. Each time you run Samba 4.8 this will happen (assuming I've diagnosed it correctly). I'll work on a proper fix this week, for Samba 4.8.1. Andrew Bartlett -- Andrew Bartlett http://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org Samba Developer, Catalyst IT http://catalyst.net.nz/services/samba
Hi, I executed process, but erro: /opt/samba-4.8.0/source4/scripting/bin# ./sambaundoguididx Traceback (most recent call last): File "./sambaundoguididx", line 54, in <module> samdb.modify(modmsg) _ldb.LdbError: (32, 'ldb_wait: No such object (32)') A transaction is still active in ldb context [0x27d8e50] on tdb:///var/lib/samba/private/sam.ldb Regards; On 19-03-2018 15:45, Andrew Bartlett wrote:> On Mon, 2018-03-19 at 15:28 -0300, Carlos wrote: >> Hi! >> Ok, two question: >> >> 1 - I run the "sambaundoguididx" and then, compile the old version samva (I'll go back to 4.6.3), is this the process? > Yes. You can move to 4.7 ideally. > >> 2 - Or should you run sambaundoguididx, move samba to version 4.7 and then upgrade to 4.8? > No. > > As I've tried to say a number of times, your database is not compatible > with Samba 4.8. Each time you run Samba 4.8 this will happen (assuming > I've diagnosed it correctly). > > I'll work on a proper fix this week, for Samba 4.8.1. > > Andrew Bartlett
On Mon, 2018-03-19 at 15:57 -0300, Carlos wrote:> Hi, > > I executed process, but erro: > > /opt/samba-4.8.0/source4/scripting/bin# ./sambaundoguididx > Traceback (most recent call last): > File "./sambaundoguididx", line 54, in <module> > samdb.modify(modmsg) > _ldb.LdbError: (32, 'ldb_wait: No such object (32)') > A transaction is still active in ldb context [0x27d8e50] on > tdb:///var/lib/samba/private/sam.ldb > > Regards;Then I'm very sorry, if that (/var/lib/samba/private/sam.ldb) is the correct path, then I hope you have a good backup, or can just dispose of this DC. Just re-join from your other DC you mentioned for now. Andrew Bartlett -- Andrew Bartlett http://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org Samba Developer, Catalyst IT http://catalyst.net.nz/services/samba