First version of code to authenticate against external database.
First version of code to authenticate against external database.

This NOT TESTED yet, and has parameters hardcoded ... it will of
course be using Petri's config interface later when that's ready.

dilawar/moodle