[Samba] corrupt tdb problems

Greg Dickie greg at max-t.com
Fri Jul 16 17:51:01 GMT 2004


Hi,

I'm seeing this in log.winbind

[2004/07/16 13:26:57, 0] tdb/tdbutil.c:tdb_log(725)
  tdb(/var/lib/samba/winbindd_idmap.tdb): rec_free_read bad magic
0x42424242 at offset=25528
[2004/07/16 13:26:57, 1]
nsswitch/winbindd_user.c:winbindd_fill_pwent(50)
  error getting user id for sid
S-1-5-21-2216088991-3827457959-3939315012-1283
[2004/07/16 13:26:57, 0] tdb/tdbutil.c:tdb_log(725)
  tdb(/var/lib/samba/winbindd_idmap.tdb): rec_free_read bad magic
0x42424242 at offset=25528
[2004/07/16 13:26:57, 0] nsswitch/winbindd_acct.c:wb_storepwnam(467)
  wb_storepwnam: Failed to store
"testing:x:2422:99:testing:/home/%D/%U:/bin/false"

and I'm assuming this is due to a corrupt tdb so I stopped samba and ran
tdbbackup and I get this:

# tdbbackup *.tdb
failed to copy winbindd_idmap.tdb

Does this mean it cannot be repaired? Have I lost all my SID->UID
mappings and if so why would this happen?


THanks alot,
Greg


-- 
Greg Dickie
just a guy
Maximum Throughput



More information about the samba mailing list