<HTML dir=ltr><HEAD><TITLE>[Xerte] Changes for Non-LDAP Login</TITLE>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.6001.18226" name=GENERATOR></HEAD>
<BODY>
<DIV id=idOWAReplyText44002 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Hi</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>Thanks for this.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>My preferred approach is to work towards integrating these changes into part of 1.5.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>At the moment, it'd be likely there would be a need to add an "authentication" type added to site details, unless we take no LDAP settings to mean internal?</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>So there's lots to bolt on as well.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>Pat</FONT></DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> xerte-bounces@lists.nottingham.ac.uk on behalf of Julian Tenney<BR><B>Sent:</B> Tue 02/06/2009 22:22<BR><B>To:</B> cpeachment@ononbb.com; Xerte discussion list<BR><B>Subject:</B> RE: [Xerte] Changes for Non-LDAP Login<BR></FONT><BR></DIV>
<DIV dir=ltr>
<DIV id=idOWAReplyText46102 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Where are you getting your list of users from? Do you also have a 'create account / sign in' set of pages? I think if we could get all that working, so that:</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>- anyone can create an account and sign up [see 'create account', and login prompt links on the front page]</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>- anyone with an account can sign in (so you can restrict access to known users) [just see login prompts]</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>- easily switch to LDAP [just see login prompts]</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>- easily plug in your own authentication (by setting a parameter 'login_script' or similar&nbsp;[user sees login prompts, some script you pass username and password to it and it returns 'true' or 'false']</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>If all this is covered in one file, based on a setting for the authentication you want, it ought be possible in those four switches to do all the options?</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>Does this sound like a sensible solution?&nbsp;This would be a really good problem to get sorted. I could do with a list of you that are interested, and what you think you could contribute - this is a problem that needs quite a few points of view accomodating. Then we can work on it without swamping the list, and use the google code site to sort this out. We can use the google code tools and discuss things there, and use the .svn.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>J</FONT></DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> xerte-bounces@lists.nottingham.ac.uk on behalf of Chris Peachment<BR><B>Sent:</B> Tue 02/06/2009 20:34<BR><B>To:</B> xerte@lists.nottingham.ac.uk<BR><B>Subject:</B> [Xerte] Changes for Non-LDAP Login<BR></FONT><BR></DIV>
<DIV>
<P><FONT size=2>I have made a small number of changes to a copy of the xerte<BR>online toolkits version 1.0.2 that is running on my Linux server.<BR><BR>These changes permit user login without requiring an LDAP server.<BR>They include:<BR><BR>1. addition of a password attribute to the logindetails table.<BR>2. alterations to the files:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; xerte/index.php<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; xerte/website_code/php/login_library.php<BR><BR>3. manual insertion of user records into logindetails since<BR>there is no user interface as part of the toolkit.<BR><BR>These changes are rudimentary and have been tested far enough<BR>to demonstrate creation / export of content. It is likely that<BR>other changes will be required to cope with login events from<BR>other access points (e.g. play).<BR><BR>My question is: how do you want me to publish/present these<BR>changes for your review and possible addition to the standard<BR>distribution?<BR><BR>Regards, Chris Peachment<BR><BR><BR>_______________________________________________<BR>Xerte mailing list<BR>Xerte@lists.nottingham.ac.uk<BR><A href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</A><BR></FONT></P></DIV></DIV></BODY></HTML>