Bug 1349 - smbd crashes in AD mode
smbd crashes in AD mode
Status: RESOLVED WONTFIX
Product: Samba 3.0
Classification: Unclassified
Component: winbind
3.0.4
All Linux
: P3 critical
: none
Assigned To: Samba Bugzilla Account
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2004-05-13 20:38 UTC by Jason Haar
Modified: 2005-11-14 09:26 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Haar 2004-05-13 20:38:50 UTC
Hi there

I've had problems ever getting Samba-3 to work in our environ in ADS mode. This
problem has occurred for me under RH8 with samba-3.0.0, and still is happening
under Fedora with samba-3.0.4 (and with the default version Fedora had too).
Note that this is on the same machine...

As far as I'm aware I went through all the correct initialization:

kinit ADMINISTRATOR@our.realm
klist -e
net ads join -Uadministrator  "Christchurch\Computers\Samba Computers"
/etc/rc.d/init.d/smb restart
/etc/rc.d/init.d/winbind restart

Everything starts off fine. Doing a "wbino -m" shows all our trusted domains (a
mixture of NT4 and other AD - we're a sub-domain [sub-realm?] of a
corporate-wide AD). However, "wbinfo -u" only ever shows users from our AD
domain plus users from trusted NT4 domains - we never see the other AD domains...

Anyway, less than 24 hours later, this PANIC occurs.

May 13 12:51:25 crom winbind: winbindd startup succeeded
May 13 13:24:34 crom winbindd[3280]: [2004/05/13 13:24:34, 0] nsswitch/winbindd_
acct.c:winbindd_create_user(884)
May 13 13:24:34 crom winbindd[3280]:   winbindd_create_user: Refusing to create 
user that already exists (AVTEST21)
May 13 13:24:34 crom winbindd[3280]: [2004/05/13 13:24:34, 0] nsswitch/winbindd_
acct.c:winbindd_create_user(884)
May 13 13:24:34 crom winbindd[3280]:   winbindd_create_user: Refusing to create 
user that already exists (AVTEST21)
May 13 13:24:34 crom smbd[6261]: [2004/05/13 13:24:34, 0] auth/auth_util.c:make_
server_info_info3(1120)
May 13 13:24:34 crom smbd[6261]:   make_server_info_info3: pdb_init_sam failed!
May 13 15:11:17 crom smbd[16103]: [2004/05/13 15:11:17, 0] lib/util_sock.c:get_p
eer_addr(978)
May 13 15:11:17 crom smbd[16103]:   getpeername failed. Error was Transport endp
oint is not connected
May 13 15:11:17 crom smbd[16103]: [2004/05/13 15:11:17, 0] lib/util_sock.c:get_p
eer_addr(978)
May 13 15:11:17 crom smbd[16103]:   getpeername failed. Error was Transport endp
oint is not connected
May 13 15:11:17 crom smbd[16103]: [2004/05/13 15:11:17, 0] lib/util_sock.c:get_p
eer_addr(978)
May 13 15:11:17 crom smbd[16103]:   getpeername failed. Error was Transport endp
oint is not connected
May 13 15:11:17 crom smbd[16103]: [2004/05/13 15:11:17, 0] lib/util_sock.c:get_p
eer_addr(978)
May 13 15:11:17 crom smbd[16103]:   getpeername failed. Error was Transport endp
oint is not connected
May 13 15:11:17 crom smbd[16103]: [2004/05/13 15:11:17, 0] lib/util_sock.c:get_p
eer_addr(978)
May 13 15:11:17 crom smbd[16103]:   getpeername failed. Error was Transport endp
oint is not connected
May 13 15:11:17 crom smbd[16103]: [2004/05/13 15:11:17, 0] lib/util_sock.c:write
_socket_data(413)
May 13 15:11:17 crom smbd[16103]:   write_socket_data: write failure. Error = Co
nnection reset by peer
May 13 15:11:17 crom smbd[16103]: [2004/05/13 15:11:17, 0] lib/util_sock.c:write
_socket(438)
May 13 15:11:17 crom smbd[16103]:   write_socket: Error writing 4 bytes to socke
t 5: ERRNO = Connection reset by peer
May 13 15:11:17 crom smbd[16103]: [2004/05/13 15:11:17, 0] lib/util_sock.c:send_
smb(630)
May 13 15:11:17 crom smbd[16103]:   Error writing 4 bytes to client. -1. (Connec
tion reset by peer)
May 13 15:20:43 crom smbd[16952]: [2004/05/13 15:20:43, 0] lib/util_sock.c:read_
socket_data(367)
May 13 15:20:43 crom smbd[16952]:   read_socket_data: recv failure for 4. Error 
= Connection reset by peer
May 13 17:14:46 crom smbd[27433]: [2004/05/13 17:14:46, 0] lib/util_sock.c:get_p
eer_addr(978)
May 13 17:14:46 crom smbd[27433]:   getpeername failed. Error was Transport endp
oint is not connected
May 13 17:14:46 crom smbd[27433]: [2004/05/13 17:14:46, 0] lib/util_sock.c:get_p
eer_addr(978)
May 13 17:14:46 crom smbd[27433]:   getpeername failed. Error was Transport endp
oint is not connected
May 13 20:14:03 crom smbd[13535]:   getpeername failed. Error was Transport endp
oint is not connected
May 13 20:14:03 crom smbd[13535]: [2004/05/13 20:14:03, 0] lib/util_sock.c:get_p
eer_addr(978)
May 13 20:14:03 crom smbd[13535]:   getpeername failed. Error was Transport endp
oint is not connected
May 13 20:14:03 crom smbd[13535]: [2004/05/13 20:14:03, 0] lib/util_sock.c:get_p
eer_addr(978)
May 13 20:14:03 crom smbd[13536]: [2004/05/13 20:14:03, 0] tdb/tdbutil.c:tdb_log
(725)
May 13 20:14:03 crom smbd[13536]:   tdb(/etc/samba/secrets.tdb): rec_read bad ma
gic 0x16 at offset=1292
May 13 20:14:06 crom smbd[13536]: [2004/05/13 20:14:06, 0] smbd/tdbutil.c:smbd_t
db_log(42)
May 13 20:14:06 crom smbd[13536]:   tdb(/var/lib/samba/connections.tdb): tdb_oob
 len -1084299280 beyond eof at 8192
May 13 20:14:06 crom smbd[13536]: [2004/05/13 20:14:06, 0] lib/util.c:smb_panic2
(1398)
May 13 20:14:06 crom smbd[13536]:   PANIC: i/o error on tdb.
May 13 20:14:06 crom smbd[13536]:
May 13 20:14:06 crom smbd[13536]: [2004/05/13 20:14:06, 0] lib/util.c:smb_panic2
(1406)
May 13 20:14:06 crom smbd[13536]:   BACKTRACE: 14 stack frames:
May 13 20:14:06 crom smbd[13536]:    #0 smbd(smb_panic2+0x111) [0x81d1fb1]
May 13 20:14:06 crom smbd[13536]:    #1 smbd(smbd_tdb_log+0xbd) [0x819979d]
May 13 20:14:06 crom smbd[13536]:    #2 smbd [0x81e35dc]
May 13 20:14:06 crom smbd[13536]:    #3 smbd [0x81e374d]
May 13 20:14:06 crom smbd[13536]:    #4 smbd [0x81e39be]
May 13 20:14:06 crom smbd[13536]:    #5 smbd [0x81e49c3]
May 13 20:14:06 crom smbd[13536]:    #6 smbd [0x81e4b32]
May 13 20:14:06 crom smbd[13536]:    #7 smbd [0x81e5868]
May 13 20:14:06 crom smbd[13536]:    #8 smbd(tdb_delete+0x3a) [0x81e591a]
May 13 20:14:06 crom smbd[13536]:    #9 smbd(yield_connection+0x6d) [0x808371d]
May 13 20:14:06 crom smbd[13536]:    #10 smbd(exit_server+0x9b) [0x82401fb]
May 13 20:14:06 crom smbd[13536]:    #11 smbd(main+0x4e7) [0x82408b7]
May 13 20:14:06 crom smbd[13536]:    #12 /lib/tls/libc.so.6(__libc_start_main+0x
f0) [0x44c770]
May 13 20:14:06 crom smbd[13536]:    #13 smbd(fsetxattr+0x35) [0x8078151]
May 13 20:14:06 crom smbd[13536]:
May 13 20:14:06 crom smbd[13536]: [2004/05/13 20:14:06, 0] lib/fault.c:fault_rep
ort(36)
May 13 20:14:06 crom smbd[13536]:   ============================================
===================
May 13 20:14:06 crom smbd[13536]: [2004/05/13 20:14:06, 0] lib/fault.c:fault_rep
ort(37)
May 13 20:14:06 crom smbd[13536]:   INTERNAL ERROR: Signal 6 in pid 13536 (3.0.4
) 
May 13 20:14:06 crom smbd[13536]:   Please read the appendix Bugs of the Samba H
OWTO collection
May 13 20:14:06 crom smbd[13536]: [2004/05/13 20:14:06, 0] lib/fault.c:fault_rep
ort(39)
May 13 20:14:06 crom smbd[13536]:   ============================================
===================
May 13 20:14:06 crom smbd[13536]: [2004/05/13 20:14:06, 0] lib/util.c:smb_panic2
(1398)
May 13 20:14:06 crom smbd[13536]:   PANIC: internal error
May 13 20:14:06 crom smbd[13536]: [2004/05/13 20:14:06, 0] lib/util.c:smb_panic2
(1406)
May 13 20:14:06 crom smbd[13536]:   BACKTRACE: 19 stack frames:
May 13 20:14:06 crom smbd[13536]:    #0 smbd(smb_panic2+0x111) [0x81d1fb1]
May 13 20:14:06 crom smbd[13536]:    #1 smbd(smb_panic+0x1a) [0x81d1e9a]
May 13 20:14:06 crom smbd[13536]:    #2 smbd [0x81bfe48]
May 13 20:14:06 crom smbd[13536]:    #3 /lib/tls/libc.so.6 [0x45ea58]
May 13 20:14:06 crom smbd[13536]:    #4 /lib/tls/libc.so.6(abort+0x1d2) [0x46034
2]
May 13 20:14:06 crom smbd[13536]:    #5 smbd [0x81d2101]
May 13 20:14:06 crom smbd[13536]:    #6 smbd(smbd_tdb_log+0xbd) [0x819979d]
May 13 20:14:06 crom smbd[13536]:    #7 smbd [0x81e35dc]
May 13 20:14:06 crom smbd[13536]:    #8 smbd [0x81e374d]
May 13 20:14:06 crom smbd[13536]:    #9 smbd [0x81e39be]
May 13 20:14:06 crom smbd[13536]:    #10 smbd [0x81e49c3]
May 13 20:14:06 crom smbd[13536]:    #11 smbd [0x81e4b32]
May 13 20:14:06 crom smbd[13536]:    #12 smbd [0x81e5868]
May 13 20:14:06 crom smbd[13536]:    #13 smbd(tdb_delete+0x3a) [0x81e591a]
May 13 20:14:06 crom smbd[13536]:    #14 smbd(yield_connection+0x6d) [0x808371d]
 
May 13 20:14:06 crom smbd[13536]:    #15 smbd(exit_server+0x9b) [0x82401fb]
May 13 20:14:06 crom smbd[13536]:    #16 smbd(main+0x4e7) [0x82408b7]
May 13 20:14:06 crom smbd[13536]:    #17 /lib/tls/libc.so.6(__libc_start_main+0x
f0) [0x44c770]
May 13 20:14:06 crom smbd[13536]:    #18 smbd(fsetxattr+0x35) [0x8078151]
May 13 20:14:06 crom smbd[13536]:
May 13 20:14:10 crom smbd[13544]: [2004/05/13 20:14:10, 0] tdb/tdbutil.c:tdb_log
(725)
May 13 20:14:10 crom smbd[13544]:   tdb(/etc/samba/secrets.tdb): tdb_oob len 563
6006 beyond eof at 8192
May 13 20:14:10 crom smbd[13544]: [2004/05/13 20:14:10, 0] tdb/tdbutil.c:tdb_log
(725)
May 13 20:14:10 crom smbd[13544]:   tdb(/etc/samba/secrets.tdb): rec_read bad ma
gic 0x0 at offset=748
May 13 20:14:10 crom smbd[13544]: [2004/05/13 20:14:10, 0] tdb/tdbutil.c:tdb_log
(725)
May 13 20:14:10 crom smbd[13544]:   tdb(/etc/samba/secrets.tdb): rec_read bad ma
gic 0x0 at offset=748
May 13 20:14:10 crom smbd[13544]: [2004/05/13 20:14:10, 0] tdb/tdbutil.c:tdb_log
(725)
May 13 20:14:10 crom smbd[13544]:   tdb(/etc/samba/secrets.tdb): tdb_oob len -10
84307160 beyond eof at 8192
May 13 20:14:10 crom smbd[13544]: [2004/05/13 20:14:10, 0] passdb/machine_sid.c:
pdb_generate_sam_sid(176)
May 13 20:14:10 crom smbd[13544]:   pdb_generate_sam_sid: Failed to store genera
ted machine SID.
May 13 20:14:10 crom smbd[13544]: [2004/05/13 20:14:10, 0] lib/util.c:smb_panic2
(1398)
May 13 20:14:10 crom smbd[13544]:   PANIC: Could not generate a machine SID
May 13 20:14:10 crom smbd[13544]:
May 13 20:14:10 crom smbd[13544]: [2004/05/13 20:14:10, 0] lib/util.c:smb_panic2
(1406)
May 13 20:14:10 crom smbd[13544]:   BACKTRACE: 6 stack frames:
May 13 20:14:10 crom smbd[13544]:    #0 smbd(smb_panic2+0x111) [0x81d1fb1]
May 13 20:14:10 crom smbd[13544]:    #1 smbd(smb_panic+0x1a) [0x81d1e9a]
May 13 20:14:10 crom smbd[13544]:    #2 smbd(get_global_sam_sid+0x34) [0x8193d14
] 
May 13 20:14:10 crom smbd[13544]:    #3 smbd(main+0x3dc) [0x82407ac]
May 13 20:14:10 crom smbd[13544]:    #4 /lib/tls/libc.so.6(__libc_start_main+0xf
0) [0x44c770]
May 13 20:14:10 crom smbd[13544]:    #5 smbd(fsetxattr+0x35) [0x8078151]
May 13 20:14:10 crom smbd[13544]:
May 13 20:14:10 crom smbd[13544]: [2004/05/13 20:14:10, 0] lib/fault.c:fault_rep
ort(36)
May 13 20:14:10 crom smbd[13544]:   ============================================
===================
May 13 20:14:10 crom smbd[13544]: [2004/05/13 20:14:10, 0] lib/fault.c:fault_rep
ort(37)
May 13 20:14:10 crom smbd[13544]:   INTERNAL ERROR: Signal 6 in pid 13544 (3.0.4
) 
May 13 20:14:10 crom smbd[13544]:   Please read the appendix Bugs of the Samba H
OWTO collection
May 13 20:14:10 crom smbd[13544]: [2004/05/13 20:14:10, 0] lib/fault.c:fault_rep
ort(39)
May 13 20:14:10 crom smbd[13544]:   ============================================
===================
May 13 20:14:10 crom smbd[13544]: [2004/05/13 20:14:10, 0] lib/util.c:smb_panic2
(1398)
May 13 20:14:10 crom smbd[13544]:   PANIC: internal error
May 13 20:14:10 crom smbd[13544]: [2004/05/13 20:14:10, 0] lib/util.c:smb_panic2
(1406)
May 13 20:14:10 crom smbd[13544]:   BACKTRACE: 11 stack frames:
May 13 20:14:10 crom smbd[13544]:    #0 smbd(smb_panic2+0x111) [0x81d1fb1]
May 13 20:14:10 crom smbd[13544]:    #1 smbd(smb_panic+0x1a) [0x81d1e9a]
May 13 20:14:10 crom smbd[13544]:    #2 smbd [0x81bfe48]
May 13 20:14:10 crom smbd[13544]:    #3 /lib/tls/libc.so.6 [0x45ea58]
May 13 20:14:10 crom smbd[13544]:    #4 /lib/tls/libc.so.6(abort+0x1d2) [0x46034
2]
May 13 20:14:10 crom smbd[13544]:    #5 smbd [0x81d2101]
May 13 20:14:10 crom smbd[13544]:    #6 smbd(smb_panic+0x1a) [0x81d1e9a]
May 13 20:14:10 crom smbd[13544]:    #7 smbd(get_global_sam_sid+0x34) [0x8193d14
] 
May 13 20:14:10 crom smbd[13544]:    #8 smbd(main+0x3dc) [0x82407ac]
May 13 20:14:10 crom smbd[13544]:    #9 /lib/tls/libc.so.6(__libc_start_main+0xf
0) [0x44c770]
May 13 20:14:10 crom smbd[13544]:    #10 smbd(fsetxattr+0x35) [0x8078151]
May 13 20:14:10 crom smbd[13544]:
May 13 20:14:43 crom winbindd[3280]: [2004/05/13 20:14:43, 0] tdb/tdbutil.c:tdb_
log(725)
May 13 20:14:43 crom winbindd[3280]:   tdb(/var/lib/samba/gencache.tdb): tdb_oob
 len 1684103050 beyond eof at 8192
May 13 20:14:43 crom winbindd[3280]: [2004/05/13 20:14:43, 0] tdb/tdbutil.c:tdb_
log(725)
May 13 20:14:43 crom winbindd[3280]:   tdb(/var/lib/samba/gencache.tdb): tdb_oob
 len 1684103050 beyond eof at 8192
May 13 20:14:43 crom winbindd[3280]: [2004/05/13 20:14:43, 0] tdb/tdbutil.c:tdb_
log(725)
May 13 20:14:43 crom winbindd[3280]:   tdb(/var/lib/samba/gencache.tdb): tdb_oob
 len 1684103050 beyond eof at 8192
May 13 20:14:43 crom winbindd[3280]: [2004/05/13 20:14:43, 0] tdb/tdbutil.c:tdb_
log(725)
May 13 20:14:43 crom winbindd[3280]:   tdb(/var/lib/samba/gencache.tdb): tdb_oob
 len 1684103050 beyond eof at 8192
May 13 20:14:43 crom winbindd[3280]: [2004/05/13 20:14:43, 0] tdb/tdbutil.c:tdb_
log(725)
May 13 20:14:43 crom winbindd[3280]:   tdb(/var/lib/samba/gencache.tdb): tdb_oob
 len 540225863 beyond eof at 8192
May 13 20:14:43 crom winbindd[3280]: [2004/05/13 20:14:43, 0] tdb/tdbutil.c:tdb_
log(725)
May 13 20:14:43 crom winbindd[3280]:   tdb(/etc/samba/secrets.tdb): rec_read bad
 magic 0x16 at offset=1292
May 13 20:14:43 crom winbindd[3280]: [2004/05/13 20:14:43, 0] tdb/tdbutil.c:tdb_
log(725)
May 13 20:14:43 crom winbindd[3280]:   tdb(/etc/samba/secrets.tdb): tdb_oob len 
-1084309020 beyond eof at 8192
May 13 20:14:43 crom winbindd[3280]: [2004/05/13 20:14:43, 0] tdb/tdbutil.c:tdb_
log(725)
May 13 20:14:43 crom winbindd[3280]:   tdb(/etc/samba/secrets.tdb): rec_read bad
 magic 0x16 at offset=1292
May 13 20:14:43 crom winbindd[3280]: [2004/05/13 20:14:43, 0] tdb/tdbutil.c:tdb_
log(725)
May 13 20:14:43 crom winbindd[3280]:   tdb(/var/lib/samba/gencache.tdb): tdb_oob
 len -1084265940 beyond eof at 8192
May 13 20:14:43 crom winbindd[3280]: [2004/05/13 20:14:43, 0] tdb/tdbutil.c:tdb_
log(725)
May 13 20:14:43 crom winbindd[3280]:   tdb(/var/lib/samba/gencache.tdb): tdb_oob
 len -1084265940 beyond eof at 8192
May 13 20:14:44 crom smbd[13578]:   tdb(/etc/samba/secrets.tdb): rec_read bad ma
gic 0x0 at offset=748
May 13 20:14:44 crom smbd[13578]: [2004/05/13 20:14:44, 0] tdb/tdbutil.c:tdb_log
(725)
May 13 20:14:44 crom smbd[13578]:   tdb(/etc/samba/secrets.tdb): tdb_oob len -10
84307160 beyond eof at 8192
May 13 20:14:44 crom smbd[13578]: [2004/05/13 20:14:44, 0] passdb/machine_sid.c:
pdb_generate_sam_sid(176)
May 13 20:14:44 crom smbd[13578]:   pdb_generate_sam_sid: Failed to store genera
ted machine SID.
May 13 20:14:44 crom smbd[13578]: [2004/05/13 20:14:44, 0] lib/util.c:smb_panic2
(1398)
May 13 20:14:44 crom smbd[13578]:   PANIC: Could not generate a machine SID
May 13 20:14:44 crom smbd[13578]:
May 13 20:14:44 crom smbd[13578]: [2004/05/13 20:14:44, 0] lib/util.c:smb_panic2
(1406)
May 13 20:14:44 crom smbd[13578]:   BACKTRACE: 6 stack frames:
May 13 20:14:44 crom smbd[13578]:    #0 smbd(smb_panic2+0x111) [0x81d1fb1]
May 13 20:14:44 crom smbd[13578]:    #1 smbd(smb_panic+0x1a) [0x81d1e9a]
May 13 20:14:44 crom smbd[13578]:    #2 smbd(get_global_sam_sid+0x34) [0x8193d14
] 
May 13 20:14:44 crom smbd[13578]:    #3 smbd(main+0x3dc) [0x82407ac]
May 13 20:14:44 crom smbd[13578]:    #4 /lib/tls/libc.so.6(__libc_start_main+0xf
0) [0x44c770]
May 13 20:14:44 crom smbd[13578]:    #5 smbd(fsetxattr+0x35) [0x8078151]
May 13 20:14:44 crom smbd[13578]:
May 13 20:14:44 crom smbd[13578]: [2004/05/13 20:14:44, 0] lib/fault.c:fault_rep
ort(36)
May 13 20:14:44 crom smbd[13578]:   ============================================
===================
May 13 20:14:44 crom smbd[13578]: [2004/05/13 20:14:44, 0] lib/fault.c:fault_rep
ort(37)
May 13 20:14:44 crom smbd[13578]:   INTERNAL ERROR: Signal 6 in pid 13578 (3.0.4
) 
May 13 20:14:44 crom smbd[13578]:   Please read the appendix Bugs of the Samba H
OWTO collection
May 13 20:14:44 crom smbd[13578]: [2004/05/13 20:14:44, 0] lib/fault.c:fault_rep
ort(39)
May 13 20:14:44 crom smbd[13578]:   ============================================
===================
May 13 20:14:44 crom smbd[13578]: [2004/05/13 20:14:44, 0] lib/util.c:smb_panic2
(1398)
May 13 20:14:44 crom smbd[13578]:   PANIC: internal error
May 13 20:14:44 crom smbd[13578]: [2004/05/13 20:14:44, 0] lib/util.c:smb_panic2
(1406)
May 13 20:14:44 crom smbd[13578]:   BACKTRACE: 11 stack frames:
May 13 20:14:44 crom smbd[13578]:    #0 smbd(smb_panic2+0x111) [0x81d1fb1]
May 13 20:14:44 crom smbd[13578]:    #1 smbd(smb_panic+0x1a) [0x81d1e9a]
May 13 20:14:44 crom smbd[13578]:    #2 smbd [0x81bfe48]
May 13 20:14:44 crom smbd[13578]:    #3 /lib/tls/libc.so.6 [0x45ea58]
May 13 20:14:44 crom smbd[13578]:    #4 /lib/tls/libc.so.6(abort+0x1d2) [0x46034
2]
May 13 20:14:44 crom smbd[13578]:    #5 smbd [0x81d2101]
May 13 20:14:44 crom smbd[13578]:    #6 smbd(smb_panic+0x1a) [0x81d1e9a]
May 13 20:14:44 crom smbd[13578]:    #7 smbd(get_global_sam_sid+0x34) [0x8193d14
] 
May 13 20:14:44 crom smbd[13578]:    #8 smbd(main+0x3dc) [0x82407ac]
May 13 20:14:44 crom smbd[13578]:    #9 /lib/tls/libc.so.6(__libc_start_main+0xf
0) [0x44c770]
May 13 20:14:44 crom smbd[13578]:    #10 smbd(fsetxattr+0x35) [0x8078151]
May 13 20:14:44 crom smbd[13578]:
May 13 20:14:44 crom smbd[13579]: [2004/05/13 20:14:44, 0] tdb/tdbutil.c:tdb_log
(725)
Comment 1 Jason Haar 2004-05-16 17:45:02 UTC
I decided to try deleting the workstation from AD (via MMC) and then explicitly
get Samba "net join" to add it back in.

So I deleted the workstation and redid the "net join" and got the following error:

Using short domain name -- MYDOM
[2004/05/17 12:42:22, 0] tdb/tdbutil.c:tdb_log(725)
  tdb(/etc/samba/secrets.tdb): rec_free_read bad magic 0x8dab310 at offset=860

Whoa - looks like DB corruption? Something must be badly broken there...

Any help?

Jason
Comment 2 Gerald (Jerry) Carter 2004-05-18 07:21:12 UTC
secrets.tdb is corrupt.  You'll have to remove the tdb 
and rejoin the domain.  The crash is a manual abort 
due to this corrupt tdb.  Aborting is the best we can 
do here wither being able to read an admin's mind or 
prompt for input.
Comment 3 Jason Haar 2004-05-18 11:40:57 UTC
Well since reporting this I have already trashed /var/cache/samba and
/etc/samba/secrets.tdb and have fully reinitialized my AD membership.

Within 2 days it happened again!

If secrets.tbd is corrupt, then it's repeatable...
Comment 4 Gerald (Jerry) Carter 2005-11-14 09:26:42 UTC
database cleanup