Add schema that seem to work with iPlanet on linux at least

This commit is contained in:
Miles Lott 2001-06-09 00:10:05 +00:00
parent d54f278e45
commit 7b16b1d7ac
5 changed files with 131 additions and 1 deletions

View File

@ -9,6 +9,7 @@ forgiving, and it is not required to load this schema in all
cases. Openldap 2.X is less forgiving and requires schema cases. Openldap 2.X is less forgiving and requires schema
definitions for all objectclasses and attributes. 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:
@ -24,7 +25,7 @@ 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:
The following are for use with openldap 2.X: The following are for use with openldap 2.X:
phpgwaccount.schema defines the phpgwAccount objectclass and our attributes phpgwaccount.schema defines the phpgwAccount objectclass and our attributes
@ -40,3 +41,22 @@ include /etc/openldap/schema/phpgwcontact.schema
The Private Enterprise Code/OID for phpgroupware is 1.3.6.1.4.1.9554, The Private Enterprise Code/OID for phpgroupware is 1.3.6.1.4.1.9554,
registered via IANA and assigned on May 16 2001. This is registered registered via IANA and assigned on May 16 2001. This is registered
under the name Clear River Technologies, LLC. under the name Clear River Technologies, LLC.
Netscape/iPlanet:
The following are for use with Netscape/iPlanet Directory Server:
iplanet/phpgwaccount.at.conf defines our special attributes for accounts
iplanet/phpgwaccount.oc.conf defines the phpgwAccount objectclass
iplanet/phpgwcontact.at.conf defines our special attributes for contacts
iplanet/phpgwcontact.oc.conf defines the phpgwContact objectclass
They should be copied to /usr/netscape/server4/slapd-HOST/config and added to
/usr/netscape/server4/slapd-HOST/config/slapd.conf AFTER other similar
include lines:
include /etc/openldap/phpgw.oc.conf
include /etc/openldap/phpgw.at.conf
include /etc/openldap/phpgwcontact.oc.conf
include /etc/openldap/phpgwcontact.at.conf

View File

@ -0,0 +1,6 @@
attribute phpgwaccountlastlogin 1.3.6.1.4.1.9554.1 cis
attribute phpgwaccountlastloginfrom 1.3.6.1.4.1.9554.2 cis
attribute phpgwLastPasswdChange 1.3.6.1.4.1.9554.3 cis
attribute phpgwAccountType 1.3.6.1.4.1.9554.4 cis
attribute phpgwaccountstatus 1.3.6.1.4.1.9554.5 cis
attribute phpgwaccountexpires 1.3.6.1.4.1.9554.6 cis

View File

@ -0,0 +1,13 @@
objectclass phpgwaccount
oid 1.3.6.1.4.1.9554.0
requires
objectClass,
uid,
phpgwaccountlastlogin,
phpgwaccountlastloginfrom,
phpgwlastpasswdchange,
phpgwaccounttype,
phpgwaccountstatus,
phpgwaccountexpires
allows
seeAlso

View File

@ -0,0 +1,34 @@
attribute phpgwcontacttypeid 1.3.6.1.4.1.9554.100 cis
attribute phpgwcontactcatId 1.3.6.1.4.1.9554.101 cis
attribute phpgwcontactaccess 1.3.6.1.4.1.9554.102 cis
attribute phpgwcontactowner 1.3.6.1.4.1.9554.103 cis
attribute phpgwmiddlename 1.3.6.1.4.1.9554.105 cis
attribute phpgwprefix 1.3.6.1.4.1.9554.106 cis
attribute phpgwsuffix 1.3.6.1.4.1.9554.107 cis
attribute phpgwaudio 1.3.6.1.4.1.9554.108 bin
attribute phpgwbirthday 1.3.6.1.4.1.9554.109 cis
attribute phpgwtz 1.3.6.1.4.1.9554.110 int single
attribute phpgwgeo 1.3.6.1.4.1.9554.111 int single
attribute phpgwurl 1.3.6.1.4.1.9554.112 cis
attribute phpgwpublickey 1.3.6.1.4.1.9554.113 cis
attribute phpgwadronetype 1.3.6.1.4.1.9554.114 cis
attribute phpgwaddresslabel 1.3.6.1.4.1.9554.115 cis
attribute phpgwadrtwostreet 1.3.6.1.4.1.9554.116 cis
attribute phpgwadrtwolocality 1.3.6.1.4.1.9554.117 cis
attribute phpgwadrtworegion 1.3.6.1.4.1.9554.118 cis
attribute phpgwadrtwopostalcode 1.3.6.1.4.1.9554.119 cis
attribute phpgwadrtwocountryname 1.3.6.1.4.1.9554.120 cis
attribute phpgwadrtwotype 1.3.6.1.4.1.9554.121 cis
attribute phpgwvoicetelephonenumber 1.3.6.1.4.1.9554.122 tel
attribute phpgwmsgtelephonenumber 1.3.6.1.4.1.9554.123 tel
attribute phpgwpagertelephonenumber 1.3.6.1.4.1.9554.124 tel
attribute phpgwcelltelephonenumber 1.3.6.1.4.1.9554.125 tel
attribute phpgwbbstelephonenumber 1.3.6.1.4.1.9554.126 tel
attribute phpgwmodemtelephonenumber 1.3.6.1.4.1.9554.127 tel
attribute phpgwmobiletelephonenumber 1.3.6.1.4.1.9554.128 tel
attribute phpgwisdnphonenumber 1.3.6.1.4.1.9554.129 tel
attribute phpgwvideophonenumber 1.3.6.1.4.1.9554.130 tel
attribute phpgwpreferphone 1.3.6.1.4.1.9554.131 ces
attribute phpgwmailtype 1.3.6.1.4.1.9554.132 ces
attribute phpgwmailhome 1.3.6.1.4.1.9554.133 cis
attribute phpgwmailhometype 1.3.6.1.4.1.9554.134 cis

View File

@ -0,0 +1,57 @@
objectclass phpgwContact
oid 1.3.6.1.4.1.9554.200
requires
uid,
uidnumber,
phpgwcontacttypeid,
phpgwcontactcatid,
phpgwcontactaccess,
phpgwcontactowner
allows
cn,
givenname,
sn,
phpgwmiddlename,
phpgwprefix,
phpgwsuffix,
phpgwaudio,
phpgwbirthday,
phpgwtz,
phpgwgeo,
phpgwurl,
phpgwpublickey,
o,
ou,
title,
street,
l,
st,
postalcode,
friendlycountryname,
c,
co,
countryname,
phpgwadronetype,
phpgwaddresslabel,
phpgwadrtwostreet,
phpgwadrtwolocality,
phpgwadrtworegion,
phpgwadrtwopostalcode,
phpgwadrtwocountryname,
phpgwadrtwotype,
telephonenumber,
homephone,
phpgwvoicetelephonenumber,
phpgwmsgtelephonenumber,
phpgwcelltelephonenumber,
phpgwpagertelephonenumber,
phpgwbbstelephonenumber,
phpgwmodemtelephonenumber,
phpgwmobiletelephonenumber,
phpgwisdnphonenumber,
phpgwvideophonenumber,
phpgwpreferphone,
mail,
phpgwmailtype,
phpgwmailhome,
phpgwmailhometype