Bug 162 - Segfault when joined to an NT4 domain that has a trust to a Mixed Mode ADS with restrict anonymous set to 2
Summary: Segfault when joined to an NT4 domain that has a trust to a Mixed Mode ADS wi...
Status: CLOSED FIXED
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: winbind (show other bugs)
Version: 3.0.0preX
Hardware: Other Linux
: P1 regression
Target Milestone: none
Assignee: Andrew Bartlett
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-13 18:30 UTC by Marc Kaplan
Modified: 2005-08-24 10:16 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Kaplan 2003-06-13 18:30:48 UTC
Segfault when joined to an NT4 domain that has a trust to a Mixed Mode ADS 
with restrict anonymous set to 2

Here is the relevant portion of the log.winbindd. I'll attach a bt when I get 
some time (it's not on my side right now):
000018 ds_io_r_getprimdominfo
    0018 ptr: 0010ca10
    001c level: 0001
    001e unknown0: 5c45
    0020 machine_role: 0005
    0022 unknown: 7361
    0024 flags: 01000003
    0028 netbios_ptr: 0014cfc0
    002c dnsname_ptr: 00144470
    0030 forestname_ptr: 001059f8
    0034 domain_guid: 51 d2 1c fb fa ce 00 46 90 9d aa a4 59 f1 ea e2
    000044 smb_io_unistr2 netbios_domain
        0044 uni_max_len: 0000000a
        0048 undoc      : 00000000
        004c uni_str_len: 0000000a
        0050 buffer     : M.I.X.E.D.M.O.D.E...
    000064 smb_io_unistr2 dns_domain
        0064 uni_max_len: 00000015
        0068 undoc      : 00000000
        006c uni_str_len: 00000015
        0070 buffer     : m.i.x.e.d.m.o.d.e...a.d.s.t.e.s.t.n.e.w...
      00009c smb_io_unistr2 forest_domain
        009c uni_max_len: 00000015
        00a0 undoc      : 00000000
        00a4 uni_str_len: 00000015
        00a8 buffer     : m.i.x.e.d.m.o.d.e...a.d.s.t.e.s.t.n.e.w...
    00d4 status: NT_STATUS_OK
add_trusted_domain: MIXEDMODE is a mixed (or NT4) mode domain
Added domain MIXEDMODE  S-1-5-21-823518204-1060284298-854245398
trustdom_store: storing SID S-1-5-21-823518204-1060284298-854245398 of domain 
MIXEDMODE
Adding cache entry with key = TDOM/MIXEDMODE; value = 
S-1-5-21-823518204-1060284298-854245398 and timeout                  = Fri 
Jun 13 17:41:38 2003
 (297 seconds ahead)
fetch_cache_seqnum: invalid data size key [SEQNUM/MIXEDMODE]
===============================================================
INTERNAL ERROR: Signal 11 in pid 24726 (3.0.0beta1)
Please read the appendix Bugs of the Samba HOWTO collection
===============================================================
smb_panic(): calling panic action [/usr/local/samba/lib/backtrace 24726]
sh: /usr/local/samba/lib/backtrace: No such file or directory
smb_panic(): action returned status 127
PANIC: internal error
BACKTRACE: 11 stack frames:
 #0 winbindd(smb_panic+0x14e) [0x80aef6e]
 #1 winbindd [0x809f546]
 #2 winbindd [0x42029188]
 #3 winbindd [0x80739ca]
 #4 winbindd(winbindd_show_sequence+0x98) [0x8075a78]
 #5 winbindd(ber_scanf+0x721) [0x806b4c9]
 #6 winbindd(winbind_process_packet+0x1d) [0x806b7ad]
 #7 winbindd(strftime+0x1d5b) [0x806c033]
 #8 winbindd(main+0x46e) [0x806c57e]
 #9 winbindd(__libc_start_main+0x95) [0x42017589]
 #10 winbindd(chroot+0x39) [0x806ae21]
Comment 1 Gerald (Jerry) Carter (dead mail address) 2003-08-06 14:55:44 UTC
I'm pretty sure this has been fixed as part of all the
work that has gone on with winbindd.  I cannot reproduce 
it.  Neither enumerating trusted domains nor sequence numbers
causes any panics in the log.  Reopen this is you can still 
reproduce this bug against the current CVS code.
Comment 2 Gerald (Jerry) Carter (dead mail address) 2005-02-07 08:39:04 UTC
originally reported against 3.0.0beta1.  CLeaning out 
non-production release versions.
Comment 3 Gerald (Jerry) Carter (dead mail address) 2005-08-24 10:16:20 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.