On Mon, Aug 24, 2009 at 1:19 PM, Alexandre Belousov<alexandre.belou...@gmail.com> wrote: > > Hello! > Currently I've got a moodle installation on the same server as sage > notebbok is installed on with plenty of users (dept students and > teachers) and mysql authentication. > I wonder is there a way to auth users via external mysql database. Or > (in case it's currently impossible) just import users and their > passwords (in md5 form) from mysql or text files? > Any help would be appreciated. Thanks.
Unfortunately none of that is currently easy. If I had to do it though, I would learn about the nb.sobj object (see docstrings in the sage source code), then write a Python script to parse your text files with user data and create accounts. This would be a few lines of code and would work. Actually, if you post a mock text file, maybe I can write a little code for you to do this, maybe. -- William --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---