Description

Name Error: global name 'normalizeNTLMUsername' is not defined

Steps to reproduce

Just try NTLM authentication with moin 1.3.5.

Details

MoinMoin Version

moin--main--1.3--patch-935

OS and Version

Windows XP Pro

Python Version

2.4.2

Server Setup

Apache 2.0.54, modpython 3.2.0b

Server Details

sspi-authentication

Workaround

In file "request.py" a "self." was missing. Here is a patch (maybe line numbers are slightly off!):

=================================================================== --- request.py (moin-1.3.5-patchlevel-935) +++ request.py (revision 23) @@ -437,7 +437,7 @@

- username = normalizeNTLMUsername(username) + username = self.normalizeNTLMUsername(username)

}}}

Discussion

Plan

  • Priority:
  • Assigned to: ThomasWaldmann

  • Status: should be fixed in 1.5 as code was rewritten and moved to auth.py


CategoryMoinMoinBugFixed

MoinMoin: MoinMoinBugs/CallOfNormalizeNTLMUsername (last edited 2007-10-29 19:09:28 by localhost)