SID-01146: registration page error
| Status: |
Answered |
TWiki version: |
5.0.1 |
Perl version: |
? |
| Category: |
CategoryRegistration |
Server OS: |
Ubuntu 10.04 |
Last update: |
15 years ago |
Hi,
I am new to twiki.
I have managed to install it on ubuntu 10.04.
I' m not sure, but I think I found a bug.
If you set {Register}{AllowLoginName} in the standard registration page the password fields are not anymore shown.
This is, after some investigation, because auf the "%IF{"$ ALLOWLOGINNAME <1" then="%BESPOKE_PASSWORD%"} ..." in the registration page.
Once changed in "%IF{"$ ALLOWLOGINNAME" then="%BESPOKE_PASSWORD%"}..." it now works.
Could you please check and confirm!?
Kind Regards
Karl-Heinz
--
KarlHeinzFischbach - 2011-04-09
Discussion and Answer
No, that is expected behavior. The idea is that when you authenticate against an external directory (such as LDAP) you want to allow login names (such as
jsmith) which then get mapped to the
WikiName (such as
JohnSmith). In this scenario you do not ask for passwords in the registration page, e.g. TWiki assumes that you are authentiated and want to create also a user homepage in TWiki.
--
PeterThoeny - 2011-04-09
Hi,
may be it "works as designed".
But you can even register a user without a LDAP in the background.
The registration process works.
But since there is no field to put the password in some password will be set and I did not find a way to change the password of the user. I had to delete the user and do it again with the modification I reported.
Since I did not read any comment that this function is only linked to a background authentication process (LDAP) I walked into this trap.
Probably a good point to put it into the documentation.
Regards
Karl-Heinz
--
KarlHeinzFischbach - 2011-04-18
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.