[Xerte] Online Toolkits without LDAP

Julian Tenney Julian.Tenney at nottingham.ac.uk
Tue Oct 20 14:46:44 BST 2009


You need to rename switch to login.php or whatever you like. Then, in
the file you need to add the usernames and passwords to the switch
statement:

switch($_POST["login"]){

  case "jules": if($_POST["password"]=="tenney"){ $authenticated = true;
set_user_details("Jules","Tenney");}; 

    break;
				
  default: $authenticated = false; break;
}

Will set it up for a username of jules, password tenney to login as the
user Jules Tenney,

HTH,

J
-----Original Message-----
From: Peter Edge [mailto:pedge at themanchestercollege.ac.uk] 
Sent: Tuesday, October 20, 2009 1:39 PM
To: xerte at lists.nottingham.ac.uk
Subject: [Xerte] Online Toolkits without LDAP

Hi

Can someone explain how I can configure the webserver installation to
work WITHOUT making use of LDAP (ie with one or two manually created
usernames and passwords)? I know its something to do with switch.txt but
renamning it to switch.php doesn't appear to be doing much!

Many thanks in advance

Peter Edge
technical developer
e-Services
Northenden Campus

The Manchester College, Northenden Campus, Sale Road, Manchester M23 0DD
Office: 0161 614 8146
Mobile: 07973 827 020
Twitter: http://twitter.com/tmcpeteredge


More information about the Xerte mailing list