#37 Automatic account creation

closed-fixed
nobody
None
5
2005-11-27
2005-01-10
No

Premise: http_auth_enabled isn't very interesting (as
is) when all of your users are authenticated via a
trusted mechanism as they all must go through a second
sign-on process (admittedly, only once).

My patch includes a couple bits:
1) adds an auto_account variable to multiconfig.py
(defaults to 0 of course).
2) Modifies User.__init__ in user.py such that, if
auto_account and http_auth_enabled are both set,
default some user information and save it.
3) Modifies normalizeName in user.py such that "." and
"@" are permissible characters in usernames. This is
necessary for my environment because we use
mod_pubcookie for authentication. mod_pubcookie returns
userids like "geek@ANDREW.CMU.EDU" (e.g. the Kerberos
domain is part of the id).

If this patch is accepted I'll update the appropriate
documentation. If the documentation has to come first,
let me know and I'll deal with it.

Discussion

  • Zoom.Quiet

    Zoom.Quiet - 2005-01-14

    Logged In: YES
    user_id=725923

    ??
    can show u code as file?
    MoinMoin 1.3.1 is so differ , i can not exactness understand
    u suggest yet...

    thanx for all!

     
  • Brian E. Gallew

    Brian E. Gallew - 2005-01-14
    • priority: 5 --> 6
     
  • Brian E. Gallew

    Brian E. Gallew - 2005-01-14
    • priority: 6 --> 5
     
  • Brian E. Gallew

    Brian E. Gallew - 2005-02-24

    Logged In: YES
    user_id=33602

    Here is a new patch against 1.3.3. This patch was provided
    by Michael Best <mbest@pendragon.org>.

    Thanks, Michael!

     
  • Thomas Waldmann

    Thomas Waldmann - 2005-11-27
    • status: open --> closed-fixed
     
  • Thomas Waldmann

    Thomas Waldmann - 2005-11-27

    Logged In: YES
    user_id=100649

    Similar functionality was added in
    moin--main--1.5--patch-247 and will be in 1.5.

    Thanks for inspiration. :)

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks