using ldap to assign uer to category role unstead of to courses.

using ldap to assign uer to category role unstead of to courses.

by Jamie Hibbard -
Number of replies: 3

Rather than enrolling the user from a group in LDAP -> courses. Which is working fine.

I want to Enroll them as Teachers and Students in the Categories.

I have a Group called Maths under OU Teachers. So they will all have teacher role for the Maths Category

A Group called Maths under OU Students. So they will have student role for the Maths Category

HAs this already been done or do i ned to alter te enrolment plug in to make it work for me?

Average of ratings: -
In reply to Jamie Hibbard

Re: using ldap to assign uer to category role unstead of to courses.

by Paula Dom -

Hi! Can you tell me how you enrol users with a group in ldap?? I need it.

Thnks!

In reply to Paula Dom

Re: using ldap to assign uer to category role unstead of to courses.

by Jamie Hibbard -

Using the Enrolment plugin called LDAP Enrolment.

in AD create a OU for Teachers and one for Students (you can do the other roles if you wish)

In those OU's create a group named after one of your courses. (name has to be exact match) add members to that group. Make sure both course names are the same, this will mean changing the pre-2000 name for the group.

Enable the plug in and let it know where those ou's are.

When the log on it should enroll that user in that course.

I have now altered the script so that it assigns them say manager/teacher/student role in the category and which in turn enrols them in all sub categories. This makes my job so much faster!!! if you want it let me know.

In reply to Jamie Hibbard

Re: using ldap to assign uer to category role unstead of to courses.

by Paula Dom -

Jamie,

Thks for your answer! Now I have a diferent error:

== Synching course 'XX' for role 'student'
Empty enrolment for role 'student' in course 'XX'

Do yo know what is the problem?

Thks!!