From 9fca66e92dcacdba41db3eab88629015c05be75e Mon Sep 17 00:00:00 2001 From: Rich Megginson Date: Thu, 16 Oct 2008 16:43:37 +0000 Subject: Resolves: bug 455026 bug 441026 Bug Description: RFE: include RFC4876 schema - Autofs does not include LDAP schema for Fedora Directory Server Reviewed by: nkinder (Thanks!) Fix Description: Pieter D.J. Krul has contributed many schema files that have been tested in production environments. They are divided into two groups - those that conflict with existing schema in DS, CertSys, and IPA, and those which do not. The latter are installed in the default schema directory to be available for new instances - the former are installed in the data directory just as the rfc2307bis schema. The schema provided cover autofs and rfc4876, as in the bug reports, and more. Here is the full list of new files: 60trust.ldif 60pureftpd.ldif 60sudo.ldif 60nis.ldif 60samba.ldif 60mozilla.ldif 60samba3.ldif 60krb5kdc.ldif 60sabayon.ldif 60kerberos.ldif 60rfc4876.ldif 60inetmail.ldif 60rfc3712.ldif 60eduperson.ldif 60rfc2739.ldif 60changelog.ldif 60radius.ldif 60autofs.ldif 60qmail.ldif Platforms tested: RHEL5 Flag Day: no Doc impact: yes - document the new schema --- ldap/schema/60sabayon.ldif | 61 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 ldap/schema/60sabayon.ldif (limited to 'ldap/schema/60sabayon.ldif') diff --git a/ldap/schema/60sabayon.ldif b/ldap/schema/60sabayon.ldif new file mode 100644 index 00000000..43e0c4a0 --- /dev/null +++ b/ldap/schema/60sabayon.ldif @@ -0,0 +1,61 @@ +########################################################### +# 1.3.6.1.4.1.2312 dot notation +# 1.3.6.1.4.1.2312.4.3.3 attributeTypes +# 1.3.6.1.4.1.2312.4.3.4 objectClasses +########################################################### +dn: cn=schema +# These example schema can be used to integrate sabayon with ldap +# However, the ldap support in sabayon is very flexible, so you can +# choose to do your own ldap integration using a different schema +# This attribute is used to point to a sabayon profile file +# that is accessible via a (typically http) url +attributeTypes: ( + 1.3.6.1.4.1.2312.4.3.3.1 + NAME 'sabayonProfileURL' + DESC 'The URL of a sabayon profile' + SUP labeledURI +) +# This attribute is used to store the name of a sabayon profile. +# It can refer to either a local zipfile (which will be looked up +# in /etc/desktop-profiles/$(name).zip), or it can be used to +# map to another ldap object that maps to the final profile URL +attributeTypes: ( + 1.3.6.1.4.1.2312.4.3.3.2 + NAME 'sabayonProfileName' + DESC 'The Name of a sabayon profile' + EQUALITY caseIgnoreMatch + SUBSTR caseIgnoreSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 + SINGLE-VALUE +) +# Simple example object to store profile information +# If you use this or something similar instead of a direct URL +# in your user object you get more flexibility. +objectClasses: ( + 1.3.6.1.4.1.2312.4.3.4.1 + NAME 'sabayonProfile' + DESC 'sabayon profile' + SUP top + STRUCTURAL + MUST cn + MAY ( sabayonProfileURL $ description ) +) +# Use these to put sabayonProfileName or sabayonProfileURL +# attributes in an objetc +objectClasses: ( + 1.3.6.1.4.1.2312.4.3.4.2 + NAME 'sabayonProfileNameObject' + DESC 'contains sabayon profile name' + SUP top + AUXILIARY + MUST sabayonProfileName +) +objectClasses: ( + 1.3.6.1.4.1.2312.4.3.4.3 + NAME 'sabayonProfileURLObject' + DESC 'contains sabayon profile' + SUP top + AUXILIARY + MUST cn + MAY sabayonProfileURL +) -- cgit