if anyone is having problems with a bad secret.tdb file this is what i did to fix the it -- start smbd, nmdb, join PDC, start winbind, restart smbd/nmdb/winbind -- i think a restart of the daemons is needed, it worked for me after pull my hair out for days...