Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/enrol/ldap/lang/en/enrol_ldap.php File Reference

Go to the source code of this file.

Namespaces

namespace  enrol

Variables

 $string ['assignrole'] = "Assigning role '{\$a->role_shortname}' to user '{\$a->user_username}' into course '{\$a->course_shortname}' (id {\$a->course_id})"
 $string ['assignrolefailed'] = "Failed to assign role '{\$a->role_shortname}' to user '{\$a->user_username}' into course '{\$a->course_shortname}' (id {\$a->course_id})\n"
 $string ['autocreate'] = '<p>Courses can be created automatically if there are enrolments to a course that doesn\'t yet exist in Moodle</p><p>If you are using automatic course creation, it is recommended that you remove the following capabilities: moodle/course:changeidnumber, moodle/course:changeshortname, moodle/course:changefullname and moodle/course:changesummary, from the relevant roles to prevent modifications of the four course fields specified above (ID number, shortname, fullname and summary).</p>'
 $string ['autocreate_key'] = 'Auto create'
 $string ['autocreation_settings'] = 'Automatic course creation settings'
 $string ['bind_dn'] = 'If you want to use a bind user to search users, specify it here. Someting like \'cn=ldapuser,ou=public,o=org\''
 $string ['bind_dn_key'] = 'Bind user distinguished name'
 $string ['bind_pw'] = 'Password for the bind user'
 $string ['bind_pw_key'] = 'Password'
 $string ['bind_settings'] = 'Bind settings'
 $string ['cannotcreatecourse'] = 'Cannot create course: missing required data from the LDAP record!'
 $string ['category'] = 'The category for auto-created courses'
 $string ['category_key'] = 'Category'
 $string ['contexts'] = 'LDAP contexts'
 $string ['couldnotfinduser'] = "Could not find user '{\$a}', skipping\n"
 $string ['coursenotexistskip'] = "Course '{\$a}' does not exist and autocreation disabled, skipping\n"
 $string ['course_fullname'] = 'Optional: LDAP attribute to get the full name from'
 $string ['course_fullname_key'] = 'Full name'
 $string ['course_idnumber'] = 'LDAP attribute to get the course ID number from. Usually \'cn\' or \'uid\'.'
 $string ['course_idnumber_key'] = 'ID number'
 $string ['course_search_sub'] = 'Search group memberships from subcontexts'
 $string ['course_search_sub_key'] = 'Search subcontexts'
 $string ['course_settings'] = 'Course enrolment settings'
 $string ['course_shortname'] = 'Optional: LDAP attribute to get the shortname from'
 $string ['course_shortname_key'] = 'Short name'
 $string ['course_summary'] = 'Optional: LDAP attribute to get the summary from'
 $string ['course_summary_key'] = 'Summary'
 $string ['createcourseextid'] = 'CREATE User enrolled to a nonexistant course \'{$a->courseextid}\''
 $string ['createnotcourseextid'] = 'User enrolled to a nonexistant course \'{$a->courseextid}\''
 $string ['creatingcourse'] = 'Creating course \'{$a}\'...'
 $string ['editlock'] = 'Lock value'
 $string ['emptyenrolment'] = "Empty enrolment for role '{\$a->role_shortname}' in course '{\$a->course_shortname}'\n"
 $string ['enrolname'] = 'LDAP'
 $string ['enroluser'] = "Enrol user '{\$a->user_username}' into course '{\$a->course_shortname}' (id {\$a->course_id})"
 $string ['enroluserenable'] = "Enabled enrolment for user '{\$a->user_username}' in course '{\$a->course_shortname}' (id {\$a->course_id})"
 $string ['explodegroupusertypenotsupported'] = "ldap_explode_group() does not support selected user type: {\$a}\n"
 $string ['extcourseidinvalid'] = 'The course external id is invalid!'
 $string ['extremovedsuspend'] = "Disabled enrolment for user '{\$a->user_username}' in course '{\$a->course_shortname}' (id {\$a->course_id})"
 $string ['extremovedsuspendnoroles'] = "Disabled enrolment and removed roles for user '{\$a->user_username}' in course '{\$a->course_shortname}' (id {\$a->course_id})"
 $string ['extremovedunenrol'] = "Unenrol user '{\$a->user_username}' from course '{\$a->course_shortname}' (id {\$a->course_id})"
 $string ['failed'] = "Failed!\n"
 $string ['general_options'] = 'General options'
 $string ['group_memberofattribute'] = 'Name of the attribute that specifies which groups a given user or group belongs to (e.g., memberOf, groupMembership, etc.)'
 $string ['group_memberofattribute_key'] = '\'Member of\' attribute'
 $string ['host_url'] = 'Specify LDAP host in URL-form like \'ldap://ldap.myorg.com/\' or \'ldaps://ldap.myorg.com/\''
 $string ['host_url_key'] = 'Host URL'
 $string ['idnumber_attribute'] = 'If the group membership contains distinguised names, specify the same attribute you have used for the user \'ID Number\' mapping in the LDAP authentication settings'
 $string ['idnumber_attribute_key'] = 'ID number attribute'
 $string ['ldap_encoding'] = 'Specify encoding used by LDAP server. Most probably utf-8, MS AD v2 uses default platform encoding such as cp1252, cp1250, etc.'
 $string ['ldap_encoding_key'] = 'LDAP encoding'
 $string ['ldap:manage'] = 'Manage LDAP enrol instances'
 $string ['memberattribute'] = 'LDAP member attribute'
 $string ['memberattribute_isdn'] = 'If the group membership contains distinguised names, you need to specify it here. If it does, you also need to configure the remaining settings of this section'
 $string ['memberattribute_isdn_key'] = 'Member attribute uses dn'
 $string ['nested_groups'] = 'Do you want to use nested groups (groups of groups) for enrolment?'
 $string ['nested_groups_key'] = 'Nested groups'
 $string ['nested_groups_settings'] = 'Nested groups settings'
 $string ['nosuchrole'] = "No such role: '{\$a}'\n"
 $string ['objectclass'] = 'objectClass used to search courses. Usually \'group\' or \'posixGroup\''
 $string ['objectclass_key'] = 'Object class'
 $string ['ok'] = "OK!\n"
 $string ['opt_deref'] = 'If the group membership contains distinguised names, specify how aliases are handled during search. Select one of the following values: \'No\' (LDAP_DEREF_NEVER) or \'Yes\' (LDAP_DEREF_ALWAYS)'
 $string ['opt_deref_key'] = 'Dereference aliases'
 $string ['phpldap_noextension'] = '<em>The PHP LDAP module does not seem to be present. Please ensure it is installed and enabled if you want to use this enrolment plugin.</em>'
 $string ['pluginname'] = 'LDAP enrolments'
 $string ['pluginname_desc'] = '<p>You can use an LDAP server to control your enrolments. It is assumed your LDAP tree contains groups that map to the courses, and that each of those groups/courses will have membership entries to map to students.</p><p>It is assumed that courses are defined as groups in LDAP, with each group having multiple membership fields (<em>member</em> or <em>memberUid</em>) that contain a uniqueidentification of the user.</p><p>To use LDAP enrolment, your users <strong>must</strong> to have a valid idnumber field. The LDAP groups must have that idnumber in the member fields for a user to be enrolled in the course. This will usually work well if you are already using LDAP Authentication.</p><p>Enrolments will be updated when the user logs in. You can also run a script to keep enrolments in synch. Look in <em>enrol/ldap/cli/sync.php</em>.</p><p>This plugin can also be set to automatically create new courses when new groups appear in LDAP.</p>'
 $string ['pluginnotenabled'] = 'Plugin not enabled!'
 $string ['role_mapping'] = '<p>For each role that you want to assign from LDAP, you need to specify the list of contexts where the role courses\'s groups are located. Separate different contexts with \';\'.</p><p>You also need to specify the attribute your LDAP server uses to hold the members of a group. Usually \'member\' or \'memberUid\'</p>'
 $string ['role_mapping_key'] = 'Map roles from LDAP '
 $string ['roles'] = 'Role mapping'
 $string ['server_settings'] = 'LDAP server settings'
 $string ['synccourserole'] = "== Synching course '{\$a->idnumber}' for role '{\$a->role_shortname}'\n"
 $string ['template'] = 'Optional: auto-created courses can copy their settings from a template course'
 $string ['template_key'] = 'Template'
 $string ['unassignrole'] = "Unassigning role '{\$a->role_shortname}' to user '{\$a->user_username}' from course '{\$a->course_shortname}' (id {\$a->course_id})\n"
 $string ['unassignroleid'] = "Unassigning role id '{\$a->role_id}' to user id '{\$a->user_id}'\n"
 $string ['unassignrolefailed'] = "Failed to unassign role '{\$a->role_shortname}' to user '{\$a->user_username}' from course '{\$a->course_shortname}' (id {\$a->course_id})\n"
 $string ['updatelocal'] = 'Update local data'
 $string ['user_attribute'] = 'If the group membership contains distinguised names, specify the attribute used to name/search users. If you are using LDAP authentication, this value should match the attribute specified in the \'ID Number\' mapping in the LDAP authentication plugin'
 $string ['user_attribute_key'] = 'ID number attribute'
 $string ['user_contexts'] = 'If the group membership contains distinguised names, specify the list of contexts where users are located. Separate different contexts with \';\'. For example: \'ou=users,o=org; ou=others,o=org\''
 $string ['user_contexts_key'] = 'Contexts'
 $string ['user_search_sub'] = 'If the group membership contains distinguised names, specify if the search for users is done in subcontexts too'
 $string ['user_search_sub_key'] = 'Search subcontexts'
 $string ['user_settings'] = 'User lookup settings'
 $string ['user_type'] = 'If the group membership contains distinguished names, specify how users are stored in LDAP'
 $string ['user_type_key'] = 'User type'
 $string ['version'] = 'The version of the LDAP protocol your server is using'
 $string ['version_key'] = 'Version'

Variable Documentation

$string['assignrole'] = "Assigning role '{\$a->role_shortname}' to user '{\$a->user_username}' into course '{\$a->course_shortname}' (id {\$a->course_id})"

Definition at line 28 of file enrol_ldap.php.

$string['assignrolefailed'] = "Failed to assign role '{\$a->role_shortname}' to user '{\$a->user_username}' into course '{\$a->course_shortname}' (id {\$a->course_id})\n"

Definition at line 29 of file enrol_ldap.php.

$string['autocreate'] = '<p>Courses can be created automatically if there are enrolments to a course that doesn\'t yet exist in Moodle</p><p>If you are using automatic course creation, it is recommended that you remove the following capabilities: moodle/course:changeidnumber, moodle/course:changeshortname, moodle/course:changefullname and moodle/course:changesummary, from the relevant roles to prevent modifications of the four course fields specified above (ID number, shortname, fullname and summary).</p>'

Definition at line 30 of file enrol_ldap.php.

$string['autocreate_key'] = 'Auto create'

Definition at line 31 of file enrol_ldap.php.

$string['autocreation_settings'] = 'Automatic course creation settings'

Definition at line 32 of file enrol_ldap.php.

$string['bind_dn'] = 'If you want to use a bind user to search users, specify it here. Someting like \'cn=ldapuser,ou=public,o=org\''

Definition at line 33 of file enrol_ldap.php.

$string['bind_dn_key'] = 'Bind user distinguished name'

Definition at line 34 of file enrol_ldap.php.

$string['bind_pw'] = 'Password for the bind user'

Definition at line 35 of file enrol_ldap.php.

$string['bind_pw_key'] = 'Password'

Definition at line 36 of file enrol_ldap.php.

$string['bind_settings'] = 'Bind settings'

Definition at line 37 of file enrol_ldap.php.

$string['cannotcreatecourse'] = 'Cannot create course: missing required data from the LDAP record!'

Definition at line 38 of file enrol_ldap.php.

$string['category'] = 'The category for auto-created courses'

Definition at line 39 of file enrol_ldap.php.

$string['category_key'] = 'Category'

Definition at line 40 of file enrol_ldap.php.

$string['contexts'] = 'LDAP contexts'

Definition at line 41 of file enrol_ldap.php.

$string['couldnotfinduser'] = "Could not find user '{\$a}', skipping\n"

Definition at line 42 of file enrol_ldap.php.

$string['coursenotexistskip'] = "Course '{\$a}' does not exist and autocreation disabled, skipping\n"

Definition at line 43 of file enrol_ldap.php.

$string['course_fullname'] = 'Optional: LDAP attribute to get the full name from'

Definition at line 44 of file enrol_ldap.php.

$string['course_fullname_key'] = 'Full name'

Definition at line 45 of file enrol_ldap.php.

$string['course_idnumber'] = 'LDAP attribute to get the course ID number from. Usually \'cn\' or \'uid\'.'

Definition at line 46 of file enrol_ldap.php.

$string['course_idnumber_key'] = 'ID number'

Definition at line 47 of file enrol_ldap.php.

$string['course_search_sub'] = 'Search group memberships from subcontexts'

Definition at line 48 of file enrol_ldap.php.

$string['course_search_sub_key'] = 'Search subcontexts'

Definition at line 49 of file enrol_ldap.php.

$string['course_settings'] = 'Course enrolment settings'

Definition at line 50 of file enrol_ldap.php.

$string['course_shortname'] = 'Optional: LDAP attribute to get the shortname from'

Definition at line 51 of file enrol_ldap.php.

$string['course_shortname_key'] = 'Short name'

Definition at line 52 of file enrol_ldap.php.

$string['course_summary'] = 'Optional: LDAP attribute to get the summary from'

Definition at line 53 of file enrol_ldap.php.

$string['course_summary_key'] = 'Summary'

Definition at line 54 of file enrol_ldap.php.

$string['createcourseextid'] = 'CREATE User enrolled to a nonexistant course \'{$a->courseextid}\''

Definition at line 55 of file enrol_ldap.php.

$string['createnotcourseextid'] = 'User enrolled to a nonexistant course \'{$a->courseextid}\''

Definition at line 56 of file enrol_ldap.php.

$string['creatingcourse'] = 'Creating course \'{$a}\'...'

Definition at line 57 of file enrol_ldap.php.

$string['editlock'] = 'Lock value'

Definition at line 58 of file enrol_ldap.php.

$string['emptyenrolment'] = "Empty enrolment for role '{\$a->role_shortname}' in course '{\$a->course_shortname}'\n"

Definition at line 59 of file enrol_ldap.php.

$string['enrolname'] = 'LDAP'

Definition at line 60 of file enrol_ldap.php.

$string['enroluser'] = "Enrol user '{\$a->user_username}' into course '{\$a->course_shortname}' (id {\$a->course_id})"

Definition at line 61 of file enrol_ldap.php.

$string['enroluserenable'] = "Enabled enrolment for user '{\$a->user_username}' in course '{\$a->course_shortname}' (id {\$a->course_id})"

Definition at line 62 of file enrol_ldap.php.

$string['explodegroupusertypenotsupported'] = "ldap_explode_group() does not support selected user type: {\$a}\n"

Definition at line 63 of file enrol_ldap.php.

$string['extcourseidinvalid'] = 'The course external id is invalid!'

Definition at line 64 of file enrol_ldap.php.

$string['extremovedsuspend'] = "Disabled enrolment for user '{\$a->user_username}' in course '{\$a->course_shortname}' (id {\$a->course_id})"

Definition at line 65 of file enrol_ldap.php.

$string['extremovedsuspendnoroles'] = "Disabled enrolment and removed roles for user '{\$a->user_username}' in course '{\$a->course_shortname}' (id {\$a->course_id})"

Definition at line 66 of file enrol_ldap.php.

$string['extremovedunenrol'] = "Unenrol user '{\$a->user_username}' from course '{\$a->course_shortname}' (id {\$a->course_id})"

Definition at line 67 of file enrol_ldap.php.

$string['failed'] = "Failed!\n"

Definition at line 68 of file enrol_ldap.php.

$string['general_options'] = 'General options'

Definition at line 69 of file enrol_ldap.php.

$string['group_memberofattribute'] = 'Name of the attribute that specifies which groups a given user or group belongs to (e.g., memberOf, groupMembership, etc.)'

Definition at line 70 of file enrol_ldap.php.

$string['group_memberofattribute_key'] = '\'Member of\' attribute'

Definition at line 71 of file enrol_ldap.php.

$string['host_url'] = 'Specify LDAP host in URL-form like \'ldap://ldap.myorg.com/\' or \'ldaps://ldap.myorg.com/\''

Definition at line 72 of file enrol_ldap.php.

$string['host_url_key'] = 'Host URL'

Definition at line 73 of file enrol_ldap.php.

$string['idnumber_attribute'] = 'If the group membership contains distinguised names, specify the same attribute you have used for the user \'ID Number\' mapping in the LDAP authentication settings'

Definition at line 74 of file enrol_ldap.php.

$string['idnumber_attribute_key'] = 'ID number attribute'

Definition at line 75 of file enrol_ldap.php.

$string['ldap_encoding'] = 'Specify encoding used by LDAP server. Most probably utf-8, MS AD v2 uses default platform encoding such as cp1252, cp1250, etc.'

Definition at line 76 of file enrol_ldap.php.

$string['ldap_encoding_key'] = 'LDAP encoding'

Definition at line 77 of file enrol_ldap.php.

$string['ldap:manage'] = 'Manage LDAP enrol instances'

Definition at line 78 of file enrol_ldap.php.

$string['memberattribute'] = 'LDAP member attribute'

Definition at line 79 of file enrol_ldap.php.

$string['memberattribute_isdn'] = 'If the group membership contains distinguised names, you need to specify it here. If it does, you also need to configure the remaining settings of this section'

Definition at line 80 of file enrol_ldap.php.

$string['memberattribute_isdn_key'] = 'Member attribute uses dn'

Definition at line 81 of file enrol_ldap.php.

$string['nested_groups'] = 'Do you want to use nested groups (groups of groups) for enrolment?'

Definition at line 82 of file enrol_ldap.php.

$string['nested_groups_key'] = 'Nested groups'

Definition at line 83 of file enrol_ldap.php.

$string['nested_groups_settings'] = 'Nested groups settings'

Definition at line 84 of file enrol_ldap.php.

$string['nosuchrole'] = "No such role: '{\$a}'\n"

Definition at line 85 of file enrol_ldap.php.

$string['objectclass'] = 'objectClass used to search courses. Usually \'group\' or \'posixGroup\''

Definition at line 86 of file enrol_ldap.php.

$string['objectclass_key'] = 'Object class'

Definition at line 87 of file enrol_ldap.php.

$string['ok'] = "OK!\n"

Definition at line 88 of file enrol_ldap.php.

$string['opt_deref'] = 'If the group membership contains distinguised names, specify how aliases are handled during search. Select one of the following values: \'No\' (LDAP_DEREF_NEVER) or \'Yes\' (LDAP_DEREF_ALWAYS)'

Definition at line 89 of file enrol_ldap.php.

$string['opt_deref_key'] = 'Dereference aliases'

Definition at line 90 of file enrol_ldap.php.

$string['phpldap_noextension'] = '<em>The PHP LDAP module does not seem to be present. Please ensure it is installed and enabled if you want to use this enrolment plugin.</em>'

Definition at line 91 of file enrol_ldap.php.

$string['pluginname'] = 'LDAP enrolments'

Definition at line 92 of file enrol_ldap.php.

$string['pluginname_desc'] = '<p>You can use an LDAP server to control your enrolments. It is assumed your LDAP tree contains groups that map to the courses, and that each of those groups/courses will have membership entries to map to students.</p><p>It is assumed that courses are defined as groups in LDAP, with each group having multiple membership fields (<em>member</em> or <em>memberUid</em>) that contain a uniqueidentification of the user.</p><p>To use LDAP enrolment, your users <strong>must</strong> to have a valid idnumber field. The LDAP groups must have that idnumber in the member fields for a user to be enrolled in the course. This will usually work well if you are already using LDAP Authentication.</p><p>Enrolments will be updated when the user logs in. You can also run a script to keep enrolments in synch. Look in <em>enrol/ldap/cli/sync.php</em>.</p><p>This plugin can also be set to automatically create new courses when new groups appear in LDAP.</p>'

Definition at line 93 of file enrol_ldap.php.

$string['pluginnotenabled'] = 'Plugin not enabled!'

Definition at line 94 of file enrol_ldap.php.

$string['role_mapping'] = '<p>For each role that you want to assign from LDAP, you need to specify the list of contexts where the role courses\'s groups are located. Separate different contexts with \';\'.</p><p>You also need to specify the attribute your LDAP server uses to hold the members of a group. Usually \'member\' or \'memberUid\'</p>'

Definition at line 95 of file enrol_ldap.php.

$string['role_mapping_key'] = 'Map roles from LDAP '

Definition at line 96 of file enrol_ldap.php.

$string['roles'] = 'Role mapping'

Definition at line 97 of file enrol_ldap.php.

$string['server_settings'] = 'LDAP server settings'

Definition at line 98 of file enrol_ldap.php.

$string['synccourserole'] = "== Synching course '{\$a->idnumber}' for role '{\$a->role_shortname}'\n"

Definition at line 99 of file enrol_ldap.php.

$string['template'] = 'Optional: auto-created courses can copy their settings from a template course'

Definition at line 100 of file enrol_ldap.php.

$string['template_key'] = 'Template'

Definition at line 101 of file enrol_ldap.php.

$string['unassignrole'] = "Unassigning role '{\$a->role_shortname}' to user '{\$a->user_username}' from course '{\$a->course_shortname}' (id {\$a->course_id})\n"

Definition at line 102 of file enrol_ldap.php.

$string['unassignroleid'] = "Unassigning role id '{\$a->role_id}' to user id '{\$a->user_id}'\n"

Definition at line 103 of file enrol_ldap.php.

$string['unassignrolefailed'] = "Failed to unassign role '{\$a->role_shortname}' to user '{\$a->user_username}' from course '{\$a->course_shortname}' (id {\$a->course_id})\n"

Definition at line 104 of file enrol_ldap.php.

$string['updatelocal'] = 'Update local data'

Definition at line 105 of file enrol_ldap.php.

$string['user_attribute'] = 'If the group membership contains distinguised names, specify the attribute used to name/search users. If you are using LDAP authentication, this value should match the attribute specified in the \'ID Number\' mapping in the LDAP authentication plugin'

Definition at line 106 of file enrol_ldap.php.

$string['user_attribute_key'] = 'ID number attribute'

Definition at line 107 of file enrol_ldap.php.

$string['user_contexts'] = 'If the group membership contains distinguised names, specify the list of contexts where users are located. Separate different contexts with \';\'. For example: \'ou=users,o=org; ou=others,o=org\''

Definition at line 108 of file enrol_ldap.php.

$string['user_contexts_key'] = 'Contexts'

Definition at line 109 of file enrol_ldap.php.

$string['user_search_sub'] = 'If the group membership contains distinguised names, specify if the search for users is done in subcontexts too'

Definition at line 110 of file enrol_ldap.php.

$string['user_search_sub_key'] = 'Search subcontexts'

Definition at line 111 of file enrol_ldap.php.

$string['user_settings'] = 'User lookup settings'

Definition at line 112 of file enrol_ldap.php.

$string['user_type'] = 'If the group membership contains distinguished names, specify how users are stored in LDAP'

Definition at line 113 of file enrol_ldap.php.

$string['user_type_key'] = 'User type'

Definition at line 114 of file enrol_ldap.php.

$string['version'] = 'The version of the LDAP protocol your server is using'

Definition at line 115 of file enrol_ldap.php.

$string['version_key'] = 'Version'

Definition at line 116 of file enrol_ldap.php.

 All Data Structures Namespaces Files Functions Variables Enumerations