Question
I've been installing a twiki for my intranet. I already have a list of login:crypted_passwd:full_name:email_address (the usual ypcat).
I've installed TWiki with Kupu (added a "VisualEdit" to every page). I also installed \AuthBasic with a local htpasswd file (but the htpasswd does not give a complete user).
I'm building an engineering website where everybody can edit/view anything as long as they are authentified. (no view if no login).
Rather than explaining to all my users that they need to register just to be able to see the webpage and edit the site, I would like to pre-populate the site with complete pre-registration.
I also would like to disable self-registration (to avoid doublons).
I probably have to write a perl script that would synchronize some files daily with what is in ypcat.
Could you please give me some pointers on how to implement that ?
Environment
| TWiki version: |
TWikiRelease01Sep2004 |
| TWiki plugins: |
DefaultPlugin, EmptyPlugin, InterwikiPlugin, KupuEditor, Plugins.Session |
| Server OS: |
Tao Linux 1.0u3 (clone of RedHat Entreprise Linux 3 update 3), kernel 2.4.21 |
| Web server: |
Apache/2.0.46 (Tao Linux) Server at pdweb Port 80 |
| Perl version: |
5.8.5 |
| Client OS: |
MS Windows XP SP1 |
| Web Browser: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10.1 |
--
GillesEricDescamps - 13 Oct 2004
Answer
I'm near the end of a
RegisterCgiScriptRewrite because I have a very similar goal. The code is a bit raw (I want to change the class structure) but it would probably help - I have a register.pm script that it is better modularised than the original register.pl script. The register stuff will now accept a hash of key-vaue pairs and more or less does the right thing with them.
Can you meet me on
TWikiIRC?
--
MartinCleaver - 13 Oct 2004
met.
--
GillesEricDescamps - 13 Oct 2004