Update to now hopefully official OID/Private Enterprise Numbers

This commit is contained in:
Miles Lott 2001-05-17 02:31:36 +00:00
parent 5a6cf40e6b
commit 867753c2d3
3 changed files with 62 additions and 55 deletions

View File

@ -1,3 +1,14 @@
/* $Id$ */
THESE FILES ARE NOT YET REQUIRED!!!!!!!!!!!!!!
THIS IS STILL FOR FUTURE USE ONLY AND IS A WORK IN PROGRESS.
This directory contains schema files for use the with various
LDAP servers to which we have access. Openldap 1.X is very
forgiving, and it is not required to load this schema in all
cases. Openldap 2.X is less forgiving and requires schema
definitions for all objectclasses and attributes.
Openldap 1.X: Openldap 1.X:
The following are for use with openldap 1.X: The following are for use with openldap 1.X:
@ -12,23 +23,19 @@ include /etc/openldap/phpgw.at.conf
include /etc/openldap/phpgwcontact.oc.conf include /etc/openldap/phpgwcontact.oc.conf
include /etc/openldap/phpgwcontact.at.conf include /etc/openldap/phpgwcontact.at.conf
Openldap 2.X, possibly others: Openldap 2.X, possibly others:
The following is for use with openldap 2.X. It should load, but the The following are for use with openldap 2.X:
OID values are arbitrarily chosen for testing. We have applied for phpgwaccount.schema defines the phpgwAccount objectclass and our attributes
an OID that we can use. Once that has been issued, we will update phpgwcontact.schema defines the phpgwContact objectclass and our attributes
this file:
phpgwaccount.schema defines the phpgwAccount objectclass and our attributes
This should be copied to /etc/openldap/schema and added to These should be copied to /etc/openldap/schema and added to
/etc/openldap/slapd.conf: /etc/openldap/slapd.conf:
include /etc/openldap/schema/phpgwaccount.schema include /etc/openldap/schema/phpgwaccount.schema
include /etc/openldap/schema/phpgwcontact.schema
The Private Enterprise Code/OID for phpgroupware is 1.3.6.1.4.1.9554,
Other files: registered via IANA and assigned on May 16 2001. This is registered
under the name Clear River Technologies, LLC.
phpgwcontact.schema VERY new and unfinished contacts schema
This now has what appears to be a proper definition for the attributes
and the objectclass, but they are not official yet.

View File

@ -1,7 +1,7 @@
# $phpgroupware : admin/phpgwuser.schema,v 1.0 2000/07/29 01:53:16 milosch Exp $ # $phpgroupware : admin/phpgwuser.schema,v 1.0 2000/07/29 01:53:16 milosch Exp $
# lastlogin # lastlogin
attributetype ( 2.3.6.1.1.1.1.1 attributetype ( 1.3.6.1.4.1.9554.1
NAME 'phpgwLastLogin' NAME 'phpgwLastLogin'
DESC 'timestamp of last login' DESC 'timestamp of last login'
EQUALITY integerMatch EQUALITY integerMatch
@ -9,21 +9,21 @@ attributetype ( 2.3.6.1.1.1.1.1
SINGLE-VALUE ) SINGLE-VALUE )
# lastloginfrom # lastloginfrom
attributetype ( 2.3.6.1.1.1.1.2 attributetype ( 1.3.6.1.4.1.9554.2
NAME 'phpgwLastLoginFrom' NAME 'phpgwLastLoginFrom'
DESC 'IP address as a dotted decimal, eg. 192.168.1.1, omitting leading zeros' DESC 'IP address as a dotted decimal, eg. 192.168.1.1, omitting leading zeros'
EQUALITY caseIgnoreIA5Match EQUALITY caseIgnoreIA5Match
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{128} ) SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{128} )
# lastpasswdchange # lastpasswdchange
attributetype ( 2.3.6.1.1.1.1.3 attributetype ( 1.3.6.1.4.1.9554.3
NAME 'phpgwLastPasswdChange' NAME 'phpgwLastPasswdChange'
EQUALITY integerMatch EQUALITY integerMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
SINGLE-VALUE ) SINGLE-VALUE )
# accounttype # accounttype
attributetype ( 2.3.6.1.1.1.1.4 attributetype ( 1.3.6.1.4.1.9554.4
NAME 'phpgwAccountType' NAME 'phpgwAccountType'
DESC 'Single-char u/g for user/group' DESC 'Single-char u/g for user/group'
EQUALITY caseExactIA5Match EQUALITY caseExactIA5Match
@ -31,7 +31,7 @@ attributetype ( 2.3.6.1.1.1.1.4
SINGLE-VALUE ) SINGLE-VALUE )
# status # status
attributetype ( 2.3.6.1.1.1.1.5 attributetype ( 1.3.6.1.4.1.9554.5
NAME 'phpgwAccountStatus' NAME 'phpgwAccountStatus'
DESC 'Single-char A/L for active/inactive' DESC 'Single-char A/L for active/inactive'
EQUALITY caseExactIA5Match EQUALITY caseExactIA5Match
@ -39,7 +39,7 @@ attributetype ( 2.3.6.1.1.1.1.5
SINGLE-VALUE ) SINGLE-VALUE )
# expires # expires
attributetype ( 2.3.6.1.1.1.1.6 attributetype ( 1.3.6.1.4.1.9554.6
NAME 'phpgwExpires' NAME 'phpgwExpires'
DESC 'timestamp for account expiration' DESC 'timestamp for account expiration'
EQUALITY integerMatch EQUALITY integerMatch
@ -47,7 +47,7 @@ attributetype ( 2.3.6.1.1.1.1.6
SINGLE-VALUE ) SINGLE-VALUE )
# Objectclass definition for phpgwAccount # Objectclass definition for phpgwAccount
objectclass ( 2.3.6.1.1.1.2.0 NAME 'phpgwAccount' SUP top AUXILIARY objectclass ( 1.3.6.1.4.1.9554.0 NAME 'phpgwAccount' SUP top AUXILIARY
DESC 'Abstraction of an account with phpgw attributes' DESC 'Abstraction of an account with phpgw attributes'
MAY ( phpgwLastLogin $ phpgwLastLoginFrom $ phpgwLastPasswdChange $ phpgwAccountType $ phpgwAccountStatus ) ) MAY ( phpgwLastLogin $ phpgwLastLoginFrom $ phpgwLastPasswdChange $ phpgwAccountType $ phpgwAccountStatus ) )

View File

@ -1,165 +1,165 @@
# $phpgroupware : addressbook/phpgwcontact.schema,v 1.0 2000/07/29 01:53:16 milosch Exp $ # $phpgroupware : addressbook/phpgwcontact.schema,v 1.0 2000/07/29 01:53:16 milosch Exp $
# REQUIRED # REQUIRED
attributetype ( 2.3.6.1.1.1.1.100 attributetype ( 1.3.6.1.4.1.9554.100
NAME 'phpgwContactTypeId' NAME 'phpgwContactTypeId'
EQUALITY numericStringMatch EQUALITY numericStringMatch
SUBSTR numericStringSubstringsMatch SUBSTR numericStringSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.36{16} ) SYNTAX 1.3.6.1.4.1.1466.115.121.1.36{16} )
# REQUIRED # REQUIRED
attributetype ( 2.3.6.1.1.1.1.101 attributetype ( 1.3.6.1.4.1.9554.101
NAME 'phpgwContactCatId' NAME 'phpgwContactCatId'
EQUALITY numericStringMatch EQUALITY numericStringMatch
SUBSTR numericStringSubstringsMatch SUBSTR numericStringSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.36{16} ) SYNTAX 1.3.6.1.4.1.1466.115.121.1.36{16} )
# REQUIRED # REQUIRED
attributetype ( 2.3.6.1.1.1.1.102 attributetype ( 1.3.6.1.4.1.9554.102
NAME 'phpgwContactAccess' NAME 'phpgwContactAccess'
EQUALITY caseIgnoreMatch EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} ) SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} )
# REQUIRED # REQUIRED
attributetype ( 2.3.6.1.1.1.1.103 attributetype ( 1.3.6.1.4.1.9554.103
NAME 'phpgwContactOwner' NAME 'phpgwContactOwner'
EQUALITY numericStringMatch EQUALITY numericStringMatch
SUBSTR numericStringSubstringsMatch SUBSTR numericStringSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.36{16} ) SYNTAX 1.3.6.1.4.1.1466.115.121.1.36{16} )
# BELOW ARE OPTIONAL # BELOW ARE OPTIONAL
attributetype ( 2.3.6.1.1.1.1.105 attributetype ( 1.3.6.1.4.1.9554.105
NAME 'phpgwMiddlename' NAME 'phpgwMiddlename'
SUP name ) SUP name )
attributetype ( 2.3.6.1.1.1.1.106 attributetype ( 1.3.6.1.4.1.9554.106
NAME 'phpgwPrefix' NAME 'phpgwPrefix'
SUP name ) SUP name )
attributetype ( 2.3.6.1.1.1.1.107 attributetype ( 1.3.6.1.4.1.9554.107
NAME 'phpgwSuffix' NAME 'phpgwSuffix'
SUP name ) SUP name )
attributetype ( 2.3.6.1.1.1.1.108 attributetype ( 1.3.6.1.4.1.9554.108
NAME 'phpgwAudio' NAME 'phpgwAudio'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.4{25000} ) SYNTAX 1.3.6.1.4.1.1466.115.121.1.4{25000} )
attributetype ( 2.3.6.1.1.1.1.109 attributetype ( 1.3.6.1.4.1.9554.109
NAME 'phpgwBirthday' NAME 'phpgwBirthday'
EQUALITY caseIgnoreMatch EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} ) SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} )
attributetype ( 2.3.6.1.1.1.1.110 attributetype ( 1.3.6.1.4.1.9554.110
NAME 'phpgwTz' NAME 'phpgwTz'
EQUALITY integerMatch EQUALITY integerMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
attributetype ( 2.3.6.1.1.1.1.111 attributetype ( 1.3.6.1.4.1.9554.111
NAME 'phpgwGeo' NAME 'phpgwGeo'
EQUALITY integerMatch EQUALITY integerMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
attributetype ( 2.3.6.1.1.1.1.112 attributetype ( 1.3.6.1.4.1.9554.112
NAME 'phpgwUrl' NAME 'phpgwUrl'
EQUALITY caseIgnoreMatch EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} ) SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} )
attributetype ( 2.3.6.1.1.1.1.113 attributetype ( 1.3.6.1.4.1.9554.113
NAME 'phpgwPublicKey' NAME 'phpgwPublicKey'
EQUALITY caseIgnoreMatch EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} ) SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} )
attributetype ( 2.3.6.1.1.1.1.114 attributetype ( 1.3.6.1.4.1.9554.114
NAME 'phpgwAdrOneType' NAME 'phpgwAdrOneType'
EQUALITY caseIgnoreMatch EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} ) SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} )
attributetype ( 2.3.6.1.1.1.1.115 attributetype ( 1.3.6.1.4.1.9554.115
NAME 'phpgwAddressLabel' NAME 'phpgwAddressLabel'
EQUALITY caseIgnoreListMatch EQUALITY caseIgnoreListMatch
SUBSTR caseIgnoreListSubstringsMatch SUBSTR caseIgnoreListSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.41 ) SYNTAX 1.3.6.1.4.1.1466.115.121.1.41 )
attributetype ( 2.3.6.1.1.1.1.116 attributetype ( 1.3.6.1.4.1.9554.116
NAME 'phpgwAdrTwoStreet' NAME 'phpgwAdrTwoStreet'
SUP street ) SUP street )
attributetype ( 2.3.6.1.1.1.1.117 attributetype ( 1.3.6.1.4.1.9554.117
NAME 'phpgwAdrTwoLocality' NAME 'phpgwAdrTwoLocality'
SUP l ) SUP l )
attributetype ( 2.3.6.1.1.1.1.118 attributetype ( 1.3.6.1.4.1.9554.118
NAME 'phpgwAdrTwoRegion' NAME 'phpgwAdrTwoRegion'
SUP st ) SUP st )
attributetype ( 2.3.6.1.1.1.1.119 attributetype ( 1.3.6.1.4.1.9554.119
NAME 'phpgwAdrTwoPostalCode' NAME 'phpgwAdrTwoPostalCode'
SUP postalcode ) SUP postalcode )
attributetype ( 2.3.6.1.1.1.1.120 attributetype ( 1.3.6.1.4.1.9554.120
NAME 'phpgwAdrTwoCountryName' NAME 'phpgwAdrTwoCountryName'
SUP friendlyCountryName ) SUP friendlyCountryName )
attributetype ( 2.3.6.1.1.1.1.121 attributetype ( 1.3.6.1.4.1.9554.121
NAME 'phpgwAdrTwoType' NAME 'phpgwAdrTwoType'
SUP phpgwAdrOneType ) SUP phpgwAdrOneType )
attributetype ( 2.3.6.1.1.1.1.122 attributetype ( 1.3.6.1.4.1.9554.122
NAME 'phpgwVoiceTelephoneNumber' NAME 'phpgwVoiceTelephoneNumber'
SUP telephonenumber ) SUP telephonenumber )
attributetype ( 2.3.6.1.1.1.1.123 attributetype ( 1.3.6.1.4.1.9554.123
NAME 'phpgwMsgTelephoneNumber' NAME 'phpgwMsgTelephoneNumber'
SUP telephonenumber ) SUP telephonenumber )
attributetype ( 2.3.6.1.1.1.1.124 attributetype ( 1.3.6.1.4.1.9554.124
NAME 'phpgwPagerTelephoneNumber' NAME 'phpgwPagerTelephoneNumber'
SUP telephonenumber ) SUP telephonenumber )
attributetype ( 2.3.6.1.1.1.1.125 attributetype ( 1.3.6.1.4.1.9554.125
NAME 'phpgwCellTelephoneNumber' NAME 'phpgwCellTelephoneNumber'
SUP telephonenumber ) SUP telephonenumber )
attributetype ( 2.3.6.1.1.1.1.126 attributetype ( 1.3.6.1.4.1.9554.126
NAME 'phpgwBbsTelephoneNumber' NAME 'phpgwBbsTelephoneNumber'
SUP telephonenumber ) SUP telephonenumber )
attributetype ( 2.3.6.1.1.1.1.127 attributetype ( 1.3.6.1.4.1.9554.127
NAME 'phpgwModemTelephoneNumber' NAME 'phpgwModemTelephoneNumber'
SUP telephonenumber ) SUP telephonenumber )
attributetype ( 2.3.6.1.1.1.1.128 attributetype ( 1.3.6.1.4.1.9554.128
NAME 'phpgwMobileTelephoneNumber' NAME 'phpgwMobileTelephoneNumber'
SUP telephonenumber ) SUP telephonenumber )
attributetype ( 2.3.6.1.1.1.1.129 attributetype ( 1.3.6.1.4.1.9554.129
NAME 'phpgwIsdnphoneNumber' NAME 'phpgwIsdnphoneNumber'
SUP telephonenumber ) SUP telephonenumber )
attributetype ( 2.3.6.1.1.1.1.130 attributetype ( 1.3.6.1.4.1.9554.130
NAME 'phpgwVideophoneNumber' NAME 'phpgwVideophoneNumber'
SUP telephonenumber ) SUP telephonenumber )
attributetype ( 2.3.6.1.1.1.1.131 attributetype ( 1.3.6.1.4.1.9554.131
NAME 'phpgwPreferPhone' NAME 'phpgwPreferPhone'
EQUALITY caseExactIA5Match EQUALITY caseExactIA5Match
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE ) SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )
attributetype ( 2.3.6.1.1.1.1.132 attributetype ( 1.3.6.1.4.1.9554.132
NAME 'phpgwMailType' NAME 'phpgwMailType'
EQUALITY caseExactIA5Match EQUALITY caseExactIA5Match
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE ) SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )
attributetype ( 2.3.6.1.1.1.1.133 attributetype ( 1.3.6.1.4.1.9554.133
NAME 'phpgwMailHome' NAME 'phpgwMailHome'
SUP mail ) SUP mail )
attributetype ( 2.3.6.1.1.1.1.134 attributetype ( 1.3.6.1.4.1.9554.134
NAME 'phpgwMailHomeType' NAME 'phpgwMailHomeType'
SUP phpgwMailType ) SUP phpgwMailType )
@ -167,7 +167,7 @@ attributetype ( 2.3.6.1.1.1.1.134
# The phpgwContact represents people who are associated with a # The phpgwContact represents people who are associated with a
# phpgw install in some way. It is a structural class and is derived # phpgw install in some way. It is a structural class and is derived
# from the inetOrgPerson schema. # from the inetOrgPerson schema.
objectclass ( 2.3.6.1.1.1.1.200 objectclass ( 1.3.6.1.4.1.9554.200
NAME 'phpgwContact' NAME 'phpgwContact'
DESC 'phpGroupWare Contact Entry' DESC 'phpGroupWare Contact Entry'
MUST( MUST(