After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 697510 - ntlm-test fails
ntlm-test fails
Status: RESOLVED FIXED
Product: libsoup
Classification: Core
Component: Misc
2.42.x
Other Linux
: Normal normal
: ---
Assigned To: libsoup-maint@gnome.bugs
libsoup-maint@gnome.bugs
Depends on:
Blocks:
 
 
Reported: 2013-04-07 21:09 UTC by Gilles Dartiguelongue
Modified: 2013-04-11 22:43 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
ntlm-test -d -d -h -h log (88.52 KB, text/plain)
2013-04-08 20:43 UTC, Gilles Dartiguelongue
Details

Description Gilles Dartiguelongue 2013-04-07 21:09:36 UTC
While testing this package in Gentoo:

$ ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-silent-rules --disable-dependency-tracking --disable-gtk-doc --disable-static --disable-tls-check --without-gnome --without-apache-httpd --enable-introspection --without-ntlm-auth --enable-silent-rules

$ ./ntlm-test -d
Built-in NTLM support
Round 1: Non-NTLM Connection, no auth
  /noauth    ->  -> OK
  /alice     ->  NTLM_PROMPT BASIC_PROMPT -> Unauthorized
  /alice/404 ->  NTLM_PROMPT BASIC_PROMPT -> Unauthorized
  /alice     ->  NTLM_PROMPT BASIC_PROMPT -> Unauthorized
  /bob       ->  NTLM_PROMPT BASIC_PROMPT -> Unauthorized
  /alice     ->  NTLM_PROMPT BASIC_PROMPT -> Unauthorized
  /basic     ->  BASIC_PROMPT -> Unauthorized
  /either    ->  NTLM_PROMPT BASIC_PROMPT -> Unauthorized
Round 2: NTLM Connection, user=alice
  /noauth    ->  REQUEST CHALLENGE NTLM_RESPONSE -> OK
  /alice     ->  -> OK
  /alice/404 ->  -> Not Found
  /alice     ->  -> OK
  /bob       ->  NTLM_PROMPT BASIC_PROMPT -> Unauthorized
  /alice     ->  REQUEST CHALLENGE NTLM_RESPONSE -> OK
  /basic     ->  BASIC_PROMPT BASIC_RESPONSE -> OK
  /either    ->  -> OK
Round 3: NTLM Connection, user=bob
  /noauth    ->  REQUEST CHALLENGE NTLM_RESPONSE -> OK
  /alice     ->  NTLM_PROMPT BASIC_PROMPT -> Unauthorized
  /alice/404 ->  NTLM_PROMPT BASIC_PROMPT REQUEST CHALLENGE NTLM_RESPONSE -> Unauthorized
  /alice     ->  NTLM_PROMPT BASIC_PROMPT REQUEST CHALLENGE NTLM_RESPONSE -> Unauthorized
  /bob       ->  REQUEST CHALLENGE NTLM_RESPONSE -> OK
  /alice     ->  NTLM_PROMPT BASIC_PROMPT -> Unauthorized
  /basic     ->  BASIC_PROMPT REQUEST CHALLENGE NTLM_RESPONSE BASIC_RESPONSE -> OK
  /either    ->  -> OK
Round 4: Non-NTLM Connection, user=alice
  /noauth    ->  -> OK
  /alice     ->  NTLM_PROMPT BASIC_PROMPT BASIC_RESPONSE -> OK
  /alice/404 ->  BASIC_RESPONSE -> Not Found
  /alice     ->  BASIC_RESPONSE -> OK
  /bob       ->  NTLM_PROMPT BASIC_PROMPT BASIC_RESPONSE -> Unauthorized
  /alice     ->  NTLM_PROMPT BASIC_PROMPT BASIC_RESPONSE -> OK
  /basic     ->  BASIC_PROMPT BASIC_RESPONSE -> OK
  /either    ->  NTLM_PROMPT BASIC_PROMPT BASIC_RESPONSE -> OK

External helper support
Round 1: Non-NTLM Connection, no auth
  /noauth    ->  -> OK
  /alice     ->  NTLM_PROMPT BASIC_PROMPT -> Unauthorized
  /alice/404 ->  NTLM_PROMPT BASIC_PROMPT -> Unauthorized
  /alice     ->  NTLM_PROMPT BASIC_PROMPT -> Unauthorized
  /bob       ->  NTLM_PROMPT BASIC_PROMPT -> Unauthorized
  /alice     ->  NTLM_PROMPT BASIC_PROMPT -> Unauthorized
  /basic     ->  BASIC_PROMPT -> Unauthorized
  /either    ->  NTLM_PROMPT BASIC_PROMPT -> Unauthorized
Round 2: NTLM Connection, user=alice
  /noauth    ->  REQUEST CHALLENGE NTLM_RESPONSE -> OK
  ERROR: Not using built-in NTLM support, but authenticate signal was emitted
  /alice     ->  -> OK
  /alice/404 ->  -> Not Found
  /alice     ->  -> OK
  /bob       ->  NTLM_PROMPT BASIC_PROMPT -> Unauthorized
  /alice     ->  REQUEST CHALLENGE NTLM_RESPONSE -> OK
  /basic     ->  BASIC_PROMPT BASIC_RESPONSE -> OK
  /either    ->  -> OK
Round 3: NTLM Connection, user=bob
  /noauth    ->  REQUEST CHALLENGE NTLM_RESPONSE -> OK
  ERROR: Not using built-in NTLM support, but authenticate signal was emitted
  /alice     ->  NTLM_PROMPT BASIC_PROMPT -> Unauthorized
  /alice/404 ->  NTLM_PROMPT BASIC_PROMPT REQUEST CHALLENGE NTLM_RESPONSE -> Unauthorized
  /alice     ->  NTLM_PROMPT BASIC_PROMPT REQUEST CHALLENGE NTLM_RESPONSE -> Unauthorized
  /bob       ->  REQUEST CHALLENGE NTLM_RESPONSE -> OK
  /alice     ->  NTLM_PROMPT BASIC_PROMPT -> Unauthorized
  /basic     ->  BASIC_PROMPT REQUEST CHALLENGE NTLM_RESPONSE BASIC_RESPONSE -> OK
  /either    ->  -> OK
Round 4: Non-NTLM Connection, user=alice
  /noauth    ->  -> OK
  /alice     ->  NTLM_PROMPT BASIC_PROMPT BASIC_RESPONSE -> OK
  /alice/404 ->  BASIC_RESPONSE -> Not Found
  /alice     ->  BASIC_RESPONSE -> OK
  /bob       ->  NTLM_PROMPT BASIC_PROMPT BASIC_RESPONSE -> Unauthorized
  /alice     ->  NTLM_PROMPT BASIC_PROMPT BASIC_RESPONSE -> OK
  /basic     ->  BASIC_PROMPT BASIC_RESPONSE -> OK
  /either    ->  NTLM_PROMPT BASIC_PROMPT BASIC_RESPONSE -> OK

External -> fallback support
Round 1: Non-NTLM Connection, no auth
  /noauth    ->  -> OK
  /alice     ->  NTLM_PROMPT BASIC_PROMPT -> Unauthorized
  /alice/404 ->  NTLM_PROMPT BASIC_PROMPT -> Unauthorized
  /alice     ->  NTLM_PROMPT BASIC_PROMPT -> Unauthorized
  /bob       ->  NTLM_PROMPT BASIC_PROMPT -> Unauthorized
  /alice     ->  NTLM_PROMPT BASIC_PROMPT -> Unauthorized
  /basic     ->  BASIC_PROMPT -> Unauthorized
  /either    ->  NTLM_PROMPT BASIC_PROMPT -> Unauthorized
Round 2: NTLM Connection, user=alice
  /noauth    ->  REQUEST CHALLENGE NTLM_RESPONSE -> OK
  /alice     ->  -> OK
  /alice/404 ->  -> Not Found
  /alice     ->  -> OK
  /bob       ->  NTLM_PROMPT BASIC_PROMPT -> Unauthorized
  /alice     ->  REQUEST CHALLENGE NTLM_RESPONSE -> OK
  /basic     ->  BASIC_PROMPT BASIC_RESPONSE -> OK
  /either    ->  -> OK
Round 3: NTLM Connection, user=bob
  /noauth    ->  REQUEST CHALLENGE NTLM_RESPONSE -> OK
  /alice     ->  NTLM_PROMPT BASIC_PROMPT -> Unauthorized
  /alice/404 ->  NTLM_PROMPT BASIC_PROMPT REQUEST CHALLENGE NTLM_RESPONSE -> Unauthorized
  /alice     ->  NTLM_PROMPT BASIC_PROMPT REQUEST CHALLENGE NTLM_RESPONSE -> Unauthorized
  /bob       ->  REQUEST CHALLENGE NTLM_RESPONSE -> OK
  /alice     ->  NTLM_PROMPT BASIC_PROMPT -> Unauthorized
  /basic     ->  BASIC_PROMPT REQUEST CHALLENGE NTLM_RESPONSE BASIC_RESPONSE -> OK
  /either    ->  -> OK
Round 4: Non-NTLM Connection, user=alice
  /noauth    ->  -> OK
  /alice     ->  NTLM_PROMPT BASIC_PROMPT BASIC_RESPONSE -> OK
  /alice/404 ->  BASIC_RESPONSE -> Not Found
  /alice     ->  BASIC_RESPONSE -> OK
  /bob       ->  NTLM_PROMPT BASIC_PROMPT BASIC_RESPONSE -> Unauthorized
  /alice     ->  NTLM_PROMPT BASIC_PROMPT BASIC_RESPONSE -> OK
  /basic     ->  BASIC_PROMPT BASIC_RESPONSE -> OK
  /either    ->  NTLM_PROMPT BASIC_PROMPT BASIC_RESPONSE -> OK

Retrying on failed password
  /alice
  /bob

ntlm-test: 2 error(s).


It seems to be a new failure compared to 2.40.3.
Comment 1 Dan Winship 2013-04-08 12:35:01 UTC
can you run it again as "./ntlm-test -d -d -h -h" and attach the output?
Comment 2 Gilles Dartiguelongue 2013-04-08 20:43:52 UTC
Created attachment 240981 [details]
ntlm-test -d -d -h -h log

Here you go.

and ftr, I'm doing this again 2.42 tag:

$ git name-rev --tags HEAD
HEAD tags/2.42.0^0
Comment 3 Dan Winship 2013-04-10 13:13:14 UTC
Fixed in git (the test just wasn't taking "--without-ntlm-auth" into
account). Thanks for the bug report.
Comment 4 Gilles Dartiguelongue 2013-04-11 22:43:23 UTC
Great. Thanks for all.