Code

* Modified schema to have Administrative instead of Administrational
[gosa.git] / contrib / openldap / phpgwaccount.schema
1 # $Id egroupware : phpgwaccount.schema,v 1.0 2000/07/29 01:53:16 milosch Exp $
3 # (C) 2001-2004 Miles Lott <milos@groupwhere.org>
4 # Redistribution and use in original text and binary forms, with or
5 # without modification, are permitted provided that the following
6 # conditions are met:
7 #
8 # 1. Redistributions of this schema and/or documentation must retain
9 #    the above copyright notice, this list of conditions and the
10 #    following disclaimer.
11 # 2. Redistributions in binary form must reproduce the above copyright notice,
12 #    this list of conditions and the following disclaimer in the documentation
13 #    and/or other materials provided with the distribution.
14 # 3. The name of the author may not be used to endorse or promote products
15 #    derived from this software without specific prior written permission.
16 #
17 # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
18 # IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
19 # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
20 # DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
21 # INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
22 # (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
23 # SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
25 # STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
26 # IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
27 # POSSIBILITY OF SUCH DAMAGE.
29 # lastlogin
30 attributetype ( 1.3.6.1.4.1.9554.1
31         NAME 'phpgwAccountLastLogin'
32         DESC 'timestamp of last login'
33         EQUALITY integerMatch
34         SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
35         SINGLE-VALUE )
37 # lastloginfrom
38 attributetype ( 1.3.6.1.4.1.9554.2
39         NAME 'phpgwAccountLastLoginFrom'
40         DESC 'IP address as a dotted decimal, eg. 192.168.1.1, omitting leading zeros'
41         EQUALITY caseIgnoreIA5Match
42         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{128} )
44 # lastpasswdchange
45 attributetype ( 1.3.6.1.4.1.9554.3
46         NAME 'phpgwLastPasswdChange'
47         EQUALITY integerMatch
48         SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
49         SINGLE-VALUE )
51 # accounttype
52 attributetype ( 1.3.6.1.4.1.9554.4
53         NAME 'phpgwAccountType'
54         DESC 'Single-char u/g for user/group'
55         EQUALITY caseExactIA5Match
56         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
57         SINGLE-VALUE )
59 # status
60 attributetype ( 1.3.6.1.4.1.9554.5
61         NAME 'phpgwAccountStatus'
62         DESC 'Single-char A/L for active/inactive'
63         EQUALITY caseExactIA5Match
64         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
65         SINGLE-VALUE )
67 # expires
68 attributetype ( 1.3.6.1.4.1.9554.6
69         NAME 'phpgwAccountExpires'
70         DESC 'timestamp for account expiration'
71         EQUALITY integerMatch
72         SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
73         SINGLE-VALUE )
75 # Objectclass definition for phpgwAccount
76 objectclass ( 1.3.6.1.4.1.9554.0 NAME 'phpgwAccount' SUP top AUXILIARY
77         DESC 'Abstraction of an account with phpgw attributes'
78         MAY ( phpgwAccountLastLogin $ phpgwAccountLastLoginFrom $ phpgwLastPasswdChange $ phpgwAccountType $ phpgwAccountStatus $ phpgwAccountExpires) )