Playbooks to a new Lilik
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

63 lines
2.6 KiB

  1. #--------------------------------------------------------------------------
  2. # LDAP Schema for phamm-vacation
  3. #----------------------
  4. # Release 1.1.1
  5. # 2012/08/28
  6. #--------------------------------------------------------------------------
  7. # Copyright (c) 2008-2016 Mirko Grava, RHX Srl - www.rhx.it
  8. # Permission is granted to copy, distribute and/or modify this document
  9. # under the terms of the GNU Free Documentation License, Version 2
  10. # or any later version published by the Free Software Foundation;
  11. #--------------------------------------------------------------------------
  12. # 1.3.6.1.4.1.22339 RHX Srl's OID
  13. # 1.3.6.1.4.1.22339.2 Phamm-vacation
  14. # 1.3.6.1.4.1.22339.2.1 AttributeTypes
  15. # 1.3.6.1.4.1.22339.2.2 ObjectClasses
  16. #--------------------------------------------------------------------------
  17. # Attribute Types
  18. #-----------------
  19. attributetype ( 1.3.6.1.4.1.22339.2.1.1 NAME 'vacationActive'
  20. DESC 'A flag, for marking the user as being away'
  21. EQUALITY booleanMatch
  22. SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 SINGLE-VALUE )
  23. attributetype ( 1.3.6.1.4.1.22339.2.1.2 NAME 'vacationInfo'
  24. DESC 'Absentee note to leave behind, while on vacation'
  25. EQUALITY octetStringMatch
  26. SYNTAX 1.3.6.1.4.1.1466.115.121.1.40 SINGLE-VALUE )
  27. attributetype ( 1.3.6.1.4.1.22339.2.1.3 NAME 'vacationStart'
  28. DESC 'Beginning of vacation'
  29. EQUALITY octetStringMatch
  30. SYNTAX 1.3.6.1.4.1.1466.115.121.1.40 SINGLE-VALUE )
  31. attributetype ( 1.3.6.1.4.1.22339.2.1.4 NAME 'vacationEnd'
  32. DESC 'End of vacation'
  33. EQUALITY octetStringMatch
  34. SYNTAX 1.3.6.1.4.1.1466.115.121.1.40 SINGLE-VALUE )
  35. attributetype ( 1.3.6.1.4.1.22339.2.1.5 NAME 'vacationForward'
  36. DESC 'RFC1274: RFC822 Mailbox'
  37. EQUALITY caseIgnoreIA5Match
  38. SUBSTR caseIgnoreIA5SubstringsMatch
  39. SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} )
  40. attributetype ( 1.3.6.1.4.1.22339.2.1.6 NAME 'vacationSubject'
  41. DESC 'Subject for the vacation message'
  42. EQUALITY octetStringMatch
  43. SYNTAX 1.3.6.1.4.1.1466.115.121.1.40 SINGLE-VALUE )
  44. attributetype ( 1.3.6.1.4.1.22339.2.1.7 NAME 'vacationReminder'
  45. DESC 'How many hours we should wait before a second email from someone will cause another vacation message to be sent to that email address'
  46. EQUALITY octetStringMatch
  47. SYNTAX 1.3.6.1.4.1.1466.115.121.1.40 SINGLE-VALUE )
  48. # Classes
  49. #---------
  50. objectclass ( 1.3.6.1.4.1.22339.2.2.1 NAME 'Vacation'
  51. SUP top AUXILIARY
  52. DESC 'Users vacation status information'
  53. MUST ( vacationActive )
  54. MAY ( vacationInfo $ vacationStart $ vacationEnd $ vacationForward $ vacationSubject $ vacationReminder ) )