Hello
WikiGuest
Log In
or
Register
Users
About
Blog
Extensions
Documentation
Community
Development
Tasks
Download
Support
You are here:
Foswiki
>
Support Web
>
SupportQuestions
>
Question576
(revision 2) (raw view)
Hi, i have again a question. Because i am running foswiki in an productive environment, this question is very important to me. I am using ldap-contrib for users to authenticate. Besides two issues (although i set $Foswiki::cfg{Ldap}{Debug} = 1; no debugfile is created or written two, and i did not manage to get a group filter set). main main usse is, that the SecondaryPAsswordManager seems not to work. I have set it to $Foswiki::cfg{Ldap}{SecondaryPasswordManager} = 'Foswiki::Users::HtPasswdUser';<br /><br />and $Foswiki::cfg{Htpasswd}{FileName} = '/srv/www/foswiki/data/.htpasswd'; I created an entry with the htpasswd tool in that location for a user, but login does not work. So, is there a way to track down, what the reason behind this may be? All files are readable by the webserver-user. Can it be, that foswiki requieres modules, that are not mentioned in the installation guide? I think it is strange, that i am facing that much errors :-( Any hints are welcome... Thank you. -- Main.PeterSchmidt - 19 July 2010 Hi Peter - this may come too late for you, but here are answers anyway: 1) Enabling debug only gets you _some_ debug statements. There are a bunch of commented out LDAP debug statements in =/var/www/html/foswiki/lib/Foswiki/Contrib/LdapContrib.pm= as well, that you could uncomment for more debug logging (I guess they're commented out for performance considerations). Look for lines like: =#writeDebug("got $nrRecords keys in cache");= And take out the # to enable the debug next time through. 2) The secondary password manager not working is a known issue waiting for a fix - there is a bunch of info and a small patch available at [[Tasks.Item8192]]. I've got locally registered users in my wiki that I can log into bypassing LDAP with that patch applied. -- Main.RasmusPraestholm - 17 Sep 2010
QuestionForm
edit
Subject
Authentication or Authorisation
Extension
Version
Foswiki 1.0.9
Status
Answered
E
dit
|
A
ttach
|
P
rint version
|
H
istory
: r2
<
r1
|
B
acklinks
|
V
iew topic
|
Edit
w
iki text
|
M
ore topic actions
Topic revision: r2 - 17 Sep 2010,
RasmusPraestholm
Support
Quick Links
Support questions
FAQ's
Tips
Extensions support
Supplemental documents
Wiki consultants
Tools
Tasks
Index
Changes
Changes in all webs
Notifications
Statistics
Sandbox
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see
CopyrightStatement
.