userdb: Allow "+", ":", and "_" in usernames.
[hcoop/debian/courier-authlib.git] / authldap.schema
CommitLineData
d9898ee8 1#$Id: authldap.schema,v 1.8 2005/03/20 19:10:30 mrsam Exp $
2#
3# OID prefix: 1.3.6.1.4.1.10018
4#
5# Attributes: 1.3.6.1.4.1.10018.1.1
6#
7# Depends on: nis.schema, which depends on cosine.schema
8
9attributetype ( 1.3.6.1.4.1.10018.1.1.1 NAME 'mailbox'
10 DESC 'The absolute path to the mailbox for a mail account in a non-default location'
11 EQUALITY caseExactIA5Match
12 SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )
13
14attributetype ( 1.3.6.1.4.1.10018.1.1.2 NAME 'quota'
15 DESC 'A string that represents the quota on a mailbox'
16 EQUALITY caseExactIA5Match
17 SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )
18
19attributetype ( 1.3.6.1.4.1.10018.1.1.3 NAME 'clearPassword'
20 DESC 'A separate text that stores the mail account password in clear text'
21 EQUALITY octetStringMatch
22 SYNTAX 1.3.6.1.4.1.1466.115.121.1.40{128})
23
24attributetype ( 1.3.6.1.4.1.10018.1.1.4 NAME 'maildrop'
25 DESC 'RFC822 Mailbox - mail alias'
26 EQUALITY caseIgnoreIA5Match
27 SUBSTR caseIgnoreIA5SubstringsMatch
28 SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} )
29
30attributetype ( 1.3.6.1.4.1.10018.1.1.5 NAME 'mailsource'
31 DESC 'Message source'
32 EQUALITY caseIgnoreIA5Match
33 SUBSTR caseIgnoreIA5SubstringsMatch
34 SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
35
36attributetype ( 1.3.6.1.4.1.10018.1.1.6 NAME 'virtualdomain'
37 DESC 'A mail domain that is mapped to a single mail account'
38 EQUALITY caseIgnoreIA5Match
39 SUBSTR caseIgnoreIA5SubstringsMatch
40 SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
41
42attributetype ( 1.3.6.1.4.1.10018.1.1.7 NAME 'virtualdomainuser'
43 DESC 'Mailbox that receives mail for a mail domain'
44 EQUALITY caseIgnoreIA5Match
45 SUBSTR caseIgnoreIA5SubstringsMatch
46 SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
47
48attributetype ( 1.3.6.1.4.1.10018.1.1.8 NAME 'defaultdelivery'
49 DESC 'Default mail delivery instructions'
50 EQUALITY caseExactIA5Match
51 SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
52
53attributetype ( 1.3.6.1.4.1.10018.1.1.9 NAME 'disableimap'
54 DESC 'Set this attribute to 1 to disable IMAP access'
55 EQUALITY caseExactIA5Match
56 SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
57
58attributetype ( 1.3.6.1.4.1.10018.1.1.10 NAME 'disablepop3'
59 DESC 'Set this attribute to 1 to disable POP3 access'
60 EQUALITY caseExactIA5Match
61 SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
62
63attributetype ( 1.3.6.1.4.1.10018.1.1.11 NAME 'disablewebmail'
64 DESC 'Set this attribute to 1 to disable IMAP access'
65 EQUALITY caseExactIA5Match
66 SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
67
68attributetype ( 1.3.6.1.4.1.10018.1.1.12 NAME 'sharedgroup'
69 DESC 'Virtual shared group'
70 EQUALITY caseExactIA5Match
71 SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
72
73attributetype ( 1.3.6.1.4.1.10018.1.1.13 NAME 'disableshared'
74 DESC 'Set this attribute to 1 to disable shared mailbox usage'
75 EQUALITY caseExactIA5Match
76 SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
77
78attributetype ( 1.3.6.1.4.1.10018.1.1.14 NAME 'mailhost'
79 DESC 'Host to which incoming POP/IMAP connections should be proxied'
80 EQUALITY caseIgnoreIA5Match
81 SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} )
82
83#
84# Objects: 1.3.6.1.4.1.10018.1.2
85#
86
87objectclass ( 1.3.6.1.4.1.10018.1.2.1 NAME 'CourierMailAccount' SUP top AUXILIARY
88 DESC 'Mail account object as used by the Courier mail server'
89 MUST ( mail $ homeDirectory )
90 MAY ( uidNumber $ gidNumber $ mailbox $ uid $ cn $ gecos $ description $ loginShell $ quota $ userPassword $ clearPassword $ defaultdelivery $ disableimap $ disablepop3 $ disablewebmail $ sharedgroup $ disableshared $ mailhost) )
91
92objectclass ( 1.3.6.1.4.1.10018.1.2.2 NAME 'CourierMailAlias' SUP top AUXILIARY
93 DESC 'Mail aliasing/forwarding entry'
94 MUST ( mail $ maildrop )
95 MAY ( mailsource $ description ) )
96
97objectclass ( 1.3.6.1.4.1.10018.1.2.3 NAME 'CourierDomainAlias' SUP top AUXILIARY
98 DESC 'Domain mail aliasing/forwarding entry'
99 MUST ( virtualdomain $ virtualdomainuser )
100 MAY ( mailsource $ description ) )