Re: [Samba] sambaundoguidindex
- Date: Mon, 11 Jun 2018 12:01:10 +0200
- From: Andrew Bartlett via samba <samba@xxxxxxxxxxxxxxx>
- Subject: Re: [Samba] sambaundoguidindex
On Mon, 2018-06-11 at 09:34 +0200, renaud.rolles@xxxxxxxxxxxxx wrote:
> > > You should only need to run this script if doing a in place
> > > upgrade from 4.7.x to 4.8.0 or 4.8.1 fails. I see you are using 4.8.2.
> > > This should have been fixed. Did you upgrade from 4.7.x to 4.8.2 and have
> > issues?
> > >
> > > Most likely you will need to restore from backup or create a new DC if
> > > you can't run the script.
> > If that isn't an option for some reason, then a dump of the database backend
> > files using ldbdump, and then a re-create of the files with ldbadd might be
> > possible, but I haven't got an automated script for that yet (probably
> > something we will need to do in aid of the LMDB port however).
> > You would still need to do the other steps that script does, and then finish
> > with a samba-tool dbcheck --reindex
> > In short, hopefully a backup was made.
> I did an upgrade from 4.7.6 to 4.8.0, I't broke perms, didn't notice it right away, just some app wouldn't start due to perm issue.
> I allready tried the undoguidindex with no luck so I waited until 4.8.2 and trie dit instead (didn't worked)
> As backup stands, there was a lack of config of my part.....
> Is the following step the good way to try to restore ?
> Stop samba 4.8.2
> LDBDump database into a file
> Drop the old database file
> LDBadd file into a new database.
> Run sambaundoguidindex
> Start samba 4.8.2
> Run samba-tool dbcheck --reindex
That might work. I've not tried it myself and I would have to suggest
getting professional help, but it seems OK.
> > Sorry,
> Don't be, thank you for develloping this tool.
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
Samba Developer, Catalyst IT http://catalyst.net.nz/services/samba
To unsubscribe from this list go to the following URL and read the