From 2e68dfbde1ada59c853be8c51fe8cf333fb9b574 Mon Sep 17 00:00:00 2001
From: Benoit Mortier <benoit.mortier@fusiondirectory.org>
Date: Mon, 24 Feb 2025 14:56:57 +0100
Subject: [PATCH] :ambulance: fix(schema) The old supann 2009 schema is still
 in our source and should be removed

Signed-off-by: Benoit Mortier <benoit.mortier@fusiondirectory.org>
---
 supann/contrib/openldap/supann_2009.schema | 301 ---------------------
 1 file changed, 301 deletions(-)
 delete mode 100644 supann/contrib/openldap/supann_2009.schema

diff --git a/supann/contrib/openldap/supann_2009.schema b/supann/contrib/openldap/supann_2009.schema
deleted file mode 100644
index 958d619186..0000000000
--- a/supann/contrib/openldap/supann_2009.schema
+++ /dev/null
@@ -1,301 +0,0 @@
-##############            schema supann 	        ##############
-#                      C. Claveleira - CRU                           #
-
-# $Id: supann.schema,v 2009.6 2010/04/09 07:03:48 clavelei Exp $	
-
-
-# Schema des objets specifiques des recommandations supann
-
-# Placé sous l'arc 1.3.6.1.4.1.7135.1.2 du CRU
-# sous-arc 1 : attributs
-# sous-arc 2 : classes
-
-# Modifications :
-#
-# 09 avril 10 (CC) : supannRefId : suppression du SINGLE-VALUE mis par erreur
-# 23 fevr. 10 (JML): inversion SUP et DESC pour les attributs supannAutreTelephone, supannParrainDN, supannGroupeAdminDN, supannGroupeLecteurDN, supannAutreMail pour 389 Directory Server
-# 23 nov.  09 (CC) : passage de supannEmpCorps en directoryString
-# 13 nov.  09 (CC) : ajout EQUALITY caseIgnoreMatch à mailForwardingAddress
-# 12 nov.  09 (CC) : retrait supannTypeEntite de supannPerson, ajout de supannTypeEntiteAffectation et supannRefId
-# 20 oct.  09 (CC) : ajout supannEmpCorps
-# 13 mai   09 (CC) : ajout mailForwardingAddress
-# 16 fevr. 09 (CC) : ajout supannAutreMail
-# 23 oct.  08 (CC) : ajout SINGLE-VALUE à supannEntiteAffectationPrincipale
-# 24 juin  08 (CC) : plus de clause MUST à supannPerson, ajout supannRoleGenerique
-# 18 juin  08 (CC) : intégration de supann 2008.rc1
-# 25 juil. 03 (CC) : supannGroup* -> supannGroupe*
-# 10 juil. 03 (CC) : supannGroupeLecteur -> supannGroupeLecteurDN, supannGroupeAdministrateur -> supannGroupeAdminDN
-# 09 juil. 03 (CC) : ajout supannGroupeLecteur
-# 08 juil. 03 (CC) : exactmatch pour supannEtuId, supannEmpId, supannAliasLogin
-# 07 juil. 03 (CC) : mise en conformite avec V033
-# 05 juin  03 (CC) : ajout supannDateFin, supannParrain et classe freduPerson
-# 27 mai   03 (CC) : supannEmpActivite plus obligatoire
-# 23 mai   03 (CC) : supannOrganisme et supannCivilite monovalues, ajout supannRole
-# 16 mai   03 (CC) : supannCodeINE->supannEtuCodeINE, supannEtablissement->supannOrganisme, supannAliasLogin
-# 17 avril 03 (CC) : adaptations pour V 015
-# 10 avril 03 (CC) : support version 14 des recommandations
-# 20 fevr. 03 (CC) : mise a jour
-# 28 nov.  02 (CC) : version initiale
-
-# Attributs :
-#
-attributetype ( 1.3.6.1.4.1.7135.1.2.1.1 NAME 'supannListeRouge'
-	DESC 'indique que l entree correspondante n est pas publique'
-	EQUALITY booleanMatch
-	SINGLE-VALUE
-	SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 )
-
-attributetype ( 1.3.6.1.4.1.7135.1.2.1.2 NAME 'supannActivite'
-	DESC 'activite ou metier de la personne'
-	EQUALITY caseIgnoreMatch
-	SUBSTR caseIgnoreSubstringsMatch
-	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{128} )
-
-
-attributetype ( 1.3.6.1.4.1.7135.1.2.1.3 NAME 'supannOrganisme'
-	DESC 'code organisme d appartenance'
-	EQUALITY caseIgnoreMatch
-	SUBSTR caseIgnoreSubstringsMatch
-	SINGLE-VALUE
-	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{128} )
-
-attributetype ( 1.3.6.1.4.1.7135.1.2.1.4 NAME 'supannCivilite'
-	DESC 'civilite : M., Mme, Mlle'
-	EQUALITY caseIgnoreMatch
-	SUBSTR caseIgnoreSubstringsMatch
-	SINGLE-VALUE
-	SYNTAX 1.3.6.1.4.1.1466.115.121.1.44{32} )
-
-attributetype ( 1.3.6.1.4.1.7135.1.2.1.5 NAME 'supannAffectation'
-	DESC 'affectation'
-	EQUALITY caseIgnoreMatch
-	SUBSTR caseIgnoreSubstringsMatch
-	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{128} )
-
-attributetype ( 1.3.6.1.4.1.7135.1.2.1.6 NAME 'supannCodeEntite'
-	DESC 'identifiant d entite'
-	EQUALITY caseIgnoreIA5Match
-	SUBSTR caseIgnoreIA5SubstringsMatch
-	SINGLE-VALUE
-	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{128} )
-
-attributetype ( 1.3.6.1.4.1.7135.1.2.1.7 NAME 'supannCodeEntiteParent'
-	DESC 'identifiant d entite parente'
-	EQUALITY caseIgnoreIA5Match
-	SUBSTR caseIgnoreIA5SubstringsMatch
-	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{128} )
-
-attributetype ( 1.3.6.1.4.1.7135.1.2.1.8 NAME 'supannEntiteAffectation'
-	DESC 'identifiant d entite d affectation'
-	EQUALITY caseIgnoreIA5Match
-	SUBSTR caseIgnoreIA5SubstringsMatch
-	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{128} )
-
-attributetype ( 1.3.6.1.4.1.7135.1.2.1.9 NAME 'supannCodeINE'
-	DESC 'code INE'
-	EQUALITY caseIgnoreMatch
-	SUBSTR caseIgnoreSubstringsMatch
-	SYNTAX 1.3.6.1.4.1.1466.115.121.1.44{128} )
-
-attributetype ( 1.3.6.1.4.1.7135.1.2.1.10 NAME 'supannEtuId'
-	DESC 'identifiant scolarite'
-	EQUALITY caseExactMatch
-	SUBSTR caseExactSubstringsMatch
-	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{128} )
-
-attributetype ( 1.3.6.1.4.1.7135.1.2.1.11 NAME 'supannEmpId'
-	DESC 'identifiant personnel'
-	EQUALITY caseExactMatch
-	SUBSTR caseExactSubstringsMatch
-	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{128} )
-
-attributetype ( 1.3.6.1.4.1.7135.1.2.1.12  NAME 'supannAutreTelephone' 
-	DESC 'numeros de telephone secondaires'
-	SUP telephoneNumber )
-
-attributetype ( 1.3.6.1.4.1.7135.1.2.1.13 NAME 'supannEntiteAffectationPrincipale'
-	DESC 'identifiant d entite principale d affectation'
-	EQUALITY caseIgnoreIA5Match
-	SUBSTR caseIgnoreIA5SubstringsMatch
-	SINGLE-VALUE
-	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{128} )
-
-attributetype ( 1.3.6.1.4.1.7135.1.2.1.14 NAME 'supannEtablissement'
-	DESC 'code d etablissement'
-	EQUALITY caseIgnoreMatch
-	SUBSTR caseIgnoreSubstringsMatch
-	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{128} )
-
-attributetype ( 1.3.6.1.4.1.7135.1.2.1.15 NAME 'supannMailPerso'
-	DESC 'Mailbox RFC822 privee'
-    	EQUALITY caseIgnoreIA5Match
-    	SUBSTR caseIgnoreIA5SubstringsMatch
-   	 SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} )
-
-attributetype ( 1.3.6.1.4.1.7135.1.2.1.16 NAME 'supannTypeEntite'
-	DESC 'type de structure ou entite'
-	EQUALITY caseIgnoreMatch
-	SUBSTR caseIgnoreSubstringsMatch
-	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{128} )
-
-attributetype ( 1.3.6.1.4.1.7135.1.2.1.17  NAME 'supannParrainDN' 
-	DESC 'dn du responsable de cette entree'
-	SUP distinguishedName )
-
-attributetype ( 1.3.6.1.4.1.7135.1.2.1.18 NAME 'supannGroupeDateFin'
-	DESC 'indique la date de fin de validite de l entree correspondante'
-	EQUALITY generalizedTimeMatch
-	ORDERING generalizedTimeOrderingMatch
-	SINGLE-VALUE
-	SYNTAX 1.3.6.1.4.1.1466.115.121.1.24 )
-
-attributetype ( 1.3.6.1.4.1.7135.1.2.1.19  NAME 'supannGroupeAdminDN' 
-	DESC 'dn des administrateurs du groupe concerne'
-	SUP distinguishedName )
-
-attributetype ( 1.3.6.1.4.1.7135.1.2.1.20 NAME 'supannAliasLogin'
-	DESC 'login personalise'
-	EQUALITY caseExactMatch
-	SUBSTR caseExactSubstringsMatch
-	SINGLE-VALUE
-	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{128} )
-
-attributetype ( 1.3.6.1.4.1.7135.1.2.1.21 NAME 'supannRole'
-	DESC 'role'
-	EQUALITY caseIgnoreMatch
-	SUBSTR caseIgnoreSubstringsMatch
-	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{128} )
-
-attributetype ( 1.3.6.1.4.1.7135.1.2.1.22  NAME 'supannGroupeLecteurDN' 
-	DESC 'dn des entites habilite a lire le contenu d un groupe'
-	SUP distinguishedName )
-
-attributetype ( 1.3.6.1.4.1.7135.1.2.1.23 NAME 'supannRoleGenerique'
-	DESC 'role generique d une personne'
-	EQUALITY caseIgnoreMatch
-	SUBSTR caseIgnoreSubstringsMatch
-	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} )
-
-attributetype ( 1.3.6.1.4.1.7135.1.2.1.24 NAME 'supannRoleEntite'
-	DESC 'role contextuel'
-	EQUALITY caseIgnoreMatch
-	SUBSTR caseIgnoreSubstringsMatch
-	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{512} )
-
-attributetype ( 1.3.6.1.4.1.7135.1.2.1.25 NAME 'supannEtuAnneeInscription'
-	DESC 'annee inscription'
-	EQUALITY numericStringMatch
-	ORDERING numericStringOrderingMatch
-	SYNTAX 1.3.6.1.4.1.1466.115.121.1.36{4} )
-
-attributetype ( 1.3.6.1.4.1.7135.1.2.1.26 NAME 'supannEtuCursusAnnee'
-	DESC 'cursus et annee dans le diplome'
-	EQUALITY caseIgnoreMatch
-	SUBSTR caseIgnoreSubstringsMatch
-	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{128} )
-
-attributetype ( 1.3.6.1.4.1.7135.1.2.1.27 NAME 'supannEtuDiplome'
-	DESC 'diplome'
-	EQUALITY caseIgnoreMatch
-	SUBSTR caseIgnoreSubstringsMatch
-	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{128} )
-
-attributetype ( 1.3.6.1.4.1.7135.1.2.1.28 NAME 'supannEtuElementPedagogique'
-	DESC 'element pedagogique'
-	EQUALITY caseIgnoreMatch
-	SUBSTR caseIgnoreSubstringsMatch
-	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{128} )
-
-attributetype ( 1.3.6.1.4.1.7135.1.2.1.29 NAME 'supannEtuEtape'
-	DESC 'etape'
-	EQUALITY caseIgnoreMatch
-	SUBSTR caseIgnoreSubstringsMatch
-	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{128} )
-
-attributetype ( 1.3.6.1.4.1.7135.1.2.1.30 NAME 'supannEtuInscription'
-	DESC 'description d inscriptions'
-	EQUALITY caseIgnoreMatch
-	SUBSTR caseIgnoreSubstringsMatch
-	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{4096} )
-
-attributetype ( 1.3.6.1.4.1.7135.1.2.1.31 NAME 'supannEtuRegimeInscription'
-	DESC 'regime d inscription'
-	EQUALITY caseIgnoreMatch
-	SUBSTR caseIgnoreSubstringsMatch
-	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{128} )
-
-attributetype ( 1.3.6.1.4.1.7135.1.2.1.32 NAME 'supannEtuSecteurDisciplinaire'
-	DESC 'secteur disciplinaire'
-	EQUALITY caseIgnoreMatch
-	SUBSTR caseIgnoreSubstringsMatch
-	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{128} )
-
-attributetype ( 1.3.6.1.4.1.7135.1.2.1.33 NAME 'supannEtuTypeDiplome'
-	DESC 'type de diplome'
-	EQUALITY caseIgnoreMatch
-	SUBSTR caseIgnoreSubstringsMatch
-	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{128} )
-
-attributetype ( 1.3.6.1.4.1.7135.1.2.1.34 NAME 'supannAutreMail'
-	DESC 'adresses mail non institutionnelles'
-	SUP mail )
-
-attributetype ( 1.3.6.1.4.1.7135.1.2.1.35 NAME 'supannEmpCorps'
-	DESC 'corps d appartenance d un agent'
-	EQUALITY caseIgnoreMatch
-	SUBSTR caseIgnoreSubstringsMatch
-	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{128} )
-
-attributetype ( 1.3.6.1.4.1.7135.1.2.1.36 NAME 'supannTypeEntiteAffectation'
-	DESC 'type de structure ou entite d affectation'
-	EQUALITY caseIgnoreMatch
-	SUBSTR caseIgnoreSubstringsMatch
-	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{128} )
-
-attributetype ( 1.3.6.1.4.1.7135.1.2.1.37 NAME 'supannRefId'
-	DESC 'identifiant partage avec autre brique du SI'
-	EQUALITY caseExactMatch
-	SUBSTR caseExactSubstringsMatch
-	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{128} )
-
-
-# repris du schema Netscape (enlever si conflit) :
-attributeType ( 2.16.840.1.113730.3.1.17 NAME ( 'mailForwardingAddress' ) 
-	DESC 'Netscape Messaging Server 4.x defined attribute' 
-	EQUALITY caseIgnoreMatch 
-	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15  
-	X-ORIGIN 'Netscape Messaging Server 4.x' )
-
-
-######################## Classes d'objets :
-
-# classe complementaire specifique de supann :
-objectclass ( 1.3.6.1.4.1.7135.1.2.2.1 NAME 'supannPerson' SUP top AUXILIARY
-	DESC 'classe d infos complementaires sur personnes supann'
-	MAY ( supannOrganisme $ supannCivilite $ supannAutreTelephone $ supannAffectation $ 
-	supannEmpId $ supannCodeINE $ supannEtuId $ supannAliasLogin $ supannParrainDN $
-	supannActivite $ supannEntiteAffectation $ supannEntiteAffectationPrincipale $ 
-	supannMailPerso $ supannRole $ supannRoleEntite $ supannRoleGenerique $ 
-	supannEtuAnneeInscription $ supannEtuCursusAnnee $ supannEtuDiplome $ supannEtuElementPedagogique $
-	supannEtuEtape $ supannEtuInscription $ supannEtuRegimeInscription $ supannEtuSecteurDisciplinaire $
-	supannEtuTypeDiplome $ supannEtablissement $ supannListeRouge $ 
-	supannAutreMail $ mailForwardingAddress $ supannEmpCorps $ supannTypeEntiteAffectation $ supannRefId ) )
-
-objectclass ( 1.3.6.1.4.1.7135.1.2.2.2 NAME 'supannOrg' SUP top AUXILIARY
-	DESC 'classe d infos complementaires pour etablissement'
-	MAY ( supannEtablissement ) )
-
-objectclass ( 1.3.6.1.4.1.7135.1.2.2.3 NAME 'supannEntite' SUP top AUXILIARY
-	DESC 'classe d infos complementaires pour entite'
-	MUST ( supannCodeEntite )
-	MAY ( supannTypeEntite  $ supannCodeEntiteParent $ supannRefId ) )
-
-#objectclass ( 1.3.6.1.4.1.7135.1.2.2.4 NAME 'entree disponible'
-
-#-objectclass ( 1.3.6.1.4.1.7135.1.2.2.5 NAME 'entree disponible'
-
-# attributs specifiques des groupes :
-objectclass ( 1.3.6.1.4.1.7135.1.2.2.6 NAME 'supannGroupe' SUP top AUXILIARY
-	DESC 'attributs specifiques des groupes'
-	MAY ( supannGroupeDateFin  $ supannGroupeAdminDN $ supannGroupeLecteurDN $ supannRefId ) )
-
-- 
GitLab