-
Notifications
You must be signed in to change notification settings - Fork 0
/
endfirst.ldif
64 lines (63 loc) · 2.05 KB
/
endfirst.ldif
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#
# SCHEMA 'endfirst' for OpenLDAP OLC (cn=config)
#
# INSTALLATION:
# sudo ldapadd -Y EXTERNAL -H ldapi:/// -f endfirst.ldif
#
# SOURCE:
# https://github.com/robarchibald/endfirstLdapSchema
#
# IANA PEN 1.3.6.1.4.1.47049 is registered to EndFirst
# See: http://www.iana.org/assignments/enterprise-numbers/enterprise-numbers
#
# 1.3.6.1.4.1.47049.1 - LDAP
# 1.3.6.1.4.1.47049.1.1 - LDAP Attribute Types
# 1.3.6.1.4.1.47049.1.2 - LDAP Object Classes
# See http://www.openldap.org/doc/admin24/schema.html for naming info
# See http://www.zytrax.com/books/ldap/apa/types.html for data types
#
# WARNING: the spaces ' ' in the definitions are very important!!!
dn: cn=endfirst,cn=schema,cn=config
objectClass: olcSchemaConfig
cn: endfirst
olcAttributeTypes: ( 1.3.6.1.4.1.47049.1.1.1
NAME 'fileQuota'
DESC 'File Sharing Quota (e.g. 2 GB)'
EQUALITY caseIgnoreIA5Match
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{50}
SINGLE-VALUE )
olcAttributeTypes: ( 1.3.6.1.4.1.47049.1.1.2
NAME 'mailQuota'
DESC 'Mail Quota (e.g. 2 GB)'
EQUALITY caseIgnoreIA5Match
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{50}
SINGLE-VALUE )
olcAttributeTypes: ( 1.3.6.1.4.1.47049.1.1.3
NAME 'proxy'
DESC 'Mail Proxy setting'
EQUALITY caseIgnoreIA5Match
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{50}
SINGLE-VALUE )
olcAttributeTypes: ( 1.3.6.1.4.1.47049.1.1.4
NAME 'mailFolder'
DESC 'The absolute path to the mail directory'
EQUALITY caseExactIA5Match
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{255}
SINGLE-VALUE )
olcAttributeTypes: ( 1.3.6.1.4.1.47049.1.1.5
NAME 'dbUserId'
DESC 'Database User ID to maintain referential integrity'
EQUALITY integerMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
SINGLE-VALUE )
olcObjectClasses: ( 1.3.6.1.4.1.47049.1.2.1
NAME 'endfirstAccount'
DESC 'endfirst user account'
STRUCTURAL
MUST ( uid $ dbUserId $ cn $ userPassword ) )
olcObjectClasses: ( 1.3.6.1.4.1.47049.1.2.2
NAME 'endfirstSubscriber'
DESC 'endfirst LDAP Schema'
AUXILIARY
MUST ( fileQuota $ mailQuota )
MAY ( host $ proxy $ mailFolder $ gidNumber $ uidNumber ) )