Update 2.X schema and readme

This commit is contained in:
Miles Lott 2001-05-09 12:33:58 +00:00
parent de7d1f4e60
commit 6a09bbe3f3
2 changed files with 28 additions and 15 deletions

View File

@ -1,3 +1,5 @@
Openldap 1.X:
The following are for use with openldap 1.X: The following are for use with openldap 1.X:
phpgw.oc.conf defines the phpgwAccount objectclass phpgw.oc.conf defines the phpgwAccount objectclass
phpgw.at.conf defines our special attributes phpgw.at.conf defines our special attributes
@ -8,5 +10,16 @@ They should be copied to /etc/openldap and added to
include /etc/openldap/phpgw.oc.conf include /etc/openldap/phpgw.oc.conf
include /etc/openldap/phpgw.at.conf include /etc/openldap/phpgw.at.conf
The following is for use with openldap 2.X, and DOES NOT WORK YET:
phpgwuser.schema Openldap 2.X, possibly others:
The following is for use with openldap 2.X. It should load, but the
OID values are arbitrarily chosen for testing. We have applied for
an OID that we can use. Once that has been issued, we will update
this file:
phpgwaccount.schema defines the phpgwAccount objectclass and our attributes
This should be copied to /etc/openldap/schema and added to
/etc/openldap/slapd.conf:
include /etc/openldap/schema/phpgwaccount.schema

View File

@ -1,45 +1,45 @@
# $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 ( 1.3.6.1.1.1.1.5 attributetype ( 2.3.6.1.1.1.1.1
NAME 'lastlogin' NAME 'phpgwLastLogin'
DESC 'timestamp of last login' DESC 'timestamp of last login'
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 )
# lastloginfrom # lastloginfrom
attributetype ( 1.3.6.1.1.1.1.19 attributetype ( 2.3.6.1.1.1.1.2
NAME 'lastloginfrom' 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 ( 1.3.6.1.1.1.1.5 attributetype ( 2.3.6.1.1.1.1.3
NAME 'lastpasswdchange' 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 )
# account_type # accounttype
attributetype ( 1.3.6.1.1.1.1.4 attributetype ( 2.3.6.1.1.1.1.4
NAME 'accounttype' NAME 'phpgwAccountType'
DESC 'Single-char u/g for user/group' DESC 'Single-char u/g for user/group'
EQUALITY caseExactIA5Match EQUALITY caseExactIA5Match
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
SINGLE-VALUE ) SINGLE-VALUE )
# status # status
attributetype ( 1.3.6.1.1.1.1.4 attributetype ( 2.3.6.1.1.1.1.5
NAME 'status' NAME 'phpgwAccountStatus'
DESC 'Single-char A/L for active/inactive' DESC 'Single-char A/L for active/inactive'
EQUALITY caseExactIA5Match EQUALITY caseExactIA5Match
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
SINGLE-VALUE ) SINGLE-VALUE )
# Objectclass definition for phpgwAccount # Objectclass definition for phpgwAccount
objectclass ( 1.3.6.1.1.1.2.0 NAME 'phpgwAccount' SUP top AUXILIARY objectclass ( 2.3.6.1.1.1.2.0 NAME 'phpgwAccount' SUP top AUXILIARY
DESC 'Abstraction of an account with phpgw attributes' DESC 'Abstraction of an account with phpgw attributes'
MAY ( lastlogin $ lastloginfrom $ lastpasswdchange $ accounttype $ status ) ) MAY ( phpgwLastLogin $ phpgwLastLoginFrom $ phpgwLastPasswdChange $ phpgwAccountType $ phpgwAccountStatus ) )