Question
Hi,I am trying to use
LdapContrib for LDAP authentication,it works,I can login with my LDAP username and password.
But the "Login or Registration" link in Main web changed to be "Login" only,registration is disabled and can not support registration for user that not in LDAP.Is this normal for
LdapContrib?
when I set "PasswordManager" to be TWiki::Users::LdapUser,there is a warnning :
"TWikiUserMapping has TURNED OFF
EnableNewUserRegistration, because the password file is read only."
I want that we can create the username as
WikiName with registration and login with our LDAP login name,and I've seen other site have done this,but I don't know how.
Help is very much appreciated!
Environment
--
ZhouXuan - 09 Apr 2008
Answer
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.
Zhou, are you sure the error message is the result of your password manager setting? Because that message seems to indicate that when pulling records from LDAP, you won't be able to register via TWiki concurrently. You can, however, disable
LdapContrib, create some TWiki-based accounts, then reinstate the use of
LdapContrib. This will allow you to use the Secondary Password Manager for the TWiki-based accounts and the LDAP accounts with the main password manager, together. The
RequireRegistrationPlugin was supposed to force registration to TWiki, in cases where authentication is via LDAP, but I think mapping differences in 4.2 have rendered this plugin ineffective; it still works in version 4.1.2, though.
--
ShivaGoudarzi - 09 Apr 2008
Thanks
ShivaGoudarzi ,actually I'm not sure what cause this error,but the password files such as .htpasswd are set to be writeable already.I tryed that just when I change password manager not to be TWiki::Users::LdapUser,the registration can work. Then I'll try version 4.1.2 first,thanks again!
--
ZhouXuan - 10 Apr 2008
I can register with version 4.1.2 with
LdapContrib now,the registration is not disabled.May be just 4.2 has the registration problem.
--
ZhouXuan - 10 Apr 2008
The
LdapContrib has not yet been updated for TWiki 4.2, a beta version of the contrib seems to be available.
Closing this question after more than 30 days of inactivity. Feel free to re-open if needed.
--
PeterThoeny - 03 Jun 2008