Tags:
create new tag
view all tags

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

TWiki version: TWikiRelease04x02x00
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: RHEL5
Web server: Apache2.0
Perl version: 5.8.8
Client OS: Windows XP
Web Browser: IE 6.0
Categories:  

-- ZhouXuan - 09 Apr 2008

Answer

ALERT! 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

Change status to:
Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r7 - 2008-06-03 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.