Object Identifier

De WikiBR
Révision datée du 14 octobre 2012 à 17:53 par Nicolas.iooss (discussion | contributions) (Create)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)

Le BR possède l'identifiant objet (OID) 1.3.6.1.4.1.34741 (rechercher "Binet Réseau" dans http://www.iana.org/assignments/enterprise-numbers). Ce numéro est utilisé à deux endroits : dans le LDAP et dans la configuration SNMP.

LDAP

Les attributs spéciaux du LDAP sont définis par un fichier /etc/openldap/schema/br.schema qui parle de lui-même.

# br.schema -- Account Schema for the Binet Réseau
#
# PJ BR2K8
 
attributetype ( 1.3.6.1.4.1.34741.2.1.1
 	NAME 'brNewsReadAccess'
 	DESC 'Newsgroup read access string'
 	EQUALITY caseExactMatch
 	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
 	SINGLE-VALUE )
 
attributetype ( 1.3.6.1.4.1.34741.2.1.2
 	NAME 'brNewsPostAccess'
 	DESC 'Newsgroup post access string'
 	EQUALITY caseExactMatch
 	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
 	SINGLE-VALUE )
 
attributetype ( 1.3.6.1.4.1.34741.2.1.3
 	NAME 'brIP'
 	DESC 'IP address on campus'
 	EQUALITY caseIgnoreIA5Match
 	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{128})
 
attributetype ( 1.3.6.1.4.1.34741.2.1.4
 	NAME 'brAlias'
 	DESC 'An alias (originally a login given forlife by a domain)'
 	EQUALITY caseIgnoreMatch
 	SUBSTR caseIgnoreSubstringsMatch
 	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256})
 
attributetype ( 1.3.6.1.4.1.34741.2.1.5
 	NAME 'brLdapEnsDN'
 	DESC 'The distinguised name of the corresponding object in ldap-ens.polytechnique.fr'
 	EQUALITY distinguishedNameMatch
 	SYNTAX 1.3.6.1.4.1.1466.115.121.1.12)
 
attributetype ( 1.3.6.1.4.1.34741.2.1.6
 	NAME 'brMemberOf'
 	DESC 'Belonging to a group'
 	EQUALITY caseIgnoreMatch
 	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
 
attributetype ( 1.3.6.1.4.1.34741.2.1.7
 	NAME 'restrictedMemberUid'
 	EQUALITY caseExactIA5Match
 	SUBSTR caseExactIA5SubstringsMatch
 	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26)
 
attributetype ( 1.3.6.1.4.1.34741.2.1.8
         NAME 'brPromo'
 	DESC 'The year group'
 	SYNTAX 1.3.6.1.4.1.1466.115.121.1.27)
 
attributetype ( 1.3.6.1.4.1.34741.2.1.9
         NAME 'brNS'
 	DESC 'The namespace of the group'
 	SYNTAX '1.3.6.1.4.1.1466.115.121.1.26')
 
objectclass ( 1.3.6.1.4.1.34741.2.2.1
 	NAME 'brAccount'
 	DESC 'An account at the Binet Reseau'
 	SUP top
 	AUXILIARY
 	MUST ( brNewsReadAccess $ brNewsPostAccess )
 	MAY ( brIP $ brAlias $ brLdapEnsDN $ brMemberOf $ restrictedMemberUid $ brPromo $ brNS))

SNMP

Les serveurs du BR utilisent également cet OID dans la gestion et la surveillance des serveurs, via des attributs SNMP.

  • 1.3.6.1.4.1.34741.3.* contient des informations relatives aux services en cours d'exécution sur un serveur.