[Samba] Corrupted idmap...
Rowland Penny
rpenny at samba.org
Thu Jan 12 15:41:45 UTC 2017
On Thu, 12 Jan 2017 10:23:01 -0500
Ryan Ashley via samba <samba at lists.samba.org> wrote:
> Rowland, the secondary DC died, this is the primary, and yes it was
> fried. Smelled like somebody was cooking smores made of electrical
> wires and circuit boards in that room!
>
> Is there a way to have ldbedit output that data so I can grep
> xidNumber? There is a lot in there and keeping up with all of those
> numbers is a pain.
>
Very easily (provided ldbedit shows all the data in idmap.ldb) ;-)
Use ldbsearch and dump it into a file:
ldbsearch -H /var/lib/samba/private/idmap.ldb > idmap.txt
Rowland
More information about the samba
mailing list