SID-01355: Local authentication problem after installing LDAPContrib
| Status: |
Unanswered |
TWiki version: |
5.1.0 |
Perl version: |
5.8.8 |
| Category: |
LdapContrib |
Server OS: |
Scientific Linux CERN SLC release 5.7, kernel 2.6.18, 64 bit |
Last update: |
13 years ago |
Dear All,
I have the following problem;
I have installed Twiki, created a (local) user which I can logon as w/o problem.
I have now installed LDAPContrib and can authenticate using remote user credentials. The problem is I can no longer authenticate the previously created local user. I have enabled,
SecondaryPasswordManager = 'TWiki::Users::HtPasswdUser'
to permit local authentication for local accounts to continue but attempting to logon at
http://hostname/twiki/bin/login/
always produces an 'Oops: we could not recognize you. Try again or reset your password' response. If I change
$TWiki::cfg{UserMappingManager} = 'TWiki::Users::LdapUserMapping'
$TWiki::cfg{PasswordManager} = 'TWiki::Users::LdapPasswdUser';
back to
$TWiki::cfg{UserMappingManager} = 'TWiki::Users::TWikiUserMapping';
$TWiki::cfg{PasswordManager} = 'TWiki::Users::HtPasswdUser';
then local authentication works again, but of course not the remote LDAP stuff. If it makes any difference the remote LDAP server is a Active Directory one.
Any suggestions on how to proceed?
Many thanks
Tom Crane
Ps. I don't seem to be able to attach the config file here as TWiki guest, so I've placed it on
http://www.mklab.rhul.ac.uk/~tom/LocalSite-obfuscated.cfg.gz
instead.
--
TWikiGuest - 2011-12-19
Discussion and Answer
Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider engaging one of the
TWiki consultants if you need timely help. We invite you to
get involved with the community, it is more likely you get community support if you support the open source project!
--
PeterThoeny - 2012-07-01
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.