Jump to content

Recommended Posts

Posted

ok, i need to be able to create a user in moodle and have that user then created back into my servers AD. Is This Even Possible?

i know the reverse is possible so it can't be to difficult. is there anyone who can help?

 

my site is currently running moodle 2.2.2+

Posted
It is possible but might depend on your skills! I'd use ODBC to connect a powershell script to the moodle database and process the users table, looking to see if users already existed and creating them if not. This might get more complex depending on how your organise your users into AD's Organisational Units. This script would probably have to be scheduled (run overnight or every 10 mins or whatever) - although that might depend on your mysql version, it should be possible to use a trigger on the users table to kick the process into action but that's probably quite difficult for reasonably little benefit.
Posted
Moodle 2.0 onwards has this as an option. In the LDAP configuration page select 'create user externally' in the 'enable user creation' section. I've never used it though so no idea how well it works or if it plays nicely with AD
Posted
The Fac-2-Moodle block should only create users if it detects that they exist in AD with the same ID Number. AD users should be created first before running the Fac-2-Moodle import. Generally via a CSV export of users from Facility bulk-imported into AD... THEN run Fac-2-Moodle.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...