[Samba] Corrupted idmap...

lingpanda101 lingpanda101 at gmail.com
Wed Jan 11 16:05:57 UTC 2017

On 1/11/2017 9:23 AM, Ryan Ashley via samba wrote:
> I started getting NT_STATUS_INVALID at a client location recently and
> now everything has stopped working. Upon a day of searching and testing,
> I realized that my idmap.ldb is likely corrupt. How can I recover from
> this, shy of creating a new domain from scratch? The NAS devices no
> longer authenticate users so files are inaccessible, computers cannot
> access the sysvol, and sysvolreset/sysvolcheck both fail. Thanks in
> advance for any help in this matter.

If you have a secondary DC that has a good idmap.ldb, transfer the FSMO 
roles and remove the corrupt DC. Second option is to restore from 
backups. Otherwise you can try and manually recover by posting your 
error logs from Samba and your smb.conf.

- James

More information about the samba mailing list