10automember-plugin.ldif 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. #
  2. # BEGIN COPYRIGHT BLOCK
  3. # This Program is free software; you can redistribute it and/or modify it under
  4. # the terms of the GNU General Public License as published by the Free Software
  5. # Foundation; version 2 of the License.
  6. #
  7. # This Program is distributed in the hope that it will be useful, but WITHOUT
  8. # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
  9. # FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
  10. #
  11. # You should have received a copy of the GNU General Public License along with
  12. # this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
  13. # Place, Suite 330, Boston, MA 02111-1307 USA.
  14. #
  15. # In addition, as a special exception, Red Hat, Inc. gives You the additional
  16. # right to link the code of this Program with code not covered under the GNU
  17. # General Public License ("Non-GPL Code") and to distribute linked combinations
  18. # including the two, subject to the limitations in this paragraph. Non-GPL Code
  19. # permitted under this exception must only link to the code of this Program
  20. # through those well defined interfaces identified in the file named EXCEPTION
  21. # found in the source code files (the "Approved Interfaces"). The files of
  22. # Non-GPL Code may instantiate templates or use macros or inline functions from
  23. # the Approved Interfaces without causing the resulting work to be covered by
  24. # the GNU General Public License. Only Red Hat, Inc. may make changes or
  25. # additions to the list of Approved Interfaces. You must obey the GNU General
  26. # Public License in all respects for all of the Program code and other code used
  27. # in conjunction with the Program except the Non-GPL Code covered by this
  28. # exception. If you modify this file, you may extend this exception to your
  29. # version of the file, but you are not obligated to do so. If you do not wish to
  30. # provide this exception without modification, you must delete this exception
  31. # statement from your version and license this file solely under the GPL without
  32. # exception.
  33. #
  34. #
  35. # Copyright (C) 2011 Red Hat, Inc.
  36. # All rights reserved.
  37. # END COPYRIGHT BLOCK
  38. #
  39. #
  40. # Schema for Auto Membership Plugin
  41. #
  42. dn: cn=schema
  43. #
  44. ################################################################################
  45. #
  46. attributeTypes: ( 2.16.840.1.113730.3.1.2097 NAME 'autoMemberScope'
  47. DESC 'Auto Membership scope criteria'
  48. SYNTAX 1.3.6.1.4.1.1466.115.121.1.12
  49. SINGLE-VALUE
  50. X-ORIGIN '389 Directory Server' )
  51. #
  52. ################################################################################
  53. #
  54. attributeTypes: ( 2.16.840.1.113730.3.1.2098 NAME 'autoMemberFilter'
  55. DESC 'Auto Membership filter criteria'
  56. SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
  57. SINGLE-VALUE
  58. X-ORIGIN '389 Directory Server' )
  59. #
  60. ################################################################################
  61. #
  62. attributeTypes: ( 2.16.840.1.113730.3.1.2099 NAME 'autoMemberExclusiveRegex'
  63. DESC 'Auto Membership exclusive regex rule'
  64. SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
  65. X-ORIGIN '389 Directory Server' )
  66. #
  67. ################################################################################
  68. #
  69. attributeTypes: ( 2.16.840.1.113730.3.1.2100 NAME 'autoMemberInclusiveRegex'
  70. DESC 'Auto Membership inclusive regex rule'
  71. SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
  72. X-ORIGIN '389 Directory Server' )
  73. #
  74. ################################################################################
  75. #
  76. attributeTypes: ( 2.16.840.1.113730.3.1.2101 NAME 'autoMemberDefaultGroup'
  77. DESC 'Auto Membership default group'
  78. SYNTAX 1.3.6.1.4.1.1466.115.121.1.12
  79. X-ORIGIN '389 Directory Server' )
  80. #
  81. ################################################################################
  82. #
  83. attributeTypes: ( 2.16.840.1.113730.3.1.2102 NAME 'autoMemberGroupingAttr'
  84. DESC 'Auto Membership grouping attribute'
  85. SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
  86. SINGLE-VALUE
  87. X-ORIGIN '389 Directory Server' )
  88. #
  89. ################################################################################
  90. #
  91. attributeTypes: ( 2.16.840.1.113730.3.1.2103 NAME 'autoMemberDisabled'
  92. DESC 'Auto Membership disabled attribute'
  93. SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
  94. SINGLE-VALUE
  95. X-ORIGIN '389 Directory Server' )
  96. #
  97. ################################################################################
  98. #
  99. attributeTypes: ( 2.16.840.1.113730.3.1.2105 NAME 'autoMemberTargetGroup'
  100. DESC 'Auto Membership target group'
  101. SYNTAX 1.3.6.1.4.1.1466.115.121.1.12
  102. SINGLE-VALUE
  103. X-ORIGIN '389 Directory Server' )
  104. #
  105. ################################################################################
  106. #
  107. objectClasses: ( 2.16.840.1.113730.3.2.322 NAME 'autoMemberDefinition'
  108. DESC 'Auto Membership Config Definition Entry'
  109. SUP top
  110. STRUCTURAL
  111. MUST ( cn $ autoMemberScope $ autoMemberFilter $ autoMemberGroupingAttr )
  112. MAY ( autoMemberDefaultGroup $ autoMemberDisabled )
  113. X-ORIGIN '389 Directory Server' )
  114. #
  115. ################################################################################
  116. #
  117. objectClasses: ( 2.16.840.1.113730.3.2.323 NAME 'autoMemberRegexRule'
  118. DESC 'Auto Membership Regex Rule Entry'
  119. SUP top
  120. STRUCTURAL
  121. MUST ( cn $ autoMemberTargetGroup )
  122. MAY ( autoMemberExclusiveRegex $ autoMemberInclusiveRegex $ description )
  123. X-ORIGIN '389 Directory Server' )