Question
After installing
LdapContrib and
LdapNgPlugin, the configure script doesn't work as expected anymore. First, the LDAP configuration settings don't show up on the configure screen (see screenshot below) and have to be adjusted manually in lib/LocalSite.cfg. Secondly, whenever the configure script is saved (e.g. enabling or disabling a plugin) all the LDAP settings are removed from lib/LocalSite.cfg. Is it possible that my LocalSite.cfg is corrupt? I've
attached it - if that helps.
A more general question: How is the LocalSite.cfg file read in by the configure script? As far as I can tell, there are no tags in this file to split it up into the available categories.
Thanks for you help!
Environment
--
MartinKaufmann - 13 Aug 2007
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.
The structure is defined by
lib/TWiki.spec (and the
Config.spec files of any contribs you have loaded, such as LdapContrib). LocalSite.cfg just contains the values. It looks as if you have an incorrect
Config.spec for the LdapContrib - that would explain the "lost settings" - but it's hard to be sure.
--
CrawfordCurrie - 20 Aug 2007
Copying Config.spec from the original
LdapContrib archive fixed my problem. There were quite a lot of differences between the Config.spec I used before and the original one I'm using now. I don't know what's caused it - maybe a version mismatch? Thanks for your help!
--
MartinKaufmann - 21 Aug 2007
- I am seeing this error in my Twiki4.1.0 configuration file. Surprisingly even after having this error my Twiki is working fine so far. But I am really eager to know how can i fix this error?:
--
ArchnaAgarwal - 2011-03-02
Please open a new support question.
--
PeterThoeny - 2011-05-02