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
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Greg Dickie wrote: | 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 Bad news. Hope you have a backup of. Not much you can do but remove the tdb and restart winbindd. This means that all winbindd SID<->uid/gid mappings will be reset and any winbind local users/groups will be removed. cheers, jerry - ---------------------------------------------------------------------- Hewlett-Packard ------------------------- http://www.hp.com SAMBA Team ---------------------- http://www.samba.org GnuPG Key ---- http://www.plainjoe.org/gpg_public.asc "...a hundred billion castaways looking for a home." ----------- Sting -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFA/YPSIR7qMdg1EfYRAmDvAJ9GAU4rgHkehsuw/8oiqhN+w3hf4QCeKPE7 Er2xPssgY2B+InkUDNAwTpk=ZfA1 -----END PGP SIGNATURE-----
Apparently Analagous Threads
- Windbindd restarts and lost uids
- Not all users correctly winbind-ing on Server 2003 SP1 with 3.0.20b
- Domain member help
- Samba 2.2.5 under Debian 3.0 i386: Still frequent connections.tdb corruption
- REPOST: Samba 2.2.5 under Debian 3.0 i386: Still frequent connections.tdb corruption