[Xerte] No LDAP, so using switch.txt/php but login is impossible

moxitron moxitron at gmail.com
Wed Oct 19 13:59:01 BST 2011


I'd like to use the xerte online toolkits, however I don't have an LDAP
setup, so I gather from the installation manual that I can use an
alternative (for non-enterprise use) which is the switch.txt. I renamed this
to switch.php and navigated to it.

I was able to enter a canned username and password, but on submitting the
form, I got an error saying that I needed LDAP.

I tracked down this problem and discovered that the rendered form which
switch.php generates has a <form ..> tag with an action attribute set to
"index.php", so this is the problem. It needs to post the form back to
"switch.php" so that the canned credentials can be found and the login
accepted.

Can the login_top template be given a parameterized value for the form's
action attribute (which can be "index.php" by default)?

Thanks,
Stephen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20111019/1325ca2a/attachment-0001.html>


More information about the Xerte mailing list