Skip to content
Snippets Groups Projects
Name Last commit Last update
email
ldap
moodle
timetabling
README.md

RHUL Scripts

This is a collection of scripts i find useful when dealing with various systems. They might be useful (at least as references for others).

Send merge requests if you'd like to add your own!

Current sub-directories are:

  • Email -- advice on how to send emails with Python now that basic password authentication does not work.
  • Moodle -- scripts for getting info or doings things with Moodle with less clicking (and more fighting with scripts).
  • LDAP -- scripts for querying LDAP (to get student module registrations, lists of students on programmes, etc).

Python Version / SSL Errors

Accessing the LDAP server is was briefly not possible with Python 3.10 on Linux. This is because Python 3.10 insists on a recent OpenSSL version. This OpenSSL version does not permit SSLv3 (it has been deprecated as insecure since 2015ish). The RHUL LDAP server uses SSLv3.

If this is still an issue for you, you need Python 3.9 or lower.