Your message dated Mon, 24 Jul 2006 03:23:52 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#344904: fixed in ntlmaps 0.9.9.0.1-1
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: ntlmaps
Version: 0.9.9-2sarge1
Severity: important

Ntlmaps fails to translate BASIC authentication to NTLM using NTLMSSP(?)
message.

Used configuration follows:

[GENERAL]
LISTEN_PORT: 5865
PARENT_PROXY: proxy
PARENT_PROXY_PORT: 8080
PARENT_PROXY_TIMEOUT:15
ALLOW_EXTERNAL_CLIENTS:0
FRIENDLY_IPS:
URL_LOG:0
MAX_CONNECTION_BACKLOG:5
[CLIENT_HEADER]
[NTLM_AUTH]
NT_HOSTNAME:knu
NT_DOMAIN:AVT
LM_PART:0
NT_PART:1
NTLM_FLAGS: 05820000
NTLM_TO_BASIC:1
[DEBUG]
DEBUG:1
BIN_DEBUG:1
SCR_DEBUG:1
AUTH_DEBUG:1


A quick research has shown, that there is username translation
to unicode missing when using BASIC->NTLM translation specifically.


Following patch fixes this issue for me:

--- ntlm_auth.py.distrib        2005-12-27 16:25:37.196373789 +0300
+++ ntlm_auth.py        2005-12-27 16:27:18.192960620 +0300
@@ -313,7 +313,12 @@
         user, password = self.get_credentials_from_basic(connection, 
error_code)
         if user:
             connection.logger.log("*** Found Basic credentials in client's 
header.\n")
-            environment['USER'] = user
+
+            if environment['UNICODE']:
+                environment['USER'] = utils.str2unicode(string.upper(user))
+            else:
+                environment['USER'] = string.upper(user)
+
             #environment['PASSWORD'] = password
             connection.logger.log("*** Basic User/Password: %s/%s.\n" % (user, 
password))


-- System Information:
Debian Release: 3.1
  APT prefers stable
  APT policy: (990, 'stable'), (700, 'testing'), (600, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-k7
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)

Versions of packages ntlmaps depends on:
ii  debconf [debconf-2.0]         1.4.30.13  Debian configuration management sy
ii  python                        2.3.5-2    An interactive high-level object-o

-- debconf information excluded


--- End Message ---
--- Begin Message ---
Source: ntlmaps
Source-Version: 0.9.9.0.1-1

We believe that the bug you reported is fixed in the latest version of
ntlmaps, which is due to be installed in the Debian FTP archive:

ntlmaps_0.9.9.0.1-1.diff.gz
  to pool/main/n/ntlmaps/ntlmaps_0.9.9.0.1-1.diff.gz
ntlmaps_0.9.9.0.1-1.dsc
  to pool/main/n/ntlmaps/ntlmaps_0.9.9.0.1-1.dsc
ntlmaps_0.9.9.0.1-1_all.deb
  to pool/main/n/ntlmaps/ntlmaps_0.9.9.0.1-1_all.deb
ntlmaps_0.9.9.0.1.orig.tar.gz
  to pool/main/n/ntlmaps/ntlmaps_0.9.9.0.1.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Drew Parsons <[EMAIL PROTECTED]> (supplier of updated ntlmaps package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 23 Jul 2006 23:00:27 +1000
Source: ntlmaps
Binary: ntlmaps
Architecture: source all
Version: 0.9.9.0.1-1
Distribution: unstable
Urgency: low
Maintainer: Drew Parsons <[EMAIL PROTECTED]>
Changed-By: Drew Parsons <[EMAIL PROTECTED]>
Description: 
 ntlmaps    - NTLM Authorization Proxy Server
Closes: 343475 344904 349199 349965
Changes: 
 ntlmaps (0.9.9.0.1-1) unstable; urgency=low
 .
   [ David Watson ]
   * New upstream release
   * Mask out Proxy-Authorization parameter when using BASIC to NTLM,
     thanks to Nickolay Kondrashov. Closes: #349965
   * Added unicode translation when using BASIC->NTLM, thanks to
     Nickolay Kondrashov. Closes: #344904
   * Log to syslog when startup fails due to missing password in
     configuration file. Closes: #343475
   * Escape special characters in password in postinst. Closes: #349199
   * Update to standards version 3.7.2, no changes needed.
   * Update for new python policy.
 .
   [ Drew Parsons ]
   * Upload on David's behalf.
Files: 
 d072cdfbc26e989c59718fd706513263 617 web optional ntlmaps_0.9.9.0.1-1.dsc
 7ee0a00d5446f39ebbe5f0f90465986e 55908 web optional 
ntlmaps_0.9.9.0.1.orig.tar.gz
 79cab5ff7950eceb8d61e258a555dc9f 16252 web optional ntlmaps_0.9.9.0.1-1.diff.gz
 aaa232397d396c7074d06dae4df0f32d 63484 web optional ntlmaps_0.9.9.0.1-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFExAq5ts5wQWQSTkoRAtI3AKCKreYQwIn4g9KxHpURS86OtFnLuQCfde37
LHAMMuog4vJ351VBzUOBlvo=
=+JuL
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to