Description

The user is not recognised when using the Apache 2.0 module "mod_auth_digest" for authentification. A small change in request.py is required to make it work. -- DavidLinke 2005-02-15 23:31:37

Steps to reproduce

Details

My environment
  • MoinMoin Version

    moin 1.3.3

    OS and Version

    Windows XP Pro

    Python Version

    Python 2.4.0

    Server Setup

    Apache 2.0.52 with cgi

    Server Details

    Authentication with mod_auth_digest

  • Workaround

    Apply following patch:

    {{{*** request.py.orig Wed Feb 9 22:11:43 2005 --- request.py Tue Feb 15 23:03:53 2005 *************** *** 260,266 ****

    ! if self.cfg.auth_http_enabled and env.get('AUTH_TYPE',) == 'Basic':

    --- 260,266


    ! if self.cfg.auth_http_enabled and env.get('AUTH_TYPE',) in ['Basic', 'Digest']:

    }}}

    Discussion

    It looks like there is one .title() too much. And is that .title() really useful?

    You are right. The last .title() was left over from experimenting ;-). I deleted that. Title() for NTLM is convenient (here) because people can enter their name in different ways into the login window and still get recognised in the wiki with the correct wiki-user-name e.g. "Meier" if the type meier, MEIER or something else (Note that no matter how they enter the name they pass the SSPI auth.). But it surely is not a "must-have".

    Plan


    CategoryMoinMoinBugFixed

    MoinMoin: MoinMoinBugs/DigestAuthentificationWithApache (last edited 2007-10-29 19:07:18 by localhost)