Code

Added attribute to objectclass
[gosa.git] / contrib / openldap / pureftpd.schema
1 # $Id: pureftpd.schema,v 1.2 2004/02/04 15:25:01 cajus Exp $
2 #
3 # pureftpd.schema
4 #
5 # Pure-FTPd User LDAP Schema
6 # See README.LDAP in the Pure-FTPd documentation for more information.
7 #
8 # Written 2002-01-24 by Ben Gertzfield <che =AT= debian -DOT- org>
9 #
11 ## Pure-FTPd-related LDAP attributes
13 attributetype ( 1.3.6.1.4.1.6981.11.3.1 NAME 'FTPQuotaFiles'
14         DESC 'Quota (in number of files) for an FTP user'
15         EQUALITY integerMatch
16         SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
18 attributetype ( 1.3.6.1.4.1.6981.11.3.2 NAME 'FTPQuotaMBytes'
19         DESC 'Quota (in megabytes) for an FTP user'
20         EQUALITY integerMatch        
21         SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
23 attributetype ( 1.3.6.1.4.1.6981.11.3.3 NAME 'FTPUploadRatio'
24         DESC 'Ratio (compared with FTPRatioDown) for uploaded files'
25         EQUALITY integerMatch        
26         SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
28 attributetype ( 1.3.6.1.4.1.6981.11.3.4 NAME 'FTPDownloadRatio'
29         DESC 'Ratio (compared with FTPRatioUp) for downloaded files'
30         EQUALITY integerMatch        
31         SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
33 attributetype ( 1.3.6.1.4.1.6981.11.3.5 NAME 'FTPUploadBandwidth'
34         DESC 'Bandwidth (in KB/s) to limit upload speeds to'
35         EQUALITY integerMatch        
36         SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
38 attributetype ( 1.3.6.1.4.1.6981.11.3.6 NAME 'FTPDownloadBandwidth'
39         DESC 'Bandwidth (in KB/s) to limit download speeds to'
40         EQUALITY integerMatch        
41         SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
43 attributetype ( 1.3.6.1.4.1.6981.11.3.7 NAME 'FTPStatus'
44         DESC 'Account status: enabled or disabled'
45         EQUALITY caseIgnoreIA5Match
46         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )
48 attributetype ( 1.3.6.1.4.1.6981.11.3.8 NAME 'FTPuid'
49         DESC 'System uid (overrides uidNumber if present)'
50         EQUALITY integerMatch
51         SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
53 attributetype ( 1.3.6.1.4.1.6981.11.3.9 NAME 'FTPgid'
54         DESC 'System uid (overrides gidNumber if present)'
55         EQUALITY integerMatch
56         SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
58 ## New Pure-FTPd object type
60 objectclass ( 1.3.6.1.4.1.6981.11.2.3 NAME 'PureFTPdUser' SUP top AUXILIARY
61         DESC 'PureFTPd user with optional quota, throttling, and ratio'
62         MAY ( FTPStatus $ FTPQuotaFiles $ FTPQuotaMBytes $ FTPUploadRatio $ 
63               FTPDownloadRatio $ FTPUploadBandwidth $ FTPDownloadBandwidth $
64               FTPuid $ FTPgid ) )