schemas ldap kaznaute/orgakaz

This commit is contained in:
Fanch 2024-08-30 23:17:20 +02:00
parent e18f6be545
commit ea3a1a56b9
2 changed files with 32 additions and 2 deletions

View File

@ -24,12 +24,38 @@ olcAttributeTypes: {4}( 1.3.6.1.4.1.5656.1.1.5 NAME 'identifiantKaz'
DESC 'Identifiant Kaz prenom.nom' DESC 'Identifiant Kaz prenom.nom'
EQUALITY caseIgnoreMatch EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch 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 replace: olcObjectClasses
olcObjectClasses: {0}( 1.3.6.1.4.1.5656.1.2.1 NAME 'kaznaute' olcObjectClasses: {0}( 1.3.6.1.4.1.5656.1.2.1 NAME 'kaznaute'
DESC 'Un kaznaute' DESC 'Un kaznaute'
SUP top AUXILIARY SUP top AUXILIARY
MUST ( cn $ quota $ mailDeSecours $ identifiantKaz ) 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 )
) )

View File

@ -2,6 +2,10 @@ dn: ou=users,$LDAPROOT
objectClass: organizationalUnit objectClass: organizationalUnit
ou: users ou: users
dn: ou=orgas,$LDAPROOT
objectClass: organizationalUnit
ou: orgas
dn: ou=applications,$LDAPROOT dn: ou=applications,$LDAPROOT
objectClass: organizationalUnit objectClass: organizationalUnit
ou: system ou: system