diff --git a/dockers/ldap/base/kaz-schema.ldif.tmpl b/dockers/ldap/base/kaz-schema.ldif.tmpl index b9ac132..72bc3f8 100644 --- a/dockers/ldap/base/kaz-schema.ldif.tmpl +++ b/dockers/ldap/base/kaz-schema.ldif.tmpl @@ -24,12 +24,38 @@ olcAttributeTypes: {4}( 1.3.6.1.4.1.5656.1.1.5 NAME 'identifiantKaz' DESC 'Identifiant Kaz prenom.nom' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch - SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{320} ) + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{320} SINGLE-VALUE) +olcAttributeTypes: {5}( 1.3.6.1.4.1.5656.1.1.6 NAME 'numeroMembre' + DESC 'Numero membre Kaz' + EQUALITY caseIgnoreMatch + SUBSTR caseIgnoreSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{320} SINGLE-VALUE) +olcAttributeTypes: {6}( 1.3.6.1.4.1.5656.1.1.7 NAME 'nextcloudDedie' + DESC 'nextcloud dedie' + EQUALITY caseIgnoreMatch + SUBSTR caseIgnoreSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE) +olcAttributeTypes: {7}( 1.3.6.1.4.1.5656.1.1.8 NAME 'domaineExterne' + DESC 'domaine externe' + EQUALITY caseIgnoreMatch + SUBSTR caseIgnoreSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15) +olcAttributeTypes: {8}( 1.3.6.1.4.1.5656.1.1.9 NAME 'adressesServices' + DESC 'Adressess des services' + EQUALITY caseIgnoreMatch + SUBSTR caseIgnoreSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15) - replace: olcObjectClasses olcObjectClasses: {0}( 1.3.6.1.4.1.5656.1.2.1 NAME 'kaznaute' DESC 'Un kaznaute' SUP top AUXILIARY MUST ( cn $ quota $ mailDeSecours $ identifiantKaz ) - MAY ( agoraEnabled $ mobilizonEnabled ) + MAY ( agoraEnabled $ mobilizonEnabled $ numeroMembre ) + ) +olcObjectClasses: {1}( 1.3.6.1.4.1.5656.1.2.2 NAME 'kazorga' + DESC 'Une orga kaz' + SUP top AUXILIARY + MUST ( cn $ quota $ numeroMembre ) + MAY ( nextcloudDedie $ domaineExterne $ adressesServices ) ) diff --git a/dockers/ldap/base/skeleton.ldif.tmpl b/dockers/ldap/base/skeleton.ldif.tmpl index 3504a35..fce0158 100644 --- a/dockers/ldap/base/skeleton.ldif.tmpl +++ b/dockers/ldap/base/skeleton.ldif.tmpl @@ -2,6 +2,10 @@ dn: ou=users,$LDAPROOT objectClass: organizationalUnit ou: users +dn: ou=orgas,$LDAPROOT +objectClass: organizationalUnit +ou: orgas + dn: ou=applications,$LDAPROOT objectClass: organizationalUnit ou: system