mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-22 05:12:25 +01:00
Update 2.X schema and readme
This commit is contained in:
parent
de7d1f4e60
commit
6a09bbe3f3
@ -1,3 +1,5 @@
|
||||
Openldap 1.X:
|
||||
|
||||
The following are for use with openldap 1.X:
|
||||
phpgw.oc.conf defines the phpgwAccount objectclass
|
||||
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.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
|
||||
|
@ -1,45 +1,45 @@
|
||||
# $phpgroupware : admin/phpgwuser.schema,v 1.0 2000/07/29 01:53:16 milosch Exp $
|
||||
|
||||
# lastlogin
|
||||
attributetype ( 1.3.6.1.1.1.1.5
|
||||
NAME 'lastlogin'
|
||||
attributetype ( 2.3.6.1.1.1.1.1
|
||||
NAME 'phpgwLastLogin'
|
||||
DESC 'timestamp of last login'
|
||||
EQUALITY integerMatch
|
||||
SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
|
||||
SINGLE-VALUE )
|
||||
|
||||
# lastloginfrom
|
||||
attributetype ( 1.3.6.1.1.1.1.19
|
||||
NAME 'lastloginfrom'
|
||||
attributetype ( 2.3.6.1.1.1.1.2
|
||||
NAME 'phpgwLastLoginFrom'
|
||||
DESC 'IP address as a dotted decimal, eg. 192.168.1.1, omitting leading zeros'
|
||||
EQUALITY caseIgnoreIA5Match
|
||||
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{128} )
|
||||
|
||||
# lastpasswdchange
|
||||
attributetype ( 1.3.6.1.1.1.1.5
|
||||
NAME 'lastpasswdchange'
|
||||
attributetype ( 2.3.6.1.1.1.1.3
|
||||
NAME 'phpgwLastPasswdChange'
|
||||
EQUALITY integerMatch
|
||||
SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
|
||||
SINGLE-VALUE )
|
||||
|
||||
# account_type
|
||||
attributetype ( 1.3.6.1.1.1.1.4
|
||||
NAME 'accounttype'
|
||||
# accounttype
|
||||
attributetype ( 2.3.6.1.1.1.1.4
|
||||
NAME 'phpgwAccountType'
|
||||
DESC 'Single-char u/g for user/group'
|
||||
EQUALITY caseExactIA5Match
|
||||
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
|
||||
SINGLE-VALUE )
|
||||
|
||||
# status
|
||||
attributetype ( 1.3.6.1.1.1.1.4
|
||||
NAME 'status'
|
||||
attributetype ( 2.3.6.1.1.1.1.5
|
||||
NAME 'phpgwAccountStatus'
|
||||
DESC 'Single-char A/L for active/inactive'
|
||||
EQUALITY caseExactIA5Match
|
||||
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
|
||||
SINGLE-VALUE )
|
||||
|
||||
# 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'
|
||||
MAY ( lastlogin $ lastloginfrom $ lastpasswdchange $ accounttype $ status ) )
|
||||
MAY ( phpgwLastLogin $ phpgwLastLoginFrom $ phpgwLastPasswdChange $ phpgwAccountType $ phpgwAccountStatus ) )
|
||||
|
Loading…
Reference in New Issue
Block a user