LDAP: ttdmin.schema

File ttdmin.schema, 3.1 KB (added by admin, 5 years ago)

ttdmin.schema

Line 
1#--------------------------------------------------------------------------
2# LDAP Schema for ttdmin
3#----------------------
4# Release 1.0
5# 2018/12/30
6#--------------------------------------------------------------------------
7# Copyright (c) 2018 H. Mundprecht - thinkthinkdo.com
8# Permission is granted to copy, distribute and/or modify this document
9# under the terms of the GNU Free Documentation License, Version 2
10# or any later version published by the Free Software Foundation;
11#--------------------------------------------------------------------------
12# 1.3.6.1.4.1.53220         ThinkThinkDo OID
13# 1.3.6.1.4.1.53220.1       ttdmin
14# 1.3.6.1.4.1.53220.1.1     AttributeTypes
15# 1.3.6.1.4.1.53220.1.2     ObjectClasses
16#--------------------------------------------------------------------------
17
18# Attribute Types
19#-----------------
20
21attributetype ( 1.3.6.1.4.1.53220.1.1.1 NAME 'accountActive'
22        DESC 'A flag, for marking the user as active or not'
23        EQUALITY booleanMatch
24        SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 SINGLE-VALUE )
25
26attributetype ( 1.3.6.1.4.1.53220.1.1.2 NAME 'delete'
27        DESC 'A flag, for marking the user for deletion'
28        EQUALITY booleanMatch
29        SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 SINGLE-VALUE )
30
31attributetype ( 1.3.6.1.4.1.53220.1.1.3 NAME 'forwardActive'
32        DESC 'A flag, for marking the user is using forward'
33        EQUALITY booleanMatch
34        SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 SINGLE-VALUE )
35
36attributetype ( 1.3.6.1.4.1.53220.1.1.4 NAME 'vacationActive'
37        DESC 'A flag, for marking the user as being away'
38        EQUALITY booleanMatch
39        SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 SINGLE-VALUE )
40
41attributetype ( 1.3.6.1.4.1.53220.1.1.5 NAME 'mailAutoreply'
42        DESC 'RFC822 Mailbox - mail for autoreply'
43        EQUALITY caseIgnoreIA5Match
44        SUBSTR caseIgnoreIA5SubstringsMatch
45        SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} )
46
47attributetype ( 1.3.6.1.4.1.53220.1.1.10 NAME 'vacationInfo'
48        DESC 'Vacation message'
49        EQUALITY octetStringMatch
50        SYNTAX 1.3.6.1.4.1.1466.115.121.1.40 SINGLE-VALUE )
51
52attributetype ( 1.3.6.1.4.1.53220.1.1.11 NAME 'vacationStart'
53        DESC 'Start of vacation'
54        EQUALITY octetStringMatch
55        SYNTAX 1.3.6.1.4.1.1466.115.121.1.40 SINGLE-VALUE )
56
57attributetype ( 1.3.6.1.4.1.53220.1.1.12 NAME 'vacationEnd'
58        DESC 'End of vacation'
59        EQUALITY octetStringMatch
60        SYNTAX 1.3.6.1.4.1.1466.115.121.1.40 SINGLE-VALUE )
61
62attributetype ( 1.3.6.1.4.1.53220.1.1.13 NAME 'vacationForward'
63        DESC 'RFC1274: RFC822 Mailbox'
64        EQUALITY caseIgnoreIA5Match
65        SUBSTR caseIgnoreIA5SubstringsMatch
66        SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} )
67
68attributetype ( 1.3.6.1.4.1.53220.1.1.20 NAME 'mailForward'
69        DESC 'RFC822 Mailbox - forward Mail to'
70        EQUALITY caseIgnoreIA5Match
71        SUBSTR caseIgnoreIA5SubstringsMatch
72        SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} )
73
74# Classes
75#---------
76
77objectclass ( 1.3.6.1.4.1.53220.1.2.1 NAME 'TTDMinAccount'
78        SUP top AUXILIARY
79        DESC 'Mail account objects'
80        MUST ( mail $ accountActive $ delete )
81        MAY ( mailAutoreply $ forwardActive $ vacationActive $ vacationInfo $ vacationStart $ vacationEnd $ vacationForward $ mailForward ) )