KazV2/dockers/ldap/base/kaz-schema.ldif.tmpl
2024-06-03 18:43:35 +02:00

36 lines
1.4 KiB
Cheetah

dn: cn={$KAZNUMBER}kaz,cn=schema,cn=config
changeType: modify
replace: olcAttributeTypes
olcAttributeTypes: {0}( 1.3.6.1.4.1.5656.1.1.1 NAME 'mailDeSecours'
DESC 'Adresse mail de secours'
EQUALITY caseIgnoreIA5Match
SUBSTR caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{320} )
olcAttributeTypes: {1}( 1.3.6.1.4.1.5656.1.1.2 NAME 'quota'
DESC 'Quota en GO (integer)'
EQUALITY integerMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE)
olcAttributeTypes: {2}( 1.3.6.1.4.1.5656.1.1.3 NAME 'agoraEnabled'
DESC 'acces a agora'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE)
olcAttributeTypes: {3}( 1.3.6.1.4.1.5656.1.1.4 NAME 'mobilizonEnabled'
DESC 'acces a mobilizon'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE)
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} )
-
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 )
)