# # student.schema # # Include it in OpenLDAP's configuration file (/etc/ldap/slapd.conf) # and restart slapd. # # # Studente Attributes Types # # studenteEMAIL attributetype ( 1.3.6.1.4.1.19848.1.21.1.1.1 NAME 'studenteEmail' DESC 'email dello studente' EQUALITY caseIgnoreIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE ) # studentPASSWORD attributetype ( 1.3.6.1.4.1.19848.1.21.1.1.2 NAME 'studentePassword' DESC 'Password iniziale dello studente' EQUALITY caseExactIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE ) # studentMATRICOLA attributetype ( 1.3.6.1.4.1.19848.1.21.1.1.3 NAME 'studenteMatricola' DESC 'Matricola dello studente' EQUALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{10} SINGLE-VALUE ) # studentCOGNOME attributetype ( 1.3.6.1.4.1.19848.1.21.1.1.4 NAME 'studenteCognome' DESC 'Cognome dello studente' EQUALITY caseIgnoreIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE ) # studentNOME attributetype ( 1.3.6.1.4.1.19848.1.21.1.1.5 NAME 'studenteNome' DESC 'Nome dello Studente' EQUALITY caseIgnoreIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE ) # studentCODFISCALE attributetype ( 1.3.6.1.4.1.19848.1.21.1.1.6 NAME 'studenteCodFiscale' DESC 'Codice Fiscale dello studente' EQUALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{16} SINGLE-VALUE ) # studentDATANASCITA attributetype ( 1.3.6.1.4.1.19848.1.21.1.1.7 NAME 'studenteDataNascita' DESC 'Data di nascita dello studente' EQUALITY caseIgnoreIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE ) # studentSESSO attributetype ( 1.3.6.1.4.1.19848.1.21.1.1.8 NAME 'studenteSesso' DESC 'Sesso' EQUALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1} SINGLE-VALUE ) # studentPINCODE attributetype ( 1.3.6.1.4.1.19848.1.21.1.1.9 NAME 'studentePinCode' DESC 'Pin Code' EQUALITY integerMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) # studentCARRIERA attributetype ( 1.3.6.1.4.1.19848.1.21.1.1.10 NAME 'studenteCarriera' DESC 'Carriera' EQUALITY integerMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) # studenteAnnoAccademico attributetype ( 1.3.6.1.4.1.19848.1.21.1.1.11 NAME 'studenteAnnoAccademico' DESC 'Anno accademico' EQUALITY caseExactIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE ) # studenteCodCorso attributetype ( 1.3.6.1.4.1.19848.1.21.1.1.13 NAME 'studenteCodCorso' DESC 'Codice del corso' EQUALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{4} SINGLE-VALUE ) # studenteCodInd attributetype ( 1.3.6.1.4.1.19848.1.21.1.1.14 NAME 'studenteCodInd' DESC 'Codice indirizzo' EQUALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{3} SINGLE-VALUE ) # studenteCodOri attributetype ( 1.3.6.1.4.1.19848.1.21.1.1.15 NAME 'studenteCodOri' DESC 'Codice originario' EQUALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{3} SINGLE-VALUE ) # studenteCodFascia attributetype ( 1.3.6.1.4.1.19848.1.21.1.1.16 NAME 'studenteCodFascia' DESC 'Codice fascia' EQUALITY caseExactMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{3} SINGLE-VALUE ) # studenteTipoIscr attributetype ( 1.3.6.1.4.1.19848.1.21.1.1.17 NAME 'studenteTipoIscr' DESC 'Tipo iscrizione' EQUALITY caseExactMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1} SINGLE-VALUE ) # studenteAnnoCorso attributetype ( 1.3.6.1.4.1.19848.1.21.1.1.18 NAME 'studenteAnnoCorso' DESC 'Anno Corso' EQUALITY integerMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) # studenteSalaInt attributetype ( 1.3.6.1.4.1.19848.1.21.1.1.19 NAME 'studenteSalaInt' DESC 'Login da sala Internet' EQUALITY integerMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) # studenteLAB2 attributetype ( 1.3.6.1.4.1.19848.1.21.1.1.20 NAME 'studenteLAB2' DESC 'Login da LAB2' EQUALITY integerMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) # studenteLAB3 attributetype ( 1.3.6.1.4.1.19848.1.21.1.1.21 NAME 'studenteLAB3' DESC 'Login da LAB3' EQUALITY integerMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) # studenteLABP attributetype ( 1.3.6.1.4.1.19848.1.21.1.1.22 NAME 'studenteLABP' DESC 'Login da LABP' EQUALITY integerMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) # studenteWF attributetype ( 1.3.6.1.4.1.19848.1.21.1.1.23 NAME 'studenteWF' DESC 'Uso rete wireless' EQUALITY integerMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) # studenteMessaggio attributetype ( 1.3.6.1.4.1.19848.1.21.1.1.24 NAME 'studenteMessaggio' DESC 'Messaggio da far apparire al login' EQUALITY caseIgnoreIA5Match SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE ) # studenteScadenzaMessaggio attributetype ( 1.3.6.1.4.1.19848.1.21.1.1.25 NAME 'studenteScadenzaMessaggio' DESC 'Scadenza del messaggio' EQUALITY integerMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) # studenteLoggato attributetype ( 1.3.6.1.4.1.19848.1.21.1.1.26 NAME 'studenteLoggato' DESC 'Indica se lo studente e loggato al momento' EQUALITY booleanMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 SINGLE-VALUE ) # studenteUltimoLogin attributetype ( 1.3.6.1.4.1.19848.1.21.1.1.27 NAME 'studenteUltimoLogin' DESC 'Timestamp ultimo login' EQUALITY integerMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) #studenteSecondiDisponibili attributetype ( 1.3.6.1.4.1.19848.1.21.1.1.28 NAME 'studenteSecondiDisponibili' DESC 'Secondi disponibili per uso lab2' EQUALITY integerMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) # # Studente Object Class # # studente objectclass ( 1.3.6.1.4.1.19848.1.21.1.1 NAME 'studente' SUP top AUXILIARY DESC 'Informazioni supplementari su studente' MUST ( uid $ studenteMatricola $ studentePassword ) MAY ( studenteEmail $ studenteCognome $ studenteNome $ studenteCodFiscale $ studenteDataNascita $ studenteSesso $ studentePinCode $ studenteCarriera $ studenteAnnoAccademico $ studenteCodCorso $ studenteCodInd $ studenteCodOri $ studenteCodFascia $ studenteTipoIscr $ studenteAnnoCorso $ studenteSalaInt $ studenteLAB2 $ studenteLAB3 $ studenteLABP $ studenteWF $ studenteMessaggio $ studenteScadenzaMessaggio $ studenteLoggato $ studenteUltimoLogin $ studenteSecondiDisponibili ))