Bug 862304

Summary: [abrt] samba-winbind-clients-4.0.0-151.fc19.rc2: smb_panic_default: Process /usr/bin/ntlm_auth was killed by signal 6 (SIGABRT)
Product: [Fedora] Fedora Reporter: Erik van Pienbroek <erik-fedora>
Component: sambaAssignee: Guenther Deschner <gdeschner>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: abokovoy, asn, austinenglish, gdeschner, jlayton, mstefani, mstefani, sbose, ssorce
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:37be9be8361777caa278cc3d451c627529bc9a2f
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-07 16:35:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: core_backtrace
none
File: environ
none
File: backtrace
none
File: limits
none
File: cgroup
none
File: maps
none
File: dso_list
none
File: build_ids
none
File: open_fds
none
File: var_log_messages none

Description Erik van Pienbroek 2012-10-02 15:04:58 UTC
Description of problem:
Authenticating against an Microsoft Exchange mail server using Microsoft Outlook 2007 (Wine)

Version-Release number of selected component:
samba-winbind-clients-4.0.0-151.fc19.rc2

Additional info:
libreport version: 2.0.14
abrt_version:   2.0.13
backtrace_rating: 4
cmdline:        ntlm_auth --helper-protocol=ntlmssp-client-1 --username=erik.vanpienbroek --domain=PRORAILNL
crash_function: smb_panic_default
kernel:         3.6.0-0.rc7.git0.1.fc18.x86_64

truncated backtrace:
:Thread no. 1 (7 frames)
: #2 smb_panic_default at ../lib/util/fault.c:149
: #3 smb_panic at ../lib/util/fault.c:162
: #4 fault_report at ../lib/util/fault.c:77
: #5 sig_fault at ../lib/util/fault.c:88
: #7 manage_gensec_request at ../source4/utils/ntlm_auth.c:628
: #8 manage_squid_request at ../source4/utils/ntlm_auth.c:1012
: #9 squid_stream at ../source4/utils/ntlm_auth.c:1023

Comment 1 Erik van Pienbroek 2012-10-02 15:05:01 UTC
Created attachment 620332 [details]
File: core_backtrace

Comment 2 Erik van Pienbroek 2012-10-02 15:05:03 UTC
Created attachment 620333 [details]
File: environ

Comment 3 Erik van Pienbroek 2012-10-02 15:05:07 UTC
Created attachment 620334 [details]
File: backtrace

Comment 4 Erik van Pienbroek 2012-10-02 15:05:09 UTC
Created attachment 620335 [details]
File: limits

Comment 5 Erik van Pienbroek 2012-10-02 15:05:11 UTC
Created attachment 620336 [details]
File: cgroup

Comment 6 Erik van Pienbroek 2012-10-02 15:05:14 UTC
Created attachment 620337 [details]
File: maps

Comment 7 Erik van Pienbroek 2012-10-02 15:05:16 UTC
Created attachment 620338 [details]
File: dso_list

Comment 8 Erik van Pienbroek 2012-10-02 15:05:18 UTC
Created attachment 620339 [details]
File: build_ids

Comment 9 Erik van Pienbroek 2012-10-02 15:05:20 UTC
Created attachment 620340 [details]
File: open_fds

Comment 10 Erik van Pienbroek 2012-10-02 15:05:22 UTC
Created attachment 620341 [details]
File: var_log_messages

Comment 11 Erik van Pienbroek 2012-10-03 19:19:32 UTC
Additional information:
When I rename the /usr/bin/ntlm_auth3 binary to /usr/bin/ntlm_auth (which is also provided by the same package) then the segfault doesn't occur and MS Outlook works fine

Comment 12 Alexander Bokovoy 2012-10-03 19:24:30 UTC
Thanks.

We are going to remove source4/utils/ntlm_auth.c upstream since winbindd from source4/ is not built and ntlm_auth should be synchronized with winbindd version (source4 should use source4, source3 -- source3).

Comment 13 austinenglish 2013-02-03 10:05:34 UTC
Running wine's test suite. To reproduce, download/compile wine,  then:
$ cd $WINESRC/dlls/secur32/tests
$ make ntlm.ok


backtrace_rating: 4
Package: samba-winbind-clients-4.0.0-168.fc18.rc5
OS Release: Fedora release 18 (Spherical Cow)

Comment 14 Andreas Schneider 2013-02-04 16:13:24 UTC
This sounds like bug #906182. We don't parse the PAC correctly.

Comment 15 Andreas Schneider 2013-02-07 16:35:33 UTC

*** This bug has been marked as a duplicate of bug 906182 ***