Rowland Penny
2017-Feb-20 19:02 UTC
[Samba] samba upgrade fails: corrupted ./private/secrets.ldb?
On Tue, 21 Feb 2017 07:13:06 +1300 Andrew Bartlett via samba <samba at lists.samba.org> wrote:> On Mon, 2017-02-20 at 13:03 +0100, lists via samba wrote: > > Hi, > > > > Hope someone can help. > > > > We're on the sernet packages, and trying to update 4.3.8 to 4.3.13 > > (=latest in the repo) This is failing like this: > >What are you trying to upgrade, a DC or domain member ? Only ask because you seem to be installing these packages:> > > root at domainmember:/etc/apt# apt-get install sernet-samba sernet- > > > samba-client sernet-samba-common sernet-samba-keyring > > > sernet-samba- libs sernet-samba-libsmbclient0 sernet-samba-winbindBut not this package:> > > Suggested packages: > > > sernet-samba-adSort of raises the question, why are you not just running 'apt-get update && apt-get upgrade' ? If it is a DC and you really want to upgrade your way, try again, but this time add the suggested package. If it is a domain member, try leaving the domain, remove the samba packages, install the new packages and join the domain again. Rowland
Hi Rowland,> What are you trying to upgrade, a DC or domain member ? > Only ask because you seem to be installing these packages:A domain member server.> Sort of raises the question, why are you not just running 'apt-get > update && apt-get upgrade' ?That's what i was initially trying to run, but I only narrowed it down to the sernet packages who were failing.> If it is a DC and you really want to upgrade your way, try again, but > this time add the suggested package.It's not a DC :-)> If it is a domain member, try leaving the domain, remove the samba > packages, install the new packages and join the domain again.Yep, I'll do that. Thanks Rowland!
Rowland Penny
2017-Feb-21 16:44 UTC
[Samba] samba upgrade fails: corrupted ./private/secrets.ldb?
On Tue, 21 Feb 2017 17:29:12 +0100 lists via samba <samba at lists.samba.org> wrote:> A domain member server. >You should be okay starting again as it's a domain member, everything really important is stored on the DC. As long you set up smb.conf etc exactly as before, you should not have any problems. Rowland
Andrew Bartlett
2017-Feb-21 21:32 UTC
[Samba] samba upgrade fails: corrupted ./private/secrets.ldb?
On Tue, 2017-02-21 at 17:29 +0100, lists via samba wrote:> Hi Rowland, > > > What are you trying to upgrade, a DC or domain member ? > > Only ask because you seem to be installing these packages: > > A domain member server.If it is a domain member server, then it can be safely deleted. Andrew Bartlett