194 lines
6.4 KiB
Plaintext
194 lines
6.4 KiB
Plaintext
# Schéma LDAP
|
|
#
|
|
|
|
objectIdentifier Cdg59Root 1.1
|
|
objectIdentifier Cdg59LDAP Cdg59Root:2
|
|
objectIdentifier Cdg59LDAPAttribute Cdg59LDAP:1
|
|
objectIdentifier Cdg59LDAPObjectClass Cdg59LDAP:2
|
|
|
|
|
|
attributetype ( Cdg59LDAPAttribute:1 NAME 'cdg59siretCode'
|
|
DESC 'Collectivity SIRET code'
|
|
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256}
|
|
EQUALITY caseIgnoreIA5Match
|
|
SUBSTR caseIgnoreIA5SubstringsMatch
|
|
SINGLE-VALUE)
|
|
|
|
attributetype ( Cdg59LDAPAttribute:2 NAME 'cdg59direction'
|
|
DESC 'Collectivity Direction'
|
|
EQUALITY caseIgnoreMatch
|
|
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
|
|
|
|
attributetype ( Cdg59LDAPAttribute:3 NAME 'cdg59isAdmin'
|
|
DESC 'Admin or not'
|
|
EQUALITY booleanMatch
|
|
SYNTAX 1.3.6.1.4.1.1466.115.121.1.7)
|
|
|
|
attributetype ( Cdg59LDAPAttribute:4 NAME 'cdg59isDisabled'
|
|
DESC 'Acccount disabled or not'
|
|
EQUALITY booleanMatch
|
|
SYNTAX 1.3.6.1.4.1.1466.115.121.1.7)
|
|
|
|
attributetype ( Cdg59LDAPAttribute:5 NAME 'cdg59sid'
|
|
DESC 'Service Id'
|
|
EQUALITY caseIgnoreMatch
|
|
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
|
|
|
|
attributetype ( Cdg59LDAPAttribute:6 NAME 'cdg59siid'
|
|
DESC 'Service Instance Id'
|
|
EQUALITY caseIgnoreMatch
|
|
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
|
|
|
|
attributetype ( Cdg59LDAPAttribute:7 NAME 'cdg59serviceType'
|
|
DESC 'Service Type'
|
|
EQUALITY caseIgnoreMatch
|
|
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
|
|
|
|
attributetype ( Cdg59LDAPAttribute:8 NAME 'cdg59URL'
|
|
DESC 'Generic URL'
|
|
EQUALITY caseIgnoreIA5Match
|
|
SUBSTR caseIgnoreIA5SubstringsMatch
|
|
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26)
|
|
|
|
attributetype ( Cdg59LDAPAttribute:9 NAME 'cdg59metadataURL'
|
|
DESC 'Service Metadata URL'
|
|
EQUALITY caseIgnoreIA5Match
|
|
SUBSTR caseIgnoreIA5SubstringsMatch
|
|
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26)
|
|
|
|
attributetype ( Cdg59LDAPAttribute:10 NAME 'cdg59serviceAccesses'
|
|
DESC 'Services an agent can access'
|
|
EQUALITY caseIgnoreMatch
|
|
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
|
|
|
|
attributetype ( Cdg59LDAPAttribute:11 NAME 'cdg59collectivitySirhCode'
|
|
DESC 'Collectivity SIRH code'
|
|
EQUALITY caseIgnoreIA5Match
|
|
SUBSTR caseIgnoreIA5SubstringsMatch
|
|
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256}
|
|
SINGLE-VALUE)
|
|
|
|
attributetype ( Cdg59LDAPAttribute:12 NAME 'cdg59collectivitySirhLabel'
|
|
DESC 'Collectivity SIRH Label'
|
|
EQUALITY caseIgnoreMatch
|
|
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
|
|
|
|
attributetype ( Cdg59LDAPAttribute:13 NAME 'cdg59regionCode'
|
|
DESC 'Collectivity "Region" Code'
|
|
EQUALITY caseIgnoreIA5Match
|
|
SUBSTR caseIgnoreIA5SubstringsMatch
|
|
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256})
|
|
|
|
attributetype ( Cdg59LDAPAttribute:14 NAME 'cdg59departementCode'
|
|
DESC 'Collectivity "Departement" Code'
|
|
EQUALITY caseIgnoreIA5Match
|
|
SUBSTR caseIgnoreIA5SubstringsMatch
|
|
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256})
|
|
|
|
attributetype ( Cdg59LDAPAttribute:15 NAME 'cdg59arrondissementCode'
|
|
DESC 'Collectivity "Arrondissement" Code'
|
|
EQUALITY caseIgnoreIA5Match
|
|
SUBSTR caseIgnoreIA5SubstringsMatch
|
|
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256})
|
|
|
|
attributetype ( Cdg59LDAPAttribute:16 NAME 'cdg59cantonCode'
|
|
DESC 'Collectivity "Canton" Code'
|
|
EQUALITY caseIgnoreIA5Match
|
|
SUBSTR caseIgnoreIA5SubstringsMatch
|
|
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256})
|
|
|
|
attributetype ( Cdg59LDAPAttribute:17 NAME 'cdg59inseeCode'
|
|
DESC 'Collectivity INSEE Code'
|
|
EQUALITY caseIgnoreIA5Match
|
|
SUBSTR caseIgnoreIA5SubstringsMatch
|
|
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256})
|
|
|
|
attributetype ( Cdg59LDAPAttribute:18 NAME 'cdg59streetNumber'
|
|
DESC 'Collectivity street number'
|
|
EQUALITY caseIgnoreIA5Match
|
|
SUBSTR caseIgnoreIA5SubstringsMatch
|
|
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256})
|
|
|
|
attributetype ( Cdg59LDAPAttribute:19 NAME 'cdg59distOffice'
|
|
DESC 'Collectivity distribution office'
|
|
EQUALITY caseIgnoreMatch
|
|
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
|
|
|
|
attributetype ( Cdg59LDAPAttribute:20 NAME 'cdg59addressCompl'
|
|
DESC 'Collectivity complementary address infomation'
|
|
EQUALITY caseIgnoreMatch
|
|
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
|
|
|
|
attributetype ( Cdg59LDAPAttribute:21 NAME 'cdg59addressMention'
|
|
DESC 'Collectivity particular mention on address'
|
|
EQUALITY caseIgnoreMatch
|
|
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
|
|
|
|
attributetype ( Cdg59LDAPAttribute:22 NAME 'cdg59agentSirhCode'
|
|
DESC 'Collectivity SIRH code'
|
|
EQUALITY caseIgnoreIA5Match
|
|
SUBSTR caseIgnoreIA5SubstringsMatch
|
|
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256}
|
|
SINGLE-VALUE)
|
|
|
|
attributetype ( Cdg59LDAPAttribute:23 NAME 'cdg59isGlobal'
|
|
DESC 'Global service, or not'
|
|
EQUALITY booleanMatch
|
|
SYNTAX 1.3.6.1.4.1.1466.115.121.1.7)
|
|
|
|
attributetype ( Cdg59LDAPAttribute:24 NAME 'cdg59ssoRelayState'
|
|
DESC 'URL for redirection after a single sign on'
|
|
EQUALITY caseIgnoreMatch
|
|
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
|
|
|
|
attributetype ( Cdg59LDAPAttribute:25 NAME 'cdg59lastConnectionTime'
|
|
DESC 'Last connection time'
|
|
EQUALITY integerMatch
|
|
SYNTAX 1.3.6.1.4.1.1466.115.121.1.27)
|
|
|
|
attributetype ( Cdg59LDAPAttribute:26 NAME 'cdg59lastConnectionDuration'
|
|
DESC 'Last connection duration'
|
|
EQUALITY integerMatch
|
|
SYNTAX 1.3.6.1.4.1.1466.115.121.1.27)
|
|
|
|
attributetype ( Cdg59LDAPAttribute:28 NAME 'cdg59collectivityId'
|
|
DESC 'Id Code'
|
|
EQUALITY caseIgnoreIA5Match
|
|
SUBSTR caseIgnoreIA5SubstringsMatch
|
|
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256}
|
|
SINGLE-VALUE)
|
|
|
|
# CDG 59 Collectivity
|
|
objectclass ( Cdg59LDAPObjectClass:1
|
|
NAME 'cdg59collectivity'
|
|
DESC 'CDG 59 Collectivity Objectclass'
|
|
STRUCTURAL
|
|
SUP organizationalUnit
|
|
MAY ( cdg59siretCode $ cdg59collectivitySirhCode $ cdg59collectivitySirhLabel $ cn $ mail $ cdg59URL $ cdg59regionCode $ cdg59departementCode $ cdg59arrondissementCode $ cdg59cantonCode $ cdg59inseeCode $ cdg59streetNumber $ cdg59distOffice $ cdg59addressCompl $ cdg59addressMention $ cdg59collectivityId ))
|
|
|
|
# CDG 59 Agent
|
|
objectclass (Cdg59LDAPObjectClass:2
|
|
NAME 'cdg59agent'
|
|
DESC 'CDG 59 Agent Objectclass'
|
|
STRUCTURAL
|
|
SUP inetOrgPerson
|
|
MUST ( uid )
|
|
MAY ( cdg59isAdmin $ cdg59direction $ cdg59isDisabled $ cdg59serviceAccesses $ cdg59agentSirhCode $ cdg59lastConnectionTime $ cdg59lastConnectionDuration ))
|
|
|
|
# CDG 59 Service
|
|
objectclass ( Cdg59LDAPObjectClass:3
|
|
NAME 'cdg59service'
|
|
DESC 'CDG 59 Service Objectclass'
|
|
STRUCTURAL
|
|
MUST ( cdg59sid )
|
|
MAY ( cn $ description $ cdg59URL $ cdg59isGlobal $ cdg59metadataURL $ cdg59ssoRelayState ))
|
|
|
|
# CDG 59 Service Instance
|
|
objectclass ( Cdg59LDAPObjectClass:4
|
|
NAME 'cdg59serviceInstance'
|
|
DESC 'CDG 59 Service Instance Objectclass'
|
|
STRUCTURAL
|
|
MUST ( cdg59siid )
|
|
MAY ( cdg59serviceType $ cdg59URL $ cdg59metadataURL $ cdg59ssoRelayState ))
|
|
|