After this patch is installed, you need to set both
http_auth_enabled = 1
auto_account = 1
Attached is a patch for 1.3.3, also as a note the 1.3.1 patch was
reversed. The patch provided removed the lines noted, instead of adding
example using this patch:
patch -p0 < http_auth_enabled+auto_account.patch
Brian Gallew wrote:
> I have attached a patch for a feature which makes *my* life much easier:
> automatic account creation.
> 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
> 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@..." (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.
From: Brian Gallew <email@example.com> - 2005-02-24 14:36:19
Michael Best wrote:
> After this patch is installed, you need to set both
> http_auth_enabled = 1
> auto_account = 1
> In mywiki/wikiconfig.py
> Attached is a patch for 1.3.3, also as a note the 1.3.1 patch was
> reversed. The patch provided removed the lines noted, instead of adding
Thanks for updating this. I'll update the patch status in sourceforge
and credit you with this.