Re: [Samba] Corrupted sam.ldb
- Date: Tue, 25 Sep 2018 17:10:30 +0100
- From: Rowland Penny via samba <samba@xxxxxxxxxxxxxxx>
- Subject: Re: [Samba] Corrupted sam.ldb
On Tue, 25 Sep 2018 15:38:35 GMT
Torin Woltjer via samba <samba@xxxxxxxxxxxxxxx> wrote:
> sam.ldb on a domain seems corrupted. A fresh domain works fine so
> samba itself seems fine. Running the command, sudo ldbsearch -H
> sam.ldb '(objectclass=computer)' dn returns a slew of errors.
> I need the data out of this as the server it's from is supposed to be
> production. Is there a way to either repair it or recover any
> portions of it into a new sam.ldb? I'm open to suggestions.
> Torin Woltjer
> Grand Dial Communications - A ZK Tech Inc. Company
> 616.776.1066 ext. 2006
Are you in the private directory when you issue the 'ldbsearch'
Try it again with the full path to sam.ldb e.g.
If your database is damaged, try running 'samba-tool dbcheck'
If this shows errors, run it again and add '--fix'
To unsubscribe from this list go to the following URL and read the