Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1375936

Summary: ntlm-test crash
Product: Red Hat Enterprise Linux 7 Reporter: Jiri Koten <jkoten>
Component: libsoupAssignee: Milan Crha <mcrha>
Status: CLOSED CURRENTRELEASE QA Contact: Desktop QE <desktop-qa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3CC: danw, tpopela
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: libsoup-2.62.2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-03-07 17:07:37 UTC Type: Bug
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
backtrace none

Description Jiri Koten 2016-09-14 09:37:00 UTC
Description of problem:
Running the test suite, ntlm-test crashed.

traps: lt-ntlm-test[14285] trap int3 ip:7f7673aa7643 sp:7fff7945af00 error:0

$ ./ntlm-test -d -d               
/ntlm/retry:   /alice
 (S:unauth) (S:sent) (S:unauth) (S:sent) (S:alice)  /bob
 (S:unauth) (S:sent) (S:unauth) (S:sent) (S:alice)OK
/ntlm/builtin/none:  (S:unauth)  /noauth    ->  -> OK
 (S:unauth)  /alice     ->  NTLM_PROMPT BASIC_PROMPT -> Unauthorized
 (S:unauth)  /alice/404 ->  NTLM_PROMPT BASIC_PROMPT -> Unauthorized
 (S:unauth)  /alice     ->  NTLM_PROMPT BASIC_PROMPT -> Unauthorized
 (S:unauth)  /bob       ->  NTLM_PROMPT BASIC_PROMPT -> Unauthorized
 (S:unauth)  /alice     ->  NTLM_PROMPT BASIC_PROMPT -> Unauthorized
 (S:unauth)  /basic     ->  BASIC_PROMPT -> Unauthorized
 (S:unauth)  /either    ->  NTLM_PROMPT BASIC_PROMPT -> Unauthorized
OK
/ntlm/builtin/alice:  (S:sent) (S:alice)  /noauth    ->  REQUEST CHALLENGE NTLM_RESPONSE -> OK
 (S:alice)  /alice     ->  -> OK
 (S:alice)  /alice/404 ->  -> Not Found
 (S:alice)  /alice     ->  -> OK

(ntlm-test:28744): libsoup-WARNING **: SoupMessage 0xed3aa0 stuck in infinite loop?



Version-Release number of selected component (if applicable):
libsoup-2.48.1-6.el7
samba-4.4.4-9.el7

How reproducible:
100%

Comment 1 Jiri Koten 2016-09-14 09:38:05 UTC
Created attachment 1200780 [details]
backtrace

Comment 2 Dan Winship 2016-09-14 12:05:05 UTC
Apparently fedora/rhel's version of the patch for bug 1088458 doesn't match the upstream commit. (The upstream version doesn't remove the "conn->state = SOUP_NTLM_FAILED" line.) Fixing that (and pulling in the rest of the upstream patch to get the corresponding change to ntlm-test.c too) fixes ntlm-test, but maybe that breaks the fix for 1088458?

Comment 3 Milan Crha 2019-03-07 17:07:37 UTC
I just realized that the current 2.62.2 has this fixed, the test doesn't crash and reports:

/ntlm/retry: OK
/ntlm/builtin/none: OK
/ntlm/builtin/alice: OK
/ntlm/builtin/bob: OK
/ntlm/builtin/basic: OK
/ntlm/winbind/none: SKIP
/ntlm/winbind/alice: SKIP
/ntlm/winbind/bob: SKIP
/ntlm/winbind/basic: SKIP
/ntlm/fallback/none: SKIP
/ntlm/fallback/alice: SKIP
/ntlm/fallback/bob: SKIP
/ntlm/fallback/basic: SKIP
/ntlm/ssp/none: OK
/ntlm/ssp/alice: OK
/ntlm/ssp/bob: OK
/ntlm/ssp/basic: OK

when I ran it locally, thus I'm closing this.