[Samba] How to regenerate passdb.tdb
Jeremy Allison
jra at samba.org
Thu Jul 8 15:43:10 MDT 2010
On Thu, Jul 08, 2010 at 11:32:32AM +1000, Abe Lau wrote:
> Hi,
> I was having problem with the tdbsam backend in which a particular user got
> listed twice with pdbedit.
> (http://www.mail-archive.com/samba@lists.samba.org/msg109110.html)
>
> Without much hope in fixing it, I am planning to re-generating passdb.tdb on
> my PDC by:
> (1)exporting tdbsam to smbpasswd backend
> (2)delete passdb.tdb
> (3)re-import smbpasswd to tdbsam backend
If you do this you lose a lot of the extra
data that tdbsam stores that smbpasswd does
not.
Jeremy.
More information about the samba
mailing list