The current registration scripts, templates, and txt files are optimized for a twiki that is exposed to the internet. Many people who are running a twiki server on an intranet will be using the directory authentication of the web server instead of the scripts and low security features of the .htpasswd file.
I have sent
PeterThoeny some patched files that are optimized for an intranet twiki. These files reduce the amount of information that the user must provide on registration (user name, login name, twiki name), and then adds the new user to the WebUsers.txt including the login name so that the rest of the scripts can track the user. The .htpasswd file is ignored.
Ideally, another flag can be added to wikicfg.pm that selects for optimal internet/intranet use. This flag would be used in the registration scripts to select either of the two modes of operation and the different txt and template files.
--
JohnAltstadt - 07 Apr 2000
Thanks for the files. I like your idea of a flag in wikicfg.pm. I will incorporate it into the TWiki core when I find time.
--
PeterThoeny - 09 Apr 2000
I looked at John's files but reimplemented a more generic solution:
- It is possible to customize the TWikiRegistration topic and add or delete input fields. These fields are processed transparently.
- The Intranet user name is only added to the TWikiUsers topic in case the remote_user is non zero (e.g. TWiki is installed on an Intranet with authentication).
- The default TWikiRegistration topic in the distribution is tailored for Intranet use.
- The TWikiRegistrationPub topic can be used as a template in case TWiki is installed on a public server where authentication depends on .htpasswd. Copy the content of TWikiRegistrationPub to TWikiRegistration (and customize if needed).
--
PeterThoeny - 21 Apr 2000
I would just like to provide a link to
UseLoginNames here, where I explain how to change TWiki so that it accepts user names as
WikiNames. I skip the registration step altogether, since on our intranet we already know everything about the user.
--
WoutMertens - 21 Jul 2002