usic.schema 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. # LDAP schema for UKMA Student Internet Centre users
  2. # oksamyt, 21-08-08 17:29
  3. # sakib, 2012
  4. # Student Objectclass
  5. attributetype ( 9.1
  6. NAME 'yearOfEntry'
  7. DESC 'the year when the student entered UKMA'
  8. SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
  9. EQUALITY integerMatch
  10. )
  11. attributetype ( 9.2
  12. NAME 'profession'
  13. DESC 'the specialization of the student'
  14. SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
  15. EQUALITY integerMatch
  16. )
  17. attributetype ( 9.3
  18. NAME 'faculty'
  19. DESC 'the faculty of the student'
  20. SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
  21. EQUALITY integerMatch
  22. )
  23. #attributeType ( 9.4
  24. # NAME 'homeDirHost'
  25. # DESC 'Home directory host for a user'
  26. # SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
  27. # )
  28. objectclass ( 9.0.0
  29. NAME 'student'
  30. DESC 'UKMA student'
  31. SUP inetOrgPerson
  32. MUST ( yearOfEntry $ profession $ faculty)
  33. )
  34. objectclass ( 9.0.1
  35. NAME 'teacher'
  36. DESC 'UKMA teacher'
  37. SUP inetOrgPerson
  38. MUST profession
  39. )
  40. attributeType ( 10.1
  41. NAME 'department'
  42. DESC 'The department of UKMA'
  43. SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
  44. EQUALITY integerMatch
  45. )
  46. objectclass ( 10.0.0
  47. NAME 'worker'
  48. DESC 'UKMA worker beside teachers'
  49. SUP inetOrgPerson
  50. MUST department
  51. )
  52. attributeType ( 11.1
  53. NAME 'studentCardNumber'
  54. DESC 'Student card number'
  55. SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
  56. EQUALITY integerMatch
  57. )
  58. attributeType ( 11.2
  59. NAME 'studentCardSeries'
  60. DESC 'Series of a student card'
  61. SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
  62. EQUALITY caseIgnoreMatch
  63. )
  64. attributeType ( 11.3
  65. NAME 'readerCardNumber'
  66. DESC 'Reader card number'
  67. SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
  68. EQUALITY integerMatch
  69. )
  70. attributeType ( 11.4
  71. NAME 'passportNumber'
  72. DESC 'Passport number'
  73. SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
  74. EQUALITY integerMatch
  75. )
  76. attributeType ( 11.5
  77. NAME 'passportSeries'
  78. DESC 'Series of a passport'
  79. SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
  80. EQUALITY caseIgnoreMatch
  81. )
  82. objectclass ( 11.0.0
  83. NAME 'studentCardUser'
  84. DESC 'A person that is identified by the student card number'
  85. SUP top
  86. AUXILIARY
  87. MUST ( studentCardNumber $ studentCardSeries)
  88. )
  89. objectclass ( 11.0.1
  90. NAME 'readerCardUser'
  91. DESC 'A person that is identified by the reader card number'
  92. SUP top
  93. AUXILIARY
  94. MUST ( readerCardNumber)
  95. )
  96. objectclass ( 11.0.2
  97. NAME 'passportUser'
  98. DESC 'A person that is identified by the passport number'
  99. SUP top
  100. AUXILIARY
  101. MUST ( passportNumber $ passportSeries )
  102. )
  103. attributeType ( 12.1
  104. NAME 'someFakeVOIPAttribute'
  105. DESC 'no comments'
  106. SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
  107. EQUALITY caseIgnoreMatch
  108. )
  109. objectclass ( 12.0.0
  110. NAME 'voipUser'
  111. DESC 'A person that is identified by the reader card number'
  112. SUP top
  113. AUXILIARY
  114. MAY (someFakeVOIPAttribute)
  115. )