-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmoodle.schema
26 lines (22 loc) · 993 Bytes
/
moodle.schema
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#attributetype ( oidAttrBase:44 NAME ( 'teacherUid' ) SUP memberUid
# DESC 'which person is a teacher of this course'
# )
#objectclass ( oidObjRoot:14 NAME 'moodleCourse' SUP top STRUCTURAL
# DESC 'course available in Moodle'
# MUST ( cn )
# MAY ( owner $ gn $ sn $ seeAlso $ description $ memberUid $ teacherUid )
# )
#Note: Openldap 2.x will need something like:
attributetype ( 1.2.1.1.1.1.2.1 NAME 'teacherUid'
SUP memberUid
DESC 'which person is a teacher of this course'
EQUALITY caseExactIA5Match
SUBSTR caseExactIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
objectclass ( 1.2.1.1.1.1.1.1
NAME 'moodleCourse'
SUP top STRUCTURAL
DESC 'course available in Moodle'
MUST ( cn )
MAY ( owner $ gn $ sn $ seeAlso $ description $ memberUid $ teacherUid )
)